initramfs-tools: do not set ROOTDIR in kernel hooks.

This commit is contained in:
Juan RP 2011-11-10 14:15:27 +01:00
parent 4060d427fa
commit c3b49676fe
3 changed files with 1 additions and 4 deletions

View file

@ -11,7 +11,5 @@ if [ ! -x /usr/sbin/update-initramfs ]; then
exit 0
fi
export ROOTDIR="."
update-initramfs -c -t -k ${VERSION}
exit $?

View file

@ -11,6 +11,5 @@ if [ ! -x /usr/sbin/update-initramfs ]; then
exit 0
fi
export ROOTDIR="."
update-initramfs -d -t -k ${VERSION}
exit $?

View file

@ -1,6 +1,6 @@
# Template file for 'initramfs-tools'
pkgname=initramfs-tools
_localver=108 # This is the XBPS version
_localver=109 # This is the XBPS version
_distver=0.99 # This should match debian version
version=${_distver}.${_localver}
short_desc="Tools for generating an initramfs"