dda8f80545
Closes: #24236 [via git-merge-pr]
14 lines
287 B
Bash
14 lines
287 B
Bash
#!/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}"
|
|
|
|
rm -f "${UEFI_BUNDLE_DIR}/linux-${VERSION}.efi"
|