You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
install : run bootupd with --src-root pointing to the deployed container #1455
Currently the bootc install makes assumptions about being run from the container. It mostly work outside of it, but also assume the buildroot is the same as the container content. (see #1438 and #1410).
the bootloader setup runs into the same pitfall : it expects /usr/lib/bootupd/updates/<component> to exists, but it may not if we are using a different buildroot.
If i understand correctly, the call to bootupd is done after the container content is deployed, so bootupd could be pointed to the deployment.
The docs even outline the ostree use case :
Activity
jbtrystram commentedon Jul 29, 2025
I tried something naive to see if that would work :
but i don't know how I can resolve the ostree deployment ID
cgwalters commentedon Jul 29, 2025
OK yes, I added the source-imageref label which we should use to track these ones.
Yes we need to fix this in general.
See use of
crate::utils::deployment_fdinstall: use deployed sysroot as root for bootloader install
jbtrystram commentedon Jul 29, 2025
Thanks ! I made something that worked in #1460
install: use deployed sysroot as root for bootloader install
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment
install/bootupd: chroot to deployment