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
fi
/usr/sbin/update-initramfs -c -t -k ${VERSION}
env ROOTDIR="." update-initramfs -c -t -k ${VERSION}
exit $?

View File

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

View File

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

View File

@ -1,6 +1,6 @@
# Template file for '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
version=${_distver}.${_localver}
build_style=custom-install