diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-07-10 11:31:46 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-07-10 11:31:46 +0800 |
| commit | e90b72ec3082588b296956730bd2930cf8d5d671 (patch) | |
| tree | 36ff6916af9b4176ea5a9662219d11e721f0b691 /usr/default_cpio_list | |
| parent | 1767d390fbf3d0c65389de46caf0b6d43ef3b6ad (diff) | |
| download | lume-e90b72ec3082588b296956730bd2930cf8d5d671.tar.gz lume-e90b72ec3082588b296956730bd2930cf8d5d671.tar.xz | |
refactor: promote new architecture to repository root
Archive the deprecated implementation under lume-legacy, make the new kernel the default root-level build, and update repository entry points without changing kernel behavior.
Diffstat (limited to 'usr/default_cpio_list')
| -rw-r--r-- | usr/default_cpio_list | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/usr/default_cpio_list b/usr/default_cpio_list new file mode 100644 index 0000000..6721365 --- /dev/null +++ b/usr/default_cpio_list @@ -0,0 +1,24 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Default initramfs source — minimal, no userland. +# +# Mirrors Linux's usr/default_cpio_list: just enough nodes for the kernel +# to mount a root and panic cleanly on "no init found". Real workloads +# override CONFIG_INITRAMFS_SOURCE. +# +# Format (matches gen_init_cpio): +# dir <path> <mode> <uid> <gid> +# nod <path> <mode> <uid> <gid> <c|b> <maj> <min> +# file <path> <hostsrc> <mode> <uid> <gid> +# slink <path> <target> <mode> <uid> <gid> +# Lines starting with '#' are comments. Blank lines are ignored. + +dir /dev 0755 0 0 +nod /dev/console 0600 0 0 c 5 1 +nod /dev/null 0666 0 0 c 1 3 +nod /dev/zero 0666 0 0 c 1 5 +dir /proc 0755 0 0 +dir /sys 0755 0 0 +dir /tmp 1777 0 0 +dir /sbin 0755 0 0 +dir /bin 0755 0 0 +dir /etc 0755 0 0 |
