aboutsummaryrefslogtreecommitdiff
path: root/package/systemd/Config.in
diff options
context:
space:
mode:
authorGravatar James Hilliard <james.hilliard1@gmail.com>2019-03-16 06:26:37 +0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-17 13:46:55 +0100
commit6f28ce5322259b563c8a0f1056c38aab2d9ad8a2 (patch)
tree639ecca0f17e721a363c1dd83d5369f54b703641 /package/systemd/Config.in
parent4a04886a6423b78e8adf72bb6c22a50c8ed45459 (diff)
downloadbuildroot-6f28ce5322259b563c8a0f1056c38aab2d9ad8a2.tar.gz
buildroot-6f28ce5322259b563c8a0f1056c38aab2d9ad8a2.tar.bz2
package/systemd: enable building of systemd-boot
systemd-boot is the integration of gummiboot into systemd, when gummiboot is no longer maintained [0]. Add an option to build systemd-boot as part of the systemd build. Install the boot files, that can serve as a template for the user to tweak for their system. [0] https://cgit.freedesktop.org/gummiboot/commit/?id=55df1539c9d330732e88bd196afee386db6e4a1d Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [yann.morin.1998@free.fr: - add missing depends on i386 || x86_64 - add missing dependency to gnu-efi - add missing boot files ] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/systemd/Config.in')
-rw-r--r--package/systemd/Config.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 490222f376..63d9ea52e3 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -78,6 +78,34 @@ if BR2_PACKAGE_SYSTEMD
config BR2_PACKAGE_PROVIDES_UDEV
default "systemd"
+config BR2_PACKAGE_SYSTEMD_BOOT
+ bool "systemd-boot"
+ depends on BR2_i386 || BR2_x86_64
+ select BR2_PACKAGE_GNU_EFI
+ help
+ systemd-boot is a simple UEFI boot manager which executes
+ configured EFI images. The default entry is selected by a
+ configured pattern (glob) or an on-screen menu.
+
+ systemd-boot operates on the EFI System Partition (ESP)
+ only. Configuration file fragments, kernels, initrds, other
+ EFI images need to reside on the ESP. Linux kernels need to
+ be built with CONFIG_EFI_STUB to be able to be directly
+ executed as an EFI image.
+
+ See the Grub2 help text for details on preparing an EFI
+ capable disk image using systemd-boot: the instructions are
+ exactly the same, except that the systemd-boot configuration
+ files will be located in /loader/ inside the EFI partition.
+
+ https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/
+
+config BR2_PACKAGE_SYSTEMD_BOOT_EFI_ARCH
+ string
+ default "ia32" if BR2_i386
+ default "x64" if BR2_x86_64
+ depends on BR2_PACKAGE_SYSTEMD_BOOT
+
config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
bool "HTTP server for journal events"
select BR2_PACKAGE_LIBMICROHTTPD