initramfs-tools: fixes to create an initramfs with fakeroot.

This commit is contained in:
Juan RP 2011-10-17 16:49:21 +02:00
parent 8989dda729
commit 8ce4ce3080
4 changed files with 6 additions and 6 deletions

View file

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

View file

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

View file

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
INITRAMFS_TOOLS_VERSION=@VERSION@ INITRAMFS_TOOLS_VERSION=@VERSION@
STATEDIR=/var/lib/initramfs-tools STATEDIR=${ROOTDIR}/var/lib/initramfs-tools
BOOTDIR=/boot BOOTDIR=${ROOTDIR}/boot
CONF=/etc/initramfs-tools/update-initramfs.conf CONF=${ROOTDIR}/etc/initramfs-tools/update-initramfs.conf
mode="" mode=""
version="" version=""

View file

@ -1,6 +1,6 @@
# Template file for 'initramfs-tools' # Template file for 'initramfs-tools'
pkgname=initramfs-tools pkgname=initramfs-tools
_localver=105 # This is the XBPS version _localver=106 # 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}
build_style=custom-install build_style=custom-install