We want to eventually use bootc to install the system, this also should unblock composefs (sealed) variants
replacing
|
ostreecontainer --url=$IMAGE_REF:$IMAGE_TAG --transport=containers-storage --no-signature-verification |
with
bootc --source-imgref=containers-storage:ghcr.io/ublue-os/aurora:testing --target-imgref=ghcr.io/ublue-os/aurora:testing
is broken, it tries to fetch all new layers (networking is completely disabled on that VM)
my guess is that this conflicts with something anaconda does
|
# Configure podman temporarily to write to /usr/lib/containers/storage |
|
# This avoids storing the huge base image in /var/lib/containers/storage |
|
# (which is empty/tmpfs in the booted live environment and would exhaust RAM) |
|
mkdir -p /etc/containers |
|
cat >/etc/containers/storage.conf <<'EOF' |
|
[storage] |
|
driver = "overlay" |
|
runroot = "/run/containers/storage" |
|
graphroot = "/usr/lib/containers/storage" |
|
EOF |
as a manual install with (partitioning and mounting was done manually by me beforehand)
podman run --rm --privileged --pid=host --ipc=host \
--security-opt label=type:unconfined_t \
-v /usr/lib/containers:/var/lib/containers -v /dev:/dev \
-v /:/run/host \
-e RUST_LOG=debug \
$IMAGE \
bootc install to-filesystem \
--source-imgref=containers-storage:$IMAGE \
--bootloader=grub --skip-finalize \
/run/host/mnt/
succeeds
notice the
-v /usr/lib/containers:/var/lib/containers
We should figure out why anaconda (presumably) doesn't see the image in the containers storage
https://fedoramagazine.org/introducing-the-new-bootc-kickstart-command-in-anaconda/
https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#bootc
We want to eventually use bootc to install the system, this also should unblock composefs (sealed) variants
replacing
iso/iso_files/configure_iso_anaconda.sh
Line 65 in ed802cc
with
is broken, it tries to fetch all new layers (networking is completely disabled on that VM)
my guess is that this conflicts with something anaconda does
iso/iso_files/build.sh
Lines 25 to 34 in ed802cc
as a manual install with (partitioning and mounting was done manually by me beforehand)
succeeds
notice the
We should figure out why anaconda (presumably) doesn't see the image in the containers storage
https://fedoramagazine.org/introducing-the-new-bootc-kickstart-command-in-anaconda/
https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#bootc