From 957fd804f10d8ab53eb12f5d562dee3878cacae6 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 23 Oct 2007 06:23:29 +0000 Subject: Allow targets to specify extra initramfs source files The CONFIG_INITRAMFS_SOURCE Kconfig variable can be a space-separated list of source files (or directories). This allows a platform to add extra components to the initramfs image, by defining the INITRAMFS_EXTRA_FILES make var. By default, we add a simple initramfs extra file for the generic-2.6 platform, which specifies a few device nodes. Signed-off-by: Jeremy Kerr git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9410 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic-2.6/image/initramfs-base-files.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 target/linux/generic-2.6/image/initramfs-base-files.txt (limited to 'target/linux/generic-2.6/image') diff --git a/target/linux/generic-2.6/image/initramfs-base-files.txt b/target/linux/generic-2.6/image/initramfs-base-files.txt new file mode 100644 index 000000000..eda5d0d27 --- /dev/null +++ b/target/linux/generic-2.6/image/initramfs-base-files.txt @@ -0,0 +1,9 @@ +nod /dev/console 600 0 0 c 5 1 +nod /dev/null 666 0 0 c 1 3 +nod /dev/zero 666 0 0 c 1 5 +nod /dev/tty 666 0 0 c 5 0 +nod /dev/tty0 660 0 0 c 4 0 +nod /dev/tty1 660 0 0 c 4 1 +nod /dev/random 666 0 0 c 1 8 +nod /dev/urandom 666 0 0 c 1 9 +dir /dev/pts 755 0 0 -- cgit v1.2.3