[SCM] live-build branch, debian-next, updated. debian/3.0_a42-1-19-g505c242

Daniel Baumann daniel at debian.org
Sat Feb 4 21:25:23 UTC 2012


The following commit has been merged in the debian-next branch:
commit 505c2421763444289e20838e5fe7faf1d629db96
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