summaryrefslogtreecommitdiff
path: root/cpio_list.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cpio_list.txt')
-rw-r--r--cpio_list.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/cpio_list.txt b/cpio_list.txt
index 79b38f0..016170f 100644
--- a/cpio_list.txt
+++ b/cpio_list.txt
@@ -1,5 +1,8 @@
-# basic directories. note that parent directories for files will be
-# auto-generated by make script, and everything will be sorted afterwards
+# myinitramfs cpio_list.txt
+# see ./gen_init_cpio for syntax
+
+# basic directories. note that all required parent directories will be
+# auto-generated by make, and everything will be sorted afterwards
dir /dev 0755 0 0
dir /mnt 0755 0 0
dir /proc 0755 0 0
@@ -7,7 +10,8 @@ dir /run 0755 0 0
dir /run/cryptsetup 0755 0 0
dir /sys 0755 0 0
-# kernel needs this to be available before /init
+# kernel does /init <>/dev/console and fails if it doesn't exist in initramfs
+# devtmpfs will provide other devices
nod /dev/console 0600 0 0 c 5 1
# symlinks
@@ -34,7 +38,7 @@ file /lib/firmware/amdgpu/polaris10_uvd.bin /lib/firmware/amdgpu/polaris10_uvd.b
file /lib/firmware/amdgpu/polaris10_vce.bin /lib/firmware/amdgpu/polaris10_vce.bin 0644 0 0
file /lib/firmware/rtl_nic/rtl8168h-2.fw /lib/firmware/rtl_nic/rtl8168h-2.fw 0644 0 0
-# dropbear support
+# remote unlock
file /etc/dropbear/dropbear_ecdsa_host_key ./dropbear_ecdsa_host_key 0600 0 0
file /etc/dropbear/dropbear_rsa_host_key ./dropbear_rsa_host_key 0600 0 0
file /etc/passwd ./passwd 0644 0 0