From ee3c366fa4cf764dcec1e818219eb3af7d58a8d6 Mon Sep 17 00:00:00 2001 From: Antynea Date: Fri, 26 Nov 2021 02:49:37 +0100 Subject: [PATCH] Add missing initrd (#184) --- 41_snapshots-btrfs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/41_snapshots-btrfs b/41_snapshots-btrfs index e5d987b..a274a14 100644 --- a/41_snapshots-btrfs +++ b/41_snapshots-btrfs @@ -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