installer media: use INSTALL_MEDIA variable value, not name
At the point of saving the bootcmd for the second stage of the install process we want to use the variable value, not the variable name since this variable doesn't exist after the environment is reset. Signed-off-by: Hector Palacios <hector.palacios@digi.com> https://onedigi.atlassian.net/browse/DEL-9711
This commit is contained in:
parent
6858f8aa25
commit
1e726ebcf5
|
|
@ -173,7 +173,7 @@ setenv bootcmd "
|
|||
echo \"Aborted.\";
|
||||
exit;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb start;
|
||||
fi;
|
||||
if test \"\$\{dualboot\}\" = yes; then
|
||||
|
|
@ -203,7 +203,7 @@ setenv bootcmd "
|
|||
exit;
|
||||
fi;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb reset;
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ setenv bootcmd "
|
|||
echo \"Aborted.\";
|
||||
exit;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb start;
|
||||
fi;
|
||||
if test \"\$\{dualboot\}\" = yes; then
|
||||
|
|
@ -210,7 +210,7 @@ setenv bootcmd "
|
|||
exit;
|
||||
fi;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb reset;
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ setenv bootcmd "
|
|||
else
|
||||
force_erase=\"-e\";
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb start;
|
||||
fi;
|
||||
if test \"\$\{dualboot\}\" = yes; then
|
||||
|
|
@ -204,7 +204,7 @@ setenv bootcmd "
|
|||
exit;
|
||||
fi;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb reset;
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ setenv bootcmd "
|
|||
echo \"Aborted.\";
|
||||
exit;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb start;
|
||||
fi;
|
||||
if test \"\$\{dualboot\}\" = yes; then
|
||||
|
|
@ -179,7 +179,7 @@ setenv bootcmd "
|
|||
exit;
|
||||
fi;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb reset;
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ setenv bootcmd "
|
|||
echo \"Aborted.\";
|
||||
exit;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb start;
|
||||
fi;
|
||||
if test \"\$\{dualboot\}\" = yes; then
|
||||
|
|
@ -190,7 +190,7 @@ setenv bootcmd "
|
|||
exit;
|
||||
fi;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb reset;
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ setenv bootcmd "
|
|||
echo \"Aborted.\";
|
||||
exit;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb start;
|
||||
fi;
|
||||
if test \"\$\{dualboot\}\" = yes; then
|
||||
|
|
@ -213,7 +213,7 @@ setenv bootcmd "
|
|||
exit;
|
||||
fi;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb reset;
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ setenv bootcmd "
|
|||
setenv rootfstype ${rootfstype};
|
||||
setenv install_dualboot ${install_dualboot};
|
||||
run ubivolscript;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb start;
|
||||
fi;
|
||||
if test \"\$\{dualboot\}\" = yes; then
|
||||
|
|
@ -221,7 +221,7 @@ setenv bootcmd "
|
|||
exit;
|
||||
fi;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb reset;
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ setenv bootcmd "
|
|||
echo \"Aborted.\";
|
||||
exit;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb start;
|
||||
fi;
|
||||
if test \"\$\{dualboot\}\" = yes; then
|
||||
|
|
@ -228,7 +228,7 @@ setenv bootcmd "
|
|||
exit;
|
||||
fi;
|
||||
fi;
|
||||
if test \"\$\{INSTALL_MEDIA\}\" = "usb"; then
|
||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
||||
usb reset;
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
Loading…
Reference in New Issue