Add /etc/grml/fai/config/scripts/GRMLBASE/40-deborphan
authorMichael Prokop <devnull@localhost>
Sun, 9 Dec 2007 13:04:19 +0000 (14:04 +0100)
committerMichael Prokop <devnull@localhost>
Sun, 9 Dec 2007 13:04:19 +0000 (14:04 +0100)
debian/changelog
etc/grml/fai/config/scripts/GRMLBASE/40-deborphan [new file with mode: 0755]

index 8def976..ef3fcec 100644 (file)
@@ -5,6 +5,8 @@ grml-live (0.0.11) unstable; urgency=low
   * Make sure /etc/X11/X is not a symlink to /bin/true. Check and fix
     via /etc/grml/fai/config/scripts/GRMLBASE/32-xorg.
   * Adjust grml-buildd for new logdir structure.
+  * Add new script /etc/grml/fai/config/scripts/GRMLBASE/40-deborphan
+    which adds shadowfs and bsdtar to the 'never report'-list of deborphan.
   * Add new packages to GRML_FULL:
     - atl2-modules-2.6.23-grml
     - firmware-ralink (replaces firmware-rt61 and firmware-rt73)
diff --git a/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan b/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan
new file mode 100755 (executable)
index 0000000..778a3a2
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Filename:      /etc/grml/fai/config/scripts/GRMLBASE/40-deborphan
+# Purpose:       set up /etc/network/interfaces of live-system
+# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
+# Bug-Reports:   see http://grml.org/bugs/
+# License:       This file is licensed under the GPL v2 or any later version.
+# Latest change: Sun Dec 09 14:02:46 CET 2007 [mika]
+################################################################################
+
+set -u
+set -e
+
+if [ -r $target/lib/shadowfs/liblogfs.so -a -x $target/usr/bin/deborphan ] ; then
+   $ROOTCMD deborphan --add-keep shadowfs
+fi
+
+if [ -r $target/usr/bin/bsdtar -a -x $target/usr/bin/deborphan ] ; then
+   $ROOTCMD deborphan --add-keep bsdtar
+fi
+
+## END OF FILE #################################################################
+# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3