Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45507 - [systemd] Add systemd-efi-boot-generator to a systemd initramfs

Attached to Project: Arch Linux
Opened by Mateus Rodrigues Costa (CharlesAtum) - Tuesday, 30 June 2015, 12:10 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 02 July 2015, 23:59 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Evangelos Foutras (foutrelis)
Jan Alexander Steffens (heftig)
Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The systemd-efi-boot-generator is needed on the initramfs so the ESP is automounted when /boot is accessed


Additional info:
* systemd 221-2


Steps to reproduce:
1. Try to run sudo ls /, /boot isn't mounted and ls returns nothing
2. Try to run sudo bootctl update (if you use it), it fails with "File system "/boot" is not a FAT EFI System Partition (ESP) file system."
3. Try to run pacman -S linux, pacman doesn't care about whether /boot is ESP or not and installs to the root partition.
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 02 July 2015, 23:59 GMT
Reason for closing:  Won't implement
Additional comments about closing:  The generator as currently implemented does nothing in the initrd, so there's nothing gained by adding it.
Comment by Jan Alexander Steffens (heftig) - Thursday, 02 July 2015, 01:08 GMT
No, this seems wrong. The efi-boot generator does nothing when in the initrd.
Comment by Mateus Rodrigues Costa (CharlesAtum) - Thursday, 02 July 2015, 02:18 GMT
It should do something that allows the ESP to be automounted on /boot when it gets accessed.
See man page: http://www.freedesktop.org/software/systemd/man/systemd-efi-boot-generator.html
Comment by Dave Reisner (falconindy) - Thursday, 02 July 2015, 23:59 GMT
Why is the ESP and /boot needed from the initramfs?

Regardless, Jan is correct -- the generator does absolutely nothing in the initrd:

https://github.com/systemd/systemd/blob/master/src/efi-boot-generator/efi-boot-generator.c#L56

If you want to change that, you'll need to work with upstream.

Loading...