diff --git a/debian/changelog b/debian/changelog index 42cff42..479b786 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +emdebian-rootfs (2.0.2) unstable; urgency=low + + * emrootfslib : Add provide_empty_dpkg_divert function for Crush. + + -- Neil Williams Thu, 04 Jun 2009 19:55:12 +0100 + emdebian-rootfs (2.0.1) unstable; urgency=low * Expand long description for multistrap (Closes: #527364) diff --git a/emrootfslib b/emrootfslib index b64c1c6..2d1694d 100644 --- a/emrootfslib +++ b/emrootfslib @@ -343,6 +343,17 @@ nobody:*:0:0:99999:7:::" > $BUILDPLACE/etc/shadow 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 () { if [ ! -f $BUILDPLACE/usr/sbin/install-info ]; then echo \