systemd: disable bootloader by default if EFI is disabled
If EFI is disabled, either because it is not available on the platform or because the user has manually disabled it, automatically disable building systemd-boot. The "withBootloader -> withEfi" assertion is maintained in case someone manually tries to enable the bootloader without EFI support. This fixes evaluation on platforms without EFI support.
This commit is contained in:
parent
4deff14bf0
commit
1c2425ac78
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@
|
|||
, withAnalyze ? true
|
||||
, withApparmor ? true
|
||||
, withAudit ? true
|
||||
, withBootloader ? !stdenv.hostPlatform.isMusl # compiles systemd-boot, assumes EFI is available.
|
||||
, withBootloader ? withEfi && !stdenv.hostPlatform.isMusl # compiles systemd-boot, assumes EFI is available.
|
||||
, withCompression ? true # adds bzip2, lz4, xz and zstd
|
||||
, withCoredump ? true
|
||||
, withCryptsetup ? true
|
||||
|
|
Loading…
Reference in a new issue