Fix '/tmp/.initrd/bin/[' to '[' in places before the pivot_root.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@170 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 20 years ago
parent ebfd16d5d8
commit 6c97e9fa52

@ -427,10 +427,10 @@ then
mount -t ext2 -o ro /newroot/dev/loop0 /newroot/mnt/livecd
FS_LOCATION='mnt/livecd'
umount /dev
elif /tmp/.initrd/bin/[ "${LOOPTYPE}" = 'zisofs' ]
elif [ "${LOOPTYPE}" = 'zisofs' ]
then
FS_LOCATION="mnt/cdrom/${LOOPEXT}${LOOP}"
elif /tmp/.initrd/bin/[ "${LOOPTYPE}" = 'noloop' ]
elif [ "${LOOPTYPE}" = 'noloop' ]
then
FS_LOCATION='mnt/cdrom'
fi
@ -447,7 +447,7 @@ else
mkdir -p /newroot/tmp/.initrd
fi
/tmp/.initrd/bin/[ ! -e /newroot/dev/console ] && mknod /newroot/dev/console c 5 1
[ ! -e /newroot/dev/console ] && mknod /newroot/dev/console c 5 1
echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting"
cd /newroot

@ -1,7 +1,7 @@
#!/bin/bash
# Genkernel v3
GK_V='3.1.0j'
GK_V='3.1.0k'
TEMP='/var/tmp/genkernel'
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.

Loading…
Cancel
Save