Handling case when memtest is disabled.
This commit is contained in:
parent
f3706cd7f2
commit
09faf3f24b
|
@ -76,12 +76,15 @@ case "${LH_ARCHITECTURE}" in
|
||||||
amd64|i386)
|
amd64|i386)
|
||||||
|
|
||||||
cat >> chroot/root/dpkg-selection.txt << EOF
|
cat >> chroot/root/dpkg-selection.txt << EOF
|
||||||
${LH_MEMTEST}
|
|
||||||
mtools
|
mtools
|
||||||
syslinux
|
syslinux
|
||||||
grub
|
grub
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if [ "${LH_MEMTEST}" != "disabled" ] && [ "${LH_MEMTEST}" != "none" ]
|
||||||
|
then
|
||||||
|
echo "${LH_MEMTEST}" >> chroot/root/dpkg-selection.txt
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
powerpc)
|
powerpc)
|
||||||
|
|
Loading…
Reference in New Issue