load early initrd images for fallback image

This commit is contained in:
Christian Hesse 2021-04-20 14:05:48 +00:00
parent ce056c63e2
commit 5347cbc7b8
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ index e8b01c0d0..e703dcdb0 100644
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
+ +
+ if test -e "${dirname}/initramfs-${version}-fallback.img" ; then + if test -e "${dirname}/initramfs-${version}-fallback.img" ; then
+ initrd="initramfs-${version}-fallback.img" + initrd="${initrd_early} initramfs-${version}-fallback.img"
+ +
+ if test -n "${initrd}" ; then + if test -n "${initrd}" ; then
+ gettext_printf "Found fallback initrd image(s) in %s:%s\n" "${dirname}" "${initrd_extra} ${initrd}" >&2 + gettext_printf "Found fallback initrd image(s) in %s:%s\n" "${dirname}" "${initrd_extra} ${initrd}" >&2

View File

@ -73,7 +73,7 @@ sha256sums=('SKIP'
'b7668a5d498972dc4981250c49f83601babce797be19b4fdd0f2f1c6cfbd0fc5' 'b7668a5d498972dc4981250c49f83601babce797be19b4fdd0f2f1c6cfbd0fc5'
'SKIP' 'SKIP'
'5dee6628c48eef79812bb9e86ee772068d85e7fcebbd2b2b8d1e19d24eda9dab' '5dee6628c48eef79812bb9e86ee772068d85e7fcebbd2b2b8d1e19d24eda9dab'
'580a81b00088773d554832b0d74c85bf16fec37728802973c45993bcb97cd7d5' 'afe26438026785b582cb26b401ea78d6971eaf37bea361a5deccdf22e369dd4c'
'791fadf182edf8d5bee4b45c008b08adce9689a9624971136527891a8f67d206') '791fadf182edf8d5bee4b45c008b08adce9689a9624971136527891a8f67d206')
_backports=( _backports=(