Resync file owner if there are any discrepancies after the system is upgraded from a different build system. The script is to iterate all the files except /sysroot in parallel to check for a change in the uid/gid post-upgrade. If there is any it will trigger chown/chgrp to sync them according to the new uid/gid. The script caches the unchanged uid/gid to skip files with unchanged pairs and optimize the execution time. The scripts run via a systemd unit which in turn requires ostree-finalized-stage.service to ensure that the sync script runs only when a system is upgraded. |
||
|---|---|---|
| tier-0 | ||
| tier-1 | ||
| .gitlab-ci.yml | ||
| .mdl_style.rb | ||
| .mdlrc | ||
| .pre-commit-config.yaml | ||
| COPYING | ||
| Containerfile | ||
| LICENSE | ||
| README.md | ||
| fedora-bootc-config.json | ||
| fedora-bootc.yaml | ||
| fedora-generic.yaml | ||
| fedora-tier-0.yaml | ||
| fedora.repo | ||
| renovate.json | ||
README.md
Fedora bootc base images
Create and maintain base bootable container images from Fedora packages.
Motivation
The original Docker container model of using "layers" to model applications has been extremely successful. This project aims to apply the same technique for bootable host systems - using standard OCI/Docker containers as a transport and delivery format for base operating system updates.
Building
First, the expectation is that most users will want to build layered images on top of the official base images. See the documentation5 for more info.
Building the images in this repo can be done with podman build as with any
other application image (note that building with docker is not currently
supported). You need to enable some privileges for technical reasons.
podman build --security-opt=label=disable --cap-add=all \
--device /dev/fuse -t localhost/fedora-bootc .
See the Containerfile for more details.
You are of course also free to fork, customize, and build base images yourself. See this page6 of the documentation for more information.
More information
Documentation: https://docs.fedoraproject.org/en-US/bootc/
Badges
| Badge | Description | Service |
|---|---|---|
| Dependencies | Renovate | |
| Static quality gates | pre-commit |