No description
* move copy jop to start and only re-copy watermark * update authselect options * move default package install to shared * remove all sssd deps |
||
|---|---|---|
| docs/package | ||
| gnome | ||
| niri | ||
| optional/scripts | ||
| shared | ||
| .gitignore | ||
| bootc-base-imagectl | ||
| Makefile | ||
| README.md | ||
first time setup
set keyboard layout
localectl set-x11-keymap gb
set locale
localectl set-locale LANG=en_GB.utf8
build
buildah build --no-cache -t localhost/gnome -f gnome/Containerfile . && podman unshare ./bootc-base-imagectl rechunk localhost/gnome:latest localhost/gnome:re && podman save -o /tmp/gnome-`date +%FT%H%M`.tar --format oci-archive localhost/gnome:re
sudo bootc switch --transport oci-archive /tmp/gnome-*
workaround
when the build fails
sometimes the fedora-bootc image is not up-to-date and when installing a package dnf tries to update the kernel which will fail
before the problematic dnf install
pushd /usr/lib/kernel/install.d
mv 05-rpmostree.install 05-rpmostree.install.bak
mv 50-dracut.install 50-dracut.install.bak
printf '%s\n' '#!/bin/sh' 'exit 0' > 05-rpmostree.install
printf '%s\n' '#!/bin/sh' 'exit 0' > 50-dracut.install
chmod +x 05-rpmostree.install 50-dracut.install
popd
after the problematic dnf install
pushd /usr/lib/kernel/install.d
mv -f 05-rpmostree.install.bak 05-rpmostree.install
mv -f 50-dracut.install.bak 50-dracut.install
popd