sys-kernel/genkernel: correct typo in patch
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2625 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
@@ -17,19 +17,19 @@ diff -Naur genkernel-3.4.10.907.orig/defaults/initrd.scripts genkernel-3.4.10.90
|
||||
+ # Seed /dev with some things that we know we need
|
||||
+
|
||||
+ # Create problematic directories
|
||||
+ mkdir -p ${CDROOT}/dev/pts ${CDROOT}/dev/shm
|
||||
+ mkdir -p ${CHROOT}/dev/pts ${CHROOT}/dev/shm
|
||||
+
|
||||
+ # creating /dev/console and /dev/tty1 to be able to write
|
||||
+ # to $CONSOLE with/without bootsplash before mdev creates it
|
||||
+ [ -c ${CDROOT}/dev/console ] || mknod ${CDROOT}/dev/console c 5 1
|
||||
+ [ -c ${CDROOT}/dev/tty1 ] || mknod ${CDROOT}/dev/tty1 c 4 1
|
||||
+ [ -c ${CHROOT}/dev/console ] || mknod ${CHROOT}/dev/console c 5 1
|
||||
+ [ -c ${CHROOT}/dev/tty1 ] || mknod ${CHROOT}/dev/tty1 c 4 1
|
||||
+
|
||||
+ # udevd will dup its stdin/stdout/stderr to /dev/null
|
||||
+ # and we do not want a file which gets buffered in ram
|
||||
+ [ -c ${CDROOT}/dev/null ] || mknod ${CDROOT}/dev/null c 1 3
|
||||
+ [ -c ${CHROOT}/dev/null ] || mknod ${CHROOT}/dev/null c 1 3
|
||||
+
|
||||
+ # creating /dev/initctl to be able to switch init
|
||||
+ [ -c ${CDROOT}/dev/initctl ] || mknod ${CDROOT}/dev/initctl p
|
||||
+ [ -c ${CHROOT}/dev/initctl ] || mknod ${CHROOT}/dev/initctl p
|
||||
+}
|
||||
+
|
||||
+seed_dev()
|
||||
|
||||
Reference in New Issue
Block a user