-
Notifications
You must be signed in to change notification settings - Fork 24
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
mkosi v15+: mkosi.extra/boot/ files missing in /boot, breaks incremental update_existing_rootfs() #88
Comments
I can reproduce as early as mkosi v15. This was likely caused by the v15 switch to systemd/mkosi@8bbbd836078a2 "Migrate disk image building to systemd-repart"
|
This comment was marked as resolved.
This comment was marked as resolved.
|
... or maybe not. Maybe that's not required after all... One burning question is: what is the
But Also: when invoked by Could this -F be another instance of trying to port to mkosi v15+ another (#76) Generally speaking, porting to mkosi v15+ is really hard without a clear picture of what: 1) code was supposed to do with mkosi v14- in the first place 2) what it was actually achieving with v14-. Other complications: Status with mkosi v14- and Fedora 40 (v15+ has significant differences)
On addition to |
Simply dropping the @stellarhopper , @weiny2 could you test that |
I did a lot more testing and dropping "-F System.map" is not good enough. It's just shooting the messenger. It's a "also guilty" messenger but still just a messenger. Dropping "-F System.map" fixes the build but hides a bigger => Still no kernel modules in /boot! Here's the situation with mkosi v15+ if we drop "-F System.map"
The above tested with both v15 and v23. I think it's better to fail with this "system.map" error message because it can lead people to this bug and issue until the real |
update_existing_rootfs()
currently relies on/boot/System.map
being located on the main partition. When it's not, the "incremental" build fails like this:(The
-r img
workaround is correct)Not there are multiple places where the ESP partition can be mounted: notably
/efi
or/boot
. Fedora+mkosi seems to always use/efi
by default?https://wiki.archlinux.org/title/EFI_system_partition#Typical_mount_points
cc:
The text was updated successfully, but these errors were encountered: