mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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
|