initramfs-tools: do not set ROOTDIR in kernel hooks.
This commit is contained in:
parent
4060d427fa
commit
c3b49676fe
3 changed files with 1 additions and 4 deletions
|
@ -11,7 +11,5 @@ if [ ! -x /usr/sbin/update-initramfs ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export ROOTDIR="."
|
|
||||||
update-initramfs -c -t -k ${VERSION}
|
update-initramfs -c -t -k ${VERSION}
|
||||||
|
|
||||||
exit $?
|
exit $?
|
||||||
|
|
|
@ -11,6 +11,5 @@ if [ ! -x /usr/sbin/update-initramfs ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export ROOTDIR="."
|
|
||||||
update-initramfs -d -t -k ${VERSION}
|
update-initramfs -d -t -k ${VERSION}
|
||||||
exit $?
|
exit $?
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'initramfs-tools'
|
# Template file for 'initramfs-tools'
|
||||||
pkgname=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
|
_distver=0.99 # This should match debian version
|
||||||
version=${_distver}.${_localver}
|
version=${_distver}.${_localver}
|
||||||
short_desc="Tools for generating an initramfs"
|
short_desc="Tools for generating an initramfs"
|
||||||
|
|
Loading…
Reference in a new issue