[Buildroot] [PATCH v2 1/1] boot/systemd-boot: new package
peter at korsgaard.com
Sat Dec 15 10:43:25 UTC 2018
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
> Also, I wonder if it ever makes sense to provide systemd-boot to
> non-systemd init systems to begin with.
I agree with everything Yann wrote.
One feature of systemd-boot that some people (E.G. me) might find
interesting even if they do not use systemd as init system is the fact
that it comes with an EFI stub loader that allows you to combine Linux
kernel, hardcoded command line and initramfs into a single (potentially
signed) EFI PE image with objcopy:
--add-section .cmdline=cmdline --change-section-vma .osrel=0x20000 \
--add-section .linux=linux --change-section-vma .linux=0x30000 \
--add-section .initrd=initrd --change-section-vma .initrd=0x3000000 \
For some use cases (E.G. if these are not built by the same defconfigs
or for A/B boot with different Linux command line) this late binding may
be preferable to just building a Linux kernel with compile time
hardcoded command line and embedded initramfs.
Bye, Peter Korsgaard
More information about the buildroot