[debian-edu-commits] r80545 - in branches/wheezy/debian-edu-config: debian share/ltsp/plugins/ltsp-build-client/Debian-custom
pere at alioth.debian.org
pere at alioth.debian.org
Fri Jun 14 02:27:37 UTC 2013
Author: pere
Date: 2013-06-12 12:00:01 +0000 (Wed, 12 Jun 2013)
New Revision: 80545
Modified:
branches/wheezy/debian-edu-config/debian/changelog
branches/wheezy/debian-edu-config/share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs
Log:
Replicate how d-i is operating, and add code in LTSP setup script
032-edu-pkgs to run dpkg with the force-unsafe-io flag when creating
the LTSP chroot, to try to speed up the process.
Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog 2013-06-12 11:06:39 UTC (rev 80544)
+++ branches/wheezy/debian-edu-config/debian/changelog 2013-06-12 12:00:01 UTC (rev 80545)
@@ -1,3 +1,12 @@
+debian-edu-config (1.707~svn80498) UNRELEASED; urgency=low
+
+ [ Petter Reinholdtsen ]
+ * Replicate how d-i is operating, and add code in LTSP setup script
+ 032-edu-pkgs to run dpkg with the force-unsafe-io flag when creating
+ the LTSP chroot, to try to speed up the process.
+
+ -- Petter Reinholdtsen <pere at debian.org> Wed, 12 Jun 2013 13:58:40 +0200
+
debian-edu-config (1.707~svn80497) wheezy-test; urgency=low
* Add postinst code to purge the leftover passwords from the debconf
Modified: branches/wheezy/debian-edu-config/share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs
===================================================================
--- branches/wheezy/debian-edu-config/share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs 2013-06-12 11:06:39 UTC (rev 80544)
+++ branches/wheezy/debian-edu-config/share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs 2013-06-12 12:00:01 UTC (rev 80545)
@@ -414,8 +414,16 @@
# download packages twice.
chroot_mount /var/cache/apt/archives /var/cache/apt/archives --bind
fi
+
+ # Try to speed up installation by dropping some fsync() calls
+ # in dpkg. This is the same d-i is doing on first time
+ # installations.
+ cat > $ROOT/etc/dpkg/dpkg.cfg.d/force-unsafe-io <<EOF
+force-unsafe-io
+EOF
;;
finalization)
+ rm $ROOT/etc/dpkg/dpkg.cfg.d/force-unsafe-io
# Run this in finalizatoin and not in after-install to make
# sure boot system modifications are done after the ones done
# in LTSP by default.
More information about the debian-edu-commits
mailing list