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