[SCM] live-build branch, debian-next, updated. debian/3.0_a25-1-6-ga200588
Daniel Baumann
daniel at debian.org
Mon Jul 18 13:43:34 UTC 2011
The following commit has been merged in the debian-next branch:
commit a20058838dc51d34e9411e47dd0cf44d487a2c5c
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.chroot b/share/hooks/update-apt-xapian.chroot
new file mode 100755
index 0000000..f93c042
--- /dev/null
+++ b/share/hooks/update-apt-xapian.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