From 2a25bc53b0054b7834e77179418de21d674f0c35 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 3 Aug 2009 01:39:57 +0200 Subject: [PATCH] 40-deborphan: Add exception for libewf1 and libstdc++2.10-glibc2.2 --- debian/changelog | 4 +++- etc/grml/fai/config/scripts/GRMLBASE/40-deborphan | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2d7710c..c76c3f8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,8 +19,10 @@ grml-live (0.9.20) UNRELEASED; urgency=low - Drop workbone (see #429178). * Add check for valid Debian suite name to avoid breakage of sources.list if someone calls grml-live with a typo in the -s option. + * Add exception for libewf1 and libstdc++2.10-glibc2.2 in + /etc/grml/fai/config/scripts/GRMLBASE/40-deborphan. - -- Michael Prokop Mon, 03 Aug 2009 01:28:48 +0200 + -- Michael Prokop Mon, 03 Aug 2009 01:39:30 +0200 grml-live (0.9.19) unstable; urgency=low diff --git a/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan b/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan index 0d5783a..e0f7594 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan +++ b/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan @@ -1,6 +1,6 @@ #!/bin/sh # Filename: /etc/grml/fai/config/scripts/GRMLBASE/40-deborphan -# Purpose: set up /etc/network/interfaces of live-system +# Purpose: configure packages for deborphan (usually exception rules) # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. @@ -17,5 +17,13 @@ if [ -r $target/usr/bin/bsdtar -a -x $target/usr/bin/deborphan ] ; then $ROOTCMD deborphan --add-keep bsdtar || /bin/true fi +if [ -r $target/usr/bin/ewfinfo -a -x $target/usr/bin/deborphan ] ; then + $ROOTCMD deborphan --add-keep libewf1 || /bin/true +fi + +if [ -r $target//usr/lib/libstdc++-libc6.2-2.so.3 -a -x $target/usr/bin/deborphan ] ; then + $ROOTCMD deborphan --add-keep libstdc++2.10-glibc2.2 || /bin/true +fi + ## END OF FILE ################################################################# # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3 -- 2.1.4