-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix --sysroot /sysroot
on booted system
#2992
Comments
I see the same behaviour when using Here's the output of both runs:
However, if I do it in two steps it works fine:
|
You definitely want |
To make it less likely people run into the footgun of specifying `--sysroot /sysroot` which is buggy right now ostreedev/ostree#2992
Did a small PR related to this in ostreedev/ostree-rs-ext#516 |
I tried again just to be sure, and it seems to be version related (new version seems fixed) For the record, it fails using ostree shipped in 4.12:
But works OK using the one shipped in 4.14:
|
Ah, yes. We shipped what is basically a MVP of the ostree-container stack in 4.12 (cherry picked just for OCP with custom RHEL8-derived builds) - the focus of everything is on RHEL9 (4.13+). We can try to get things back to 4.12 but it has to have a pretty strong motivation. |
No need to backport to 4.12 at all. I'll bump to 4.13 to do my testing :) |
Seems that ostree shipped with 4.13.8 is also broken, NOT creating /boot entries, although this version does not report anything broken in Version
Pre deploy status
Init and deploy
Post deploy status
|
Ah yes this is confusing...notice the |
The default sysroot is
/
- now in theory, saying--sysroot /sysroot
should work, except it breaks because we don't mount/boot
at/sysroot/boot
. Arguably, we should make that a bind mount.The text was updated successfully, but these errors were encountered: