Perform in LH_BOOTAPPEND_INSTALL conditional expansion manually to avoid expansion bug/feature on repetitive calls to lh_config (Closes: #488672)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
3205bb9409
commit
d3f15a317f
|
@ -506,7 +506,10 @@ Set_defaults ()
|
||||||
|
|
||||||
# Setting boot parameters
|
# Setting boot parameters
|
||||||
# LH_BOOTAPPEND_LIVE
|
# LH_BOOTAPPEND_LIVE
|
||||||
LH_BOOTAPPEND_INSTALL="${LH_BOOTAPPEND_INSTALL:--- \${LH_BOOTAPPEND_LIVE}}"
|
if [ -z "${LH_BOOTAPPEND_INSTALL}" ]
|
||||||
|
then
|
||||||
|
LH_BOOTAPPEND_INSTALL="-- \${LH_BOOTAPPEND_LIVE}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Setting bootloader
|
# Setting bootloader
|
||||||
if [ -z "${LH_BOOTLOADER}" ]
|
if [ -z "${LH_BOOTLOADER}" ]
|
||||||
|
|
Loading…
Reference in New Issue