Skip to content

Commit

Permalink
Add missing initrd (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antynea authored Nov 26, 2021
1 parent 4f1aa38 commit ee3c366
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions 41_snapshots-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,8 @@ detect_initramfs()
list_initramfs=()
# Original initramfs (auto-detect)
for oinitramfs in "${boot_dir}"/initrd.img-* \
"${boot_dir}"/initrd-*.img \
"${boot_dir}"/initrd-*.gz \
"${boot_dir}"/initramfs-*.img \
"${boot_dir}"/initramfs-*.gz ; do
"${boot_dir}"/initramfs-* \
"${boot_dir}"/initrd-* ; do
[[ ! -f "${oinitramfs}" ]] && continue;
list_initramfs+=("$oinitramfs")
done
Expand Down

0 comments on commit ee3c366

Please sign in to comment.