forked from mirrored-repos/manjaro-tools
add option custom_boot_args
This commit is contained in:
parent
1bfa0725f5
commit
a1863f14e9
2 changed files with 5 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
################ buildiso ################
|
################ 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
|
# branch=v18.1
|
||||||
|
|
||||||
# default iso build list; name without .list extension
|
# default iso build list; name without .list extension
|
||||||
|
@ -64,6 +64,9 @@
|
||||||
# gpg key; leave empty or commented to skip sfs signing
|
# gpg key; leave empty or commented to skip sfs signing
|
||||||
# gpgkey=""
|
# gpgkey=""
|
||||||
|
|
||||||
|
# kernel parameters (array); example: custom_boot_args="'acpi_osi=Linux'"
|
||||||
|
# custom_boot_args=
|
||||||
|
|
||||||
########## calamares preferences ##########
|
########## calamares preferences ##########
|
||||||
#See branding.desc.d for reference
|
#See branding.desc.d for reference
|
||||||
|
|
||||||
|
|
|
@ -456,7 +456,7 @@ make_image_boot() {
|
||||||
|
|
||||||
configure_grub(){
|
configure_grub(){
|
||||||
local default_args="misobasedir=${iso_name} misolabel=${iso_label}" \
|
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" \
|
sed -e "s|@DIST_NAME@|${dist_name}|g" \
|
||||||
-e "s|@ARCH@|${target_arch}|g" \
|
-e "s|@ARCH@|${target_arch}|g" \
|
||||||
|
|
Loading…
Reference in a new issue