[SCM] live-build branch, debian, updated. debian/3.0_a25-1-57-g6167d10

Daniel Baumann daniel at debian.org
Thu Aug 4 19:53:16 UTC 2011


The following commit has been merged in the debian branch:
commit 285f8d50fd530c75d1a5fa35e557348a1ef5cc28
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Jul 18 15:44:33 2011 +0200

    Adding hook for calling update-apt-xapian-index, thanks to Colin Watson <cjwatson at ubuntu.com> (Closes: #627716).

diff --git a/share/hooks/update-apt-xapian-index.chroot b/share/hooks/update-apt-xapian-index.chroot
new file mode 100755
index 0000000..f93c042
--- /dev/null
+++ b/share/hooks/update-apt-xapian-index.chroot
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+# Update the Apt Xapian index.
+#
+# The package would do this itself, but (a) it checks policy-rc.d which says it
+# is not allowed to, and (b) it wants to build the index in the background which
+# will be racy in the context of live-build.
+
+if [ -x /usr/sbin/update-apt-xapian-index ]
+then
+	/usr/sbin/update-apt-xapian-index --force --quiet
+fi

-- 
live-build



More information about the debian-live-changes mailing list