initramfs-tools: fixes to create an initramfs with fakeroot.
This commit is contained in:
parent
8989dda729
commit
8ce4ce3080
|
@ -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 $?
|
||||
|
|
|
@ -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 $?
|
||||
|
|
|
@ -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=""
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user