mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
4538f41305
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>
7 lines
153 B
Plaintext
7 lines
153 B
Plaintext
# 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
|