Test repo for the Atomic Desktops
Find a file
2024-02-26 23:51:22 +01:00
ci
.gitignore
.zuul.yaml Zuul: Use Rawhide cloud small image until container is fixed 2024-02-21 03:04:54 +01:00
bootupd.yaml
budgie-desktop-pkgs.yaml
cinnamon-desktop-pkgs.yaml
comps-sync-exclude-list.yml
comps-sync.py Rawhide is now f41 2024-02-13 19:01:33 +00:00
deepin-desktop-pkgs.yaml
fedora-41-updates.repo Rawhide is now f41 2024-02-13 19:01:33 +00:00
fedora-41.repo Rawhide is now f41 2024-02-13 19:01:33 +00:00
fedora-base.yaml manifests: Update names to follow new Atomic branding 2024-02-21 03:04:54 +01:00
fedora-cinnamon.yaml manifests: Update names to follow new Atomic branding 2024-02-21 03:04:54 +01:00
fedora-common-ostree-pkgs.yaml
fedora-common-ostree.yaml fedora-common-ostree: Remove unused 'ref' 2024-02-21 03:04:54 +01:00
fedora-deepin.yaml manifests: Update names to follow new Atomic branding 2024-02-21 03:04:54 +01:00
fedora-kinoite.yaml manifests: Update names to follow new Atomic branding 2024-02-21 03:04:54 +01:00
fedora-lazurite.yaml manifests: Update names to follow new Atomic branding 2024-02-21 03:04:54 +01:00
fedora-mate.yaml manifests: Update names to follow new Atomic branding 2024-02-21 03:04:54 +01:00
fedora-onyx.yaml Onyx: update fedora-release subpackage name 2024-02-26 19:38:59 +01:00
fedora-rawhide.repo
fedora-sericea.yaml Sericea: update fedora-release subpackage name 2024-02-26 19:38:57 +01:00
fedora-silverblue.yaml manifests: Update names to follow new Atomic branding 2024-02-21 03:04:54 +01:00
fedora-vauxite.yaml manifests: Update names to follow new Atomic branding 2024-02-21 03:04:54 +01:00
gnome-desktop-pkgs.yaml
group
justfile justfile: global table for pretty names and volume ids 2024-02-17 14:55:59 -08:00
kde-desktop-pkgs.yaml comps-sync f41 2024-02-26 2024-02-26 23:51:22 +01:00
LICENSE
lxqt-desktop-pkgs.yaml
mate-desktop-pkgs.yaml
passwd
postprocess.sh
README.md Revert: manifests: Move repos config to common manifest 2024-02-21 02:33:36 +01:00
sway-desktop-pkgs.yaml comps-sync f41 2024-02-26 2024-02-26 23:51:22 +01:00
xfce-desktop-pkgs.yaml

Manifests for rpm-ostree based Fedora variants

This is the configuration needed to create rpm-ostree based variants of Fedora. Each variant is described in a YAML treefile which is then used by rpm-ostree to compose an ostree commit with the package requested.

In the Fedora infrastructure, this happens via pungi with Lorax (templates).

Fedora Silverblue

Fedora Kinoite

Building

Instructions to perform a local build of Silverblue:

# Clone the config
git clone https://pagure.io/workstation-ostree-config && cd workstation-ostree-config

# Prepare directories
mkdir -p repo cache
ostree --repo=repo init --mode=archive

# Build (compose) the variant of your choice
sudo rpm-ostree compose tree --repo=repo --cachedir=cache fedora-silverblue.yaml

# Update summary file
ostree summary --repo=repo --update

Testing

Instructions to test the resulting build:

  • First, serve the ostree repo using an HTTP server. You can use any static file server. For example using https://github.com/TheWaWaR/simple-http-server:

    simple-http-server --index --ip 192.168.122.1 --port 8000
    
  • Then, on an already installed Silverblue system:

# Add an ostree remote
sudo ostree remote add testremote http://192.168.122.1:8000/repo --no-gpg-verify

# Pin the currently deployed (and probably working) version
sudo ostree admin pin 0

# List refs from variant remote
sudo ostree remote refs testremote

# Switch to your variant
sudo rpm-ostree rebase testremote:fedora/rawhide/x86_64/silverblue

# Reboot and test!

Branching instructions for new Fedora releases

Follow those steps during the Fedora branch process in Fedora:

Fedora Ansible

Make a PR similar to ansible#1318 in fedora-infra/ansible.

On Rawhide / main branch

sed -i "s/41/42/g" *.repo comps-sync.py
sed -i "s/releasever: 41/releasever: 42/" fedora-common-ostree.yaml
sed -i "s/# - fedora-41/# - fedora-42/" fedora-*.yaml
mv fedora-41.repo fedora-42.repo
mv fedora-41-updates.repo fedora-42-updates.repo
sed -i "s/42/42/g" README.md
sed -i "s/41/42/g" README.md

On the new branch (f41)

rm fedora-rawhide.repo
sed -i "/- fedora-rawhide/d" fedora-*.yaml
sed -i "s/# - fedora-41/- fedora-41/" fedora-*.yaml
sed -i "s/ref: fedora\/rawhide/ref: fedora\/41/" fedora-*.yaml

Historical references

Building and testing instructions:

For some background, see:

Note also this repo obsoletes https://pagure.io/atomic-ws