]> git.ipfire.org Git - thirdparty/dracut.git/commit
Make lsinitrd usable for images made with Debian mkinitramfs
authorTopi Miettinen <toiwoton@gmail.com>
Sun, 1 Mar 2020 10:22:30 +0000 (12:22 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 3 Mar 2020 11:48:58 +0000 (12:48 +0100)
commitce62465cafcc780fba13b0ae60d22ada2f77f436
treea153b737b5963ca83e6069770420b61b288b8433
parentb3d40a4390feeffad3c50a8a12a87de197291db8
Make lsinitrd usable for images made with Debian mkinitramfs

Debian mkinitramfs does not create the file 'early_cpio', so detection
of additional cpio images fails and only the first cpio is listed.

I checked some Arch and Gentoo initramfs files and these didn't have
'early_cpio' either, but they also have only one cpio part.

Fix this so that if check for 'early_cpio' fails, check if firmware
files ('/kernel/*/microcode/*.bin') exist.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
lsinitrd.sh