mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-27 06:05:13 +02:00
13 lines
256 B
Bash
13 lines
256 B
Bash
#!/bin/sh
|
|
#
|
|
# Kernel post-install hook for tinyramfs.
|
|
#
|
|
# Arguments passed to this script: $1 pkgname, $2 version.
|
|
#
|
|
PKGNAME="$1"
|
|
VERSION="$2"
|
|
|
|
[ -x usr/bin/tinyramfs ] || exit 0
|
|
|
|
umask 0077
|
|
usr/bin/tinyramfs -f -k ${VERSION} boot/initramfs-${VERSION}.img
|