diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index b1abbde5c..fd0f3ac21 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -161,14 +161,6 @@ url="&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index">BLFS Index of Kernel Settings. - - If your host hardware is using UEFI and you wish to boot the - LFS system with it, you should adjust some kernel configuration - following - the BLFS page even if you'll use the - UEFI bootloader from the host distro. - - The rationale for the above configuration items: diff --git a/chapter10/kernel/systemd.toml b/chapter10/kernel/systemd.toml index 387a74b66..17a261a4f 100644 --- a/chapter10/kernel/systemd.toml +++ b/chapter10/kernel/systemd.toml @@ -33,6 +33,9 @@ CGROUP_SCHED='* ' revision='systemd' +EFI='*' +EFI_ZBOOT='*' + [RT_GROUP_SCHED] value = ' ' comment = 'This may cause some systemd features malfunction' diff --git a/chapter10/kernel/systemd.xml b/chapter10/kernel/systemd.xml index cc85b32c6..5f5ef6d07 100644 --- a/chapter10/kernel/systemd.xml +++ b/chapter10/kernel/systemd.xml @@ -21,6 +21,9 @@ [*] Build a relocatable kernel image [RELOCATABLE] [*] Randomize the address of the kernel image [RANDOMIZE_BASE] +Boot options ---> + [*] UEFI runtime support [EFI] + General architecture-dependent options ---> [*] Stack Protector buffer overflow detection [STACKPROTECTOR] [*] Strong Stack Protector [STACKPROTECTOR_STRONG] @@ -43,6 +46,8 @@ Firmware Drivers ---> [*] Export DMI identification via sysfs to userspace [DMIID] [*] Mark VGA/VBE/EFI FB as generic system framebuffer [SYSFB_SIMPLEFB] + EFI (Extensible Firmware Interface) Support ---> + [*] Enable the generic EFI decompressor [EFI_ZBOOT] Graphics support ---> <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> ... [DRM] diff --git a/chapter10/kernel/sysv.toml b/chapter10/kernel/sysv.toml index c8267a303..a0c4b99d5 100644 --- a/chapter10/kernel/sysv.toml +++ b/chapter10/kernel/sysv.toml @@ -20,4 +20,7 @@ DRM_FBDEV_EMULATION='*' DRM_SIMPLEDRM='*' FRAMEBUFFER_CONSOLE='*' +EFI='*' +EFI_ZBOOT='*' + revision='sysv' diff --git a/chapter10/kernel/sysv.xml b/chapter10/kernel/sysv.xml index 8a9a6a35c..cfb1ac29f 100644 --- a/chapter10/kernel/sysv.xml +++ b/chapter10/kernel/sysv.xml @@ -18,6 +18,9 @@ [*] Build a relocatable kernel image [RELOCATABLE] [*] Randomize the address of the kernel image [RANDOMIZE_BASE] +Boot options ---> + [*] UEFI runtime support [EFI] + General architecture-dependent options ---> [*] Stack Protector buffer overflow detection [STACKPROTECTOR] [*] Strong Stack Protector [STACKPROTECTOR_STRONG] @@ -30,6 +33,8 @@ ... [DEVTMPFS_MOUNT] Firmware Drivers ---> [*] Mark VGA/VBE/EFI FB as generic system framebuffer [SYSFB_SIMPLEFB] + EFI (Extensible Firmware Interface) Support ---> + [*] Enable the generic EFI decompressor [EFI_ZBOOT] Graphics support ---> <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> ... [DRM]