From fbff5275aea712b48e82bf1ea9db09cebba5d126 Mon Sep 17 00:00:00 2001 From: codehelp Date: Thu, 4 Jun 2009 19:12:08 +0000 Subject: [PATCH] emrootfslib : Add provide_empty_dpkg_divert function for Crush. git-svn-id: http://emdebian.org/svn/current@6428 563faec7-e20c-0410-992a-a66f704d0ccd --- debian/changelog | 6 ++++++ emrootfslib | 11 +++++++++++ 2 files changed, 17 insertions(+) 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 \