diff --git a/srcpkgs/xbps-triggers/files/initramfs-tools b/srcpkgs/xbps-triggers/files/initramfs-tools index a8b3bce98d..816b52da91 100755 --- a/srcpkgs/xbps-triggers/files/initramfs-tools +++ b/srcpkgs/xbps-triggers/files/initramfs-tools @@ -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 $? ;; diff --git a/srcpkgs/xbps-triggers/files/kernel-hooks b/srcpkgs/xbps-triggers/files/kernel-hooks index 91b833d07c..84d07a1fea 100755 --- a/srcpkgs/xbps-triggers/files/kernel-hooks +++ b/srcpkgs/xbps-triggers/files/kernel-hooks @@ -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 ;; diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 60fca0906d..1d08d908b7 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -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 " homepage="http://code.google.com/p/xbps"