On Mon, Aug 02, 2021 at 12:43:27PM -0700, David Christensen wrote:
I'd rather not install dracut.
Me too. So why not use lsinitramfs -l ? Why keep reinventing the wheel?
unicorn:~$ lsinitramfs -l /boot/initrd.img-5.10.0-8-amd64 | head -12
drwxr-xr-x 2 root root 0 Apr 25 08:00 kernel
drwxr-xr-x 2 root root 0 Apr 25 08:00 kernel/x86
drwxr-xr-x 2 root root 0 Apr 25 08:00 kernel/x86/microcode
drwxr-xr-x 2 root root 0 Apr 25 08:00 kernel/x86/microcode/.enuineIntel.align.0123456789abc
-rw-r--r-- 1 root root 4609024 Apr 25 08:00 kernel/x86/microcode/GenuineIntel.bin
drwxr-xr-x 7 root root 0 Aug 2 14:37 .
lrwxrwxrwx 1 root root 7 Aug 2 14:37 bin -> usr/bin
drwxr-xr-x 3 root root 0 Aug 2 14:37 conf
-rw-r--r-- 1 root root 16 Aug 2 14:37 conf/arch.conf
drwxr-xr-x 2 root root 0 Aug 2 14:37 conf/conf.d
-rw-r--r-- 1 root root 49 Jan 11 2018 conf/conf.d/resume
-rw-r--r-- 1 root root 1365 Sep 13 2020 conf/initramfs.conf
No dracut needed.