[debian-edu-commits] r79972 - in branches/wheezy/debian-edu-config: debian share/debian-edu-config/tools
pere at alioth.debian.org
pere at alioth.debian.org
Mon May 6 14:09:09 UTC 2013
Author: pere
Date: 2013-05-06 14:09:09 +0000 (Mon, 06 May 2013)
New Revision: 79972
Modified:
branches/wheezy/debian-edu-config/debian/changelog
branches/wheezy/debian-edu-config/share/debian-edu-config/tools/run-at-firstboot
Log:
Ask apt-xapian-index to reconfigure at first boot to avoid having to
wait a week before golearn start working.
Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog 2013-05-06 13:31:36 UTC (rev 79971)
+++ branches/wheezy/debian-edu-config/debian/changelog 2013-05-06 14:09:09 UTC (rev 79972)
@@ -1,3 +1,11 @@
+debian-edu-config (1.704~svn79965) UNRELEASED; urgency=low
+
+ [ Petter Reinholdtsen ]
+ * Ask apt-xapian-index to reconfigure at first boot to avoid having to
+ wait a week before golearn start working.
+
+ -- Petter Reinholdtsen <pere at debian.org> Mon, 06 May 2013 16:08:40 +0200
+
debian-edu-config (1.704~svn79964) wheezy-test; urgency=low
[ Petter Reinholdtsen ]
Modified: branches/wheezy/debian-edu-config/share/debian-edu-config/tools/run-at-firstboot
===================================================================
--- branches/wheezy/debian-edu-config/share/debian-edu-config/tools/run-at-firstboot 2013-05-06 13:31:36 UTC (rev 79971)
+++ branches/wheezy/debian-edu-config/share/debian-edu-config/tools/run-at-firstboot 2013-05-06 14:09:09 UTC (rev 79972)
@@ -55,6 +55,16 @@
/usr/sbin/debian-edu-pxeinstall
fi
+# Make sure goplay/golearn index is generated on first boot, in case
+# the indexing did not complete during the installation. Otherwise,
+# we would have to wait for the weekly cron job to run before golearn
+# was usable.
+if [ -x /usr/sbin/update-apt-xapian-index ] ; then
+ dpkg-reconfigure apt-xapian-index
+else
+ logger -t debian-edu-config "update-apt-xapian-index not found"
+fi
+
if [ -x /usr/bin/etckeeper ] ; then
etckeeper commit "End of first boot" > /dev/null 2>&1 || true
fi
More information about the debian-edu-commits
mailing list