[Buildroot] [PATCH v2 1/1] boot/systemd-boot: new package

Yann E. MORIN yann.morin.1998 at free.fr
Sat Dec 15 10:49:31 UTC 2018


Peter, All,

On 2018-12-15 11:43 +0100, Peter Korsgaard spake thusly:
> >>>>> "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.
> 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:
> 
> 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 \
>   stubx64.efi linux.efi
> 
> 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.

Ok, then it makes sense we can have systemd-boot without systemd init.

Let's try to find a solution for that, then.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list