mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +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>
6 lines
153 B
Text
6 lines
153 B
Text
# 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
|