Fix cp /dev/tty1 error message

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@283 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Eric Edgar 20 years ago
parent 09c176df98
commit d02b87e698

@ -56,7 +56,7 @@ create_base_initrd_sys() {
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!'

@ -236,7 +236,13 @@ then
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

Loading…
Cancel
Save