|
|
|
@ -247,22 +247,22 @@ then
|
|
|
|
|
chmod 755 ${NEW_ROOT}/$i
|
|
|
|
|
echo "DEBUG: mkdir $i"
|
|
|
|
|
done
|
|
|
|
|
[ ! -e ${NEW_ROOT}/dev/null ] && mknod ${NEW_ROOT}/dev/null c 5 1
|
|
|
|
|
[ ! -e ${NEW_ROOT}/dev/console ] && mknod ${NEW_ROOT}/dev/console c 1 3
|
|
|
|
|
[ ! -e ${NEW_ROOT}/dev/null ] && mknod ${NEW_ROOT}/dev/null c 1 3
|
|
|
|
|
[ ! -e ${NEW_ROOT}/dev/console ] && mknod ${NEW_ROOT}/dev/console c 5 1
|
|
|
|
|
echo "DEBUG: mknod null/console"
|
|
|
|
|
|
|
|
|
|
# For SGI LiveCDs ...
|
|
|
|
|
if [ "${LOOPTYPE}" = "sgimips" ]
|
|
|
|
|
then
|
|
|
|
|
cp /dev/sr0 ${NEW_ROOT}/dev
|
|
|
|
|
cp /dev/loop0 ${NEW_ROOT}/dev
|
|
|
|
|
[ ! -e ${NEW_ROOT}/dev/sr0 ] && mknod ${NEW_ROOT}/dev/sr0 b 11 0
|
|
|
|
|
[ ! -e ${NEW_ROOT}/dev/loop0 ] && mknod ${NEW_ROOT}/dev/loop0 b 7 0
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Required for gensplash to work. Not an issue with the initrd as this
|
|
|
|
|
# device isnt created there and is not needed.
|
|
|
|
|
if [ -e /dev/tty1 ]
|
|
|
|
|
then
|
|
|
|
|
cp /dev/tty1 ${NEW_ROOT}/dev
|
|
|
|
|
[ ! -e ${NEW_ROOT}/dev/tty1 ] && mknod ${NEW_ROOT}/dev/tty1 c 4 1
|
|
|
|
|
echo "DEBUG: copying tty1 for splash"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|