diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-01-05 00:02:35 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-01-16 00:25:22 +0900 |
commit | 4538f41305c3f2c35463c996663dbf6307030ad7 (patch) | |
tree | 3ea57f126a5e2fb321890bdc8ec2670eefbeddb6 /usr/default_cpio_list | |
parent | 9668097599aa5fb87351bc2263e06a1c24718d40 (diff) |
initramfs: add default_cpio_list, and delete -d option support
When CONFIG_INITRAMFS_SOURCE is empty, the Makefile passes the -d
option to gen_initramfs.sh to create the default initramfs, which
contains /dev, /dev/console, and /root.
This commit simplifies the default behavior; remove the -d option,
and add the default cpio list.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'usr/default_cpio_list')
-rw-r--r-- | usr/default_cpio_list | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/default_cpio_list b/usr/default_cpio_list new file mode 100644 index 000000000000..37b3864066e8 --- /dev/null +++ b/usr/default_cpio_list @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only +# This is a very simple, default initramfs + +dir /dev 0755 0 0 +nod /dev/console 0600 0 0 c 5 1 +dir /root 0700 0 0 |