add option custom_boot_args

This commit is contained in:
Bernhard Landauer 2019-12-11 15:44:30 +01:00
parent 1bfa0725f5
commit a1863f14e9
2 changed files with 5 additions and 2 deletions

View file

@ -37,7 +37,7 @@
################ buildiso ################
#default branch for iso-profiles repo: v18.1 Juhraya master>development release
# default branch for iso-profiles repo: v18.1 Juhraya master>development release
# branch=v18.1
# default iso build list; name without .list extension
@ -64,6 +64,9 @@
# gpg key; leave empty or commented to skip sfs signing
# gpgkey=""
# kernel parameters (array); example: custom_boot_args="'acpi_osi=Linux'"
# custom_boot_args=
########## calamares preferences ##########
#See branding.desc.d for reference

View file

@ -456,7 +456,7 @@ make_image_boot() {
configure_grub(){
local default_args="misobasedir=${iso_name} misolabel=${iso_label}" \
boot_args=('quiet' 'systemd.show_status=1' ${apparmor_boot_args})
boot_args=('quiet' 'systemd.show_status=1' ${custom_boot_args} ${apparmor_boot_args})
sed -e "s|@DIST_NAME@|${dist_name}|g" \
-e "s|@ARCH@|${target_arch}|g" \