xbps-triggers: set ROOTDIR for initramfs-tools trigger/hook.
This commit is contained in:
parent
dc37d2e55f
commit
4060d427fa
|
@ -40,7 +40,7 @@ run)
|
|||
# Update initramfs for all kernels
|
||||
initramfs_args="$initramfs_args -u -t -k all"
|
||||
|
||||
${update_initramfs} ${initramfs_args}
|
||||
env ROOTDIR="." ${update_initramfs} ${initramfs_args}
|
||||
exit $?
|
||||
|
||||
;;
|
||||
|
|
|
@ -41,9 +41,9 @@ run)
|
|||
# A package may export "kernel_hooks_version" as a hint
|
||||
# to pass this version to the hooks.
|
||||
if [ -n "${kernel_hooks_version}" ]; then
|
||||
${_file_} ${PKGNAME} ${kernel_hooks_version}
|
||||
env ROOTDIR="." ${_file_} ${PKGNAME} ${kernel_hooks_version}
|
||||
else
|
||||
${_file_} ${PKGNAME} ${VERSION}
|
||||
env ROOTDIR="." ${_file_} ${PKGNAME} ${VERSION}
|
||||
fi
|
||||
done
|
||||
;;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.28
|
||||
version=0.29
|
||||
short_desc="XBPS triggers"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://code.google.com/p/xbps"
|
||||
|
|
Loading…
Reference in New Issue