Closed m0gg closed 1 month ago
Okay, quick check with changes from bootc
branch (d709a9093d36532c50b18017233b67bed850db43) reveals it does affect bootc install
sudo podman run -it --rm --privileged \
--pid=host -v /var/lib/containers:/var/lib/containers --security-opt label=type:unconfined_t \
--tmpfs /tmp --tmpfs /var/tmp \
-v /dev:/dev \
-v $(pwd):/dest -w /dest \
localhost/base-build:40-main bash -c "rpm-ostree install gdisk; truncate -s 21474836480 fedora-bootc.img; \
bootc install to-disk --via-loopback --filesystem btrfs --wipe --target-transport containers-storage fedora-bootc.img"
qemu-system-x86_64 -accel kvm -M q35 -bios /usr/share/edk2-ovmf/OVMF_CODE.fd -m 4096 -smp 4 -cpu host -snapshot -hda fedora-bootc.img -vga virtio -usbdevice tablet
we can include the zstd binary during the kernel swap stage.
just add --install=zstd and that will install at same time.
Closed. Should not matter anymore since 90faeb3eb1e11e3a61824edfa113c01f02c61617
During build - when
rpm-ostree install
ing the kernels fromublue-os/main-kernel
- dracut falls back to usepigz
for initrd compression due to the absence ofzstd
binary.The resulting included initrd is then gzip compressed:
If i'm not mistaken, this would be relevant for at least
bootc install
?