summaryrefslogtreecommitdiff
path: root/cpio_list.txt
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-04-21 23:10:07 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-04-21 23:35:14 -0400
commit7739d1863cb6ea5de819e1ae1c1ee10e8109d32b (patch)
treea9eeabbf583cc19ee1539bed51e08075d226132e /cpio_list.txt
parent542cfed39c3b3b93e5bab3f7c45d741b71e7c3d7 (diff)
downloadminitramfs-7739d1863cb6ea5de819e1ae1c1ee10e8109d32b.tar.xz
minitramfs-7739d1863cb6ea5de819e1ae1c1ee10e8109d32b.zip
POSIXify, add docs, other changes
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