|
|
@ -238,15 +238,18 @@ then
|
|
|
|
then
|
|
|
|
then
|
|
|
|
good_msg "Making tmpfs for ${NEW_ROOT}"
|
|
|
|
good_msg "Making tmpfs for ${NEW_ROOT}"
|
|
|
|
mount -t tmpfs tmpfs ${NEW_ROOT}
|
|
|
|
mount -t tmpfs tmpfs ${NEW_ROOT}
|
|
|
|
|
|
|
|
echo "DEBUG: tmpfs mounted"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
for i in dev mnt mnt/cdrom mnt/livecd tmp tmp/.initrd mnt/gentoo sys
|
|
|
|
for i in dev mnt mnt/cdrom mnt/livecd tmp tmp/.initrd mnt/gentoo sys
|
|
|
|
do
|
|
|
|
do
|
|
|
|
mkdir -p ${NEW_ROOT}/$i
|
|
|
|
mkdir -p ${NEW_ROOT}/$i
|
|
|
|
chmod 755 ${NEW_ROOT}/$i
|
|
|
|
chmod 755 ${NEW_ROOT}/$i
|
|
|
|
|
|
|
|
echo "DEBUG: mkdir $i"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
cp /dev/null ${NEW_ROOT}/dev
|
|
|
|
cp /dev/null ${NEW_ROOT}/dev
|
|
|
|
cp /dev/console ${NEW_ROOT}/dev
|
|
|
|
cp /dev/console ${NEW_ROOT}/dev
|
|
|
|
|
|
|
|
echo "DEBUG: copying null/console"
|
|
|
|
|
|
|
|
|
|
|
|
# For SGI LiveCDs ...
|
|
|
|
# For SGI LiveCDs ...
|
|
|
|
if [ "${LOOPTYPE}" = "sgimips" ]
|
|
|
|
if [ "${LOOPTYPE}" = "sgimips" ]
|
|
|
@ -260,6 +263,7 @@ then
|
|
|
|
if [ -e /dev/tty1 ]
|
|
|
|
if [ -e /dev/tty1 ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
cp /dev/tty1 ${NEW_ROOT}/dev
|
|
|
|
cp /dev/tty1 ${NEW_ROOT}/dev
|
|
|
|
|
|
|
|
echo "DEBUG: copying tty1 for splash"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${REAL_ROOT}" != "/dev/nfs" ] && [ "${LOOPTYPE}" != "sgimips" ]
|
|
|
|
if [ "${REAL_ROOT}" != "/dev/nfs" ] && [ "${LOOPTYPE}" != "sgimips" ]
|
|
|
|