mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-25 05:05:13 +02:00
14 lines
253 B
Bash
14 lines
253 B
Bash
#!/bin/sh
|
|
#
|
|
# Kernel post-install hook for dracut.
|
|
#
|
|
# Arguments passed to this script: $1 pkgname, $2 version.
|
|
#
|
|
PKGNAME="$1"
|
|
VERSION="$2"
|
|
|
|
if [ ! -x usr/bin/dracut ]; then
|
|
exit 0
|
|
fi
|
|
|
|
usr/bin/dracut -q --force boot/initramfs-${VERSION}.img ${VERSION}
|