feat(cli): add --no-uefi option
To be able to turn off UEFI mode, when it's enabled in config.master
parent
c93df5e0ea
commit
f3cbff1113
|
@ -510,6 +510,9 @@ will not be able to boot.
|
|||
The <BUILD_ID> is taken from BUILD_ID in _/usr/lib/os-release_ or if it exists
|
||||
_/etc/os-release_ and is left out, if BUILD_ID is non-existant or empty.
|
||||
|
||||
**--no-uefi**::
|
||||
Disables UEFI mode.
|
||||
|
||||
**--no-machineid**::
|
||||
affects the default output filename of **--uefi** and will discard the <MACHINE_ID>
|
||||
part.
|
||||
|
|
|
@ -237,6 +237,7 @@ Creates initial ramdisk images for preloading modules
|
|||
--loginstall [DIR] Log all files installed from the host to [DIR]
|
||||
--uefi Create an UEFI executable with the kernel cmdline and
|
||||
kernel combined
|
||||
--no-uefi Disables UEFI mode
|
||||
--uefi-stub [FILE] Use the UEFI stub [FILE] to create an UEFI executable
|
||||
--uefi-splash-image [FILE]
|
||||
Use [FILE] as a splash image when creating an UEFI
|
||||
|
@ -421,6 +422,7 @@ rearrange_params()
|
|||
--long no-reproducible \
|
||||
--long loginstall: \
|
||||
--long uefi \
|
||||
--long no-uefi \
|
||||
--long uefi-stub: \
|
||||
--long uefi-splash-image: \
|
||||
--long kernel-image: \
|
||||
|
@ -622,7 +624,8 @@ while :; do
|
|||
--noimageifnotneeded) noimageifnotneeded="yes";;
|
||||
--reproducible) reproducible_l="yes";;
|
||||
--no-reproducible) reproducible_l="no";;
|
||||
--uefi) uefi="yes";;
|
||||
--uefi) uefi_l="yes";;
|
||||
--no-uefi) uefi_l="no";;
|
||||
--uefi-stub)
|
||||
uefi_stub_l="$2"; PARMS_TO_STORE+=" '$2'"; shift;;
|
||||
--uefi-splash-image)
|
||||
|
@ -809,6 +812,7 @@ stdloglvl=$((stdloglvl + verbosity_mod_l))
|
|||
[[ $logfile_l ]] && logfile="$logfile_l"
|
||||
[[ $reproducible_l ]] && reproducible="$reproducible_l"
|
||||
[[ $loginstall_l ]] && loginstall="$loginstall_l"
|
||||
[[ $uefi_l ]] && uefi=$uefi_l
|
||||
[[ $uefi_stub_l ]] && uefi_stub="$uefi_stub_l"
|
||||
[[ $uefi_splash_image_l ]] && uefi_splash_image="$uefi_splash_image_l"
|
||||
[[ $kernel_image_l ]] && kernel_image="$kernel_image_l"
|
||||
|
|
Loading…
Reference in New Issue