summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-10-23 06:23:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-10-23 06:23:29 +0000
commit881bac2db254a4bfa52567233a0b264484c31fa1 (patch)
tree5371bdb54d6e895961f3f2cabb8abd5cded01a15 /target/linux
parent4a142953ea943245ffbe7ea7f707f8ba87ab59bc (diff)
downloadmtk-20170518-881bac2db254a4bfa52567233a0b264484c31fa1.zip
mtk-20170518-881bac2db254a4bfa52567233a0b264484c31fa1.tar.gz
mtk-20170518-881bac2db254a4bfa52567233a0b264484c31fa1.tar.bz2
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 <jk@ozlabs.org> SVN-Revision: 9410
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic-2.6/image/initramfs-base-files.txt9
1 files changed, 9 insertions, 0 deletions
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 0000000..eda5d0d
--- /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