Merge "Prestaging rootfs and bootfs customization with script provided via the prestage iso"
This commit is contained in:
commit
3e0b66ec99
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user