2020-06-01 02:39:55 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Kernel post-remove hook for dracut EFI bundle.
|
|
|
|
#
|
|
|
|
# Arguments passed to this script: $1 pkgname, $2 version.
|
|
|
|
#
|
|
|
|
PKGNAME="$1"
|
|
|
|
VERSION="$2"
|
|
|
|
|
|
|
|
. "${ROOTDIR}/etc/default/dracut-uefi-hook"
|
|
|
|
|
|
|
|
: "${UEFI_BUNDLE_DIR:=boot/efi/EFI/void}"
|
|
|
|
|
2020-08-12 01:52:00 +02:00
|
|
|
rm -f "${UEFI_BUNDLE_DIR}/linux-${VERSION}.efi"
|