Merge "Prestaging rootfs and bootfs customization with script provided via the prestage iso"

This commit is contained in:
Zuul 2022-04-26 13:56:26 +00:00 committed by Gerrit Code Review
commit 3e0b66ec99
3 changed files with 14 additions and 1 deletions

View File

@ -7,6 +7,11 @@
set -- `cat /proc/cmdline`
for I in $*; do case "$I" in *=*) eval $I 2>/dev/null;; esac; done
# Source the custom setup script if it exists
if [ -e /run/install/repo/ks-setup.cfg ]; then
source /run/install/repo/ks-setup.cfg
fi
append=
if [ -n "$console" ] ; then
append="console=$console"

View File

@ -16,6 +16,11 @@ wlog "USB_DEV='$USB_DEV'."
set -- `cat /proc/cmdline`
for I in $*; do case "$I" in *=*) eval $I 2>/dev/null;; esac; done
# Source the custom setup script if it exists
if [ -e /run/install/repo/ks-setup.cfg ]; then
source /run/install/repo/ks-setup.cfg
fi
if [ -z "$boot_device" ]; then
boot_device=$(get_disk_dev)
fi

View File

@ -13,8 +13,11 @@ set -- `cat /proc/cmdline`
for I in $*; do case "$I" in *=*) eval $I 2>/dev/null;; esac; done
for J in $*; do case "$J" in force_install) force_install=${J};; esac; done
# if force_install is set, install anyway. Ignore the remainder of this section.
if [ -e /run/install/repo/ks-setup.cfg ]; then
source /run/install/repo/ks-setup.cfg
fi
# if force_install is set, install anyway. Ignore the remainder of this section.
if [ -z ${force_install} ]; then
if [ -z "$rootfs_device" ]; then
rootfs_device=$(get_disk_dev)