void-packages/srcpkgs/dracut/files/kernel-hook-postrm
Andrew J. Hesford dda8f80545 dracut: in kernel hooks, use binary from target root
Closes: #24236 [via git-merge-pr]
2020-08-14 14:39:04 -04:00

10 lines
176 B
Bash

#!/bin/sh
#
# Kernel post-remove hook for dracut.
#
# Arguments passed to this script: $1 pkgname, $2 version.
#
PKGNAME="$1"
VERSION="$2"
rm -f boot/initramfs-${VERSION}.img