emrootfslib : Add provide_empty_dpkg_divert function for Crush.

git-svn-id: http://emdebian.org/svn/current@6428 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2009-06-04 19:12:08 +00:00
parent 3cc4691ec8
commit fbff5275ae
2 changed files with 17 additions and 0 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
emdebian-rootfs (2.0.2) unstable; urgency=low
* emrootfslib : Add provide_empty_dpkg_divert function for Crush.
-- Neil Williams <codehelp@debian.org> Thu, 04 Jun 2009 19:55:12 +0100
emdebian-rootfs (2.0.1) unstable; urgency=low emdebian-rootfs (2.0.1) unstable; urgency=low
* Expand long description for multistrap (Closes: #527364) * Expand long description for multistrap (Closes: #527364)

View file

@ -343,6 +343,17 @@ nobody:*:0:0:99999:7:::" > $BUILDPLACE/etc/shadow
fi fi
} }
provide_empty_dpkg_divert ()
{
if [ ! -f $BUILDPLACE/usr/bin/dpkg-divert ]; then
echo \
'#!/bin/sh
' > $BUILDPLACE/usr/bin/dpkg-divert
chmod 755 $BUILDPLACE/usr/bin/dpkg-divert
fi
}
provide_empty_install_info () { provide_empty_install_info () {
if [ ! -f $BUILDPLACE/usr/sbin/install-info ]; then if [ ! -f $BUILDPLACE/usr/sbin/install-info ]; then
echo \ echo \