-
Notifications
You must be signed in to change notification settings - Fork 61
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
System unbootable after upgrading ostree #144
Comments
Hmm. This might be fallout from this: ostreedev/ostree#1170 (comment) You're using the cmdline It seems to me the old code should have had the behavior of picking up whatever's on disk as well; which for OE-style builds you don't want. The only xattrs you want (AIUI) are SMACK, which I still think based on previous discussion should likely be done equvialently to the SELinux support in libostree. Which now actually has a convenient command line Anyways for now I think adding |
Hi @guyshapiro , |
The build machine is running Debian 8.9 with kernel version 4.9.30 from backports. |
@guyshapiro thank you. One more thing: do I understand it right that with current OSTree revision as it is set in the pyro branch (3b09620c2738bce4ed45e099cf2e4c5df7671d39) everything works fine? If so, could you please share the exact commit hash for the broken one. |
Images created with this version aren't bootable (issue advancedtelematic#144).
Workaround issue advancedtelematic#144.
I still working on the morty branch. |
Sorry, @guyshapiro, could you reupload the config please? I can't find where I've put it on my machine. |
Sure. Uploaded that to here. |
Is this the same symptom even with Are there any new errors? |
Adding |
@guyshapiro |
I'm using the morty branch of poky. I'll try to check the pseudo_1.8.2.bb recipe within a few days. |
@guyshapiro |
Related PR #153 |
After PR #153, it works for me. |
Images created with this version aren't bootable (issue advancedtelematic#144).
Excellent, I'm glad to hear that! |
I tried to update the OSTree recipe to newer version (current master, 2017.12+) and it made the OTA image unbootable.
When booting such image, the init.sh script fails with the error
"mkdir: can't create directory 'run/initramfs': Invalid argument"
, followed by a kernel panic.When I mounted the image on my desktop and tried writing to
/ostree/deploy/poky/deploy/*/
, I got a similar error.Inspecting the image with the 'debugfs' utility (version 1.42.12), it looks like the directory has extended attribute with an empty name:
The content of the generated ostree repo contains the "system.posix_acl_default" extended attribute:
The ostree repo generated before the version change didn't had such attribute.
As a workaround, I added
--no-xattrs
to the ostree commit command onimage_types_ostree.bbclass
.(cc: @cgwalters )
The text was updated successfully, but these errors were encountered: