git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@283
67a159dc-881f-0410-a524-
ba9dfbe2cb84
cd ${TEMP}/initrd-temp/dev
MAKEDEV std
MAKEDEV console
-
+
if [ "${DISKLABEL}" -eq '1' ]; then
cp "${BLKID_BINCACHE}" "${TEMP}/initrd-temp/bin/blkid.bz2" ||
gen_die 'Could not copy blkid from bincache!'
done
cp /dev/null ${NEW_ROOT}/dev
cp /dev/console ${NEW_ROOT}/dev
- cp /dev/tty1 ${NEW_ROOT}/dev
+
+ # 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
+ fi
+
sdelay
[ "${REAL_ROOT}" = "/dev/nfs" ] || bootstrapCD