[SCM] live-build branch, debian, updated. debian/3.0_a42-1-25-g6c98972

Daniel Baumann daniel at debian.org
Mon Feb 6 22:26:22 UTC 2012


The following commit has been merged in the debian branch:
commit 5605701973d591b977b070d0dd6a130eec93013e
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat Feb 4 22:24:52 2012 +0100

    Adding opt-in hook to remove all sources.list files, as it's desirable in some setups.

diff --git a/share/hooks/009-remove-apt-sources-lists.chroot b/share/hooks/009-remove-apt-sources-lists.chroot
new file mode 100755
index 0000000..074b551
--- /dev/null
+++ b/share/hooks/009-remove-apt-sources-lists.chroot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+# Remove apt sources.list files
+
+rm -f /etc/apt/sources.list
+rm -f /etc/apt/sources.list~
+rm -f /etc/apt/sources.list.d/*.list

-- 
live-build



More information about the debian-live-changes mailing list