[Debian-live-changes] r2544 - in dists/trunk/live-helper: docs helpers

daniel at alioth.debian.org daniel at alioth.debian.org
Fri Jul 20 05:26:02 UTC 2007


Author: daniel
Date: 2007-07-20 05:26:02 +0000 (Fri, 20 Jul 2007)
New Revision: 2544

Modified:
   dists/trunk/live-helper/docs/ChangeLog
   dists/trunk/live-helper/helpers/lh_binary_encryption
   dists/trunk/live-helper/helpers/lh_binary_grub
   dists/trunk/live-helper/helpers/lh_binary_iso
   dists/trunk/live-helper/helpers/lh_binary_memtest
   dists/trunk/live-helper/helpers/lh_binary_rootfs
   dists/trunk/live-helper/helpers/lh_binary_syslinux
   dists/trunk/live-helper/helpers/lh_binary_usb-hdd
   dists/trunk/live-helper/helpers/lh_binary_yaboot
Log:


Modified: dists/trunk/live-helper/docs/ChangeLog
===================================================================
--- dists/trunk/live-helper/docs/ChangeLog	2007-07-20 05:18:55 UTC (rev 2543)
+++ dists/trunk/live-helper/docs/ChangeLog	2007-07-20 05:26:02 UTC (rev 2544)
@@ -8,6 +8,7 @@
 	    distributions.
 	* functions/defaults.sh, package.sh, helpers/lh_config, lh_binary_*:
 	  - Added support for non-chrooted build.
+	  - Added caching of deb packages on this stage too.
 	* helpers/lh_binary_rootfs:
 	  - Updated squashfs-tools package check.
 

Modified: dists/trunk/live-helper/helpers/lh_binary_encryption
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_encryption	2007-07-20 05:18:55 UTC (rev 2543)
+++ dists/trunk/live-helper/helpers/lh_binary_encryption	2007-07-20 05:26:02 UTC (rev 2544)
@@ -80,6 +80,9 @@
 # Checking depends
 Check_package chroot/usr/bin/aespipe aespipe
 
+# Restoring cache
+Restore_cache cache/packages_binary
+
 # Installing depends
 Install_package
 
@@ -132,6 +135,9 @@
 		;;
 esac
 
+# Saving cache
+Save_cache cache/packages_binary
+
 # Removing depends
 Remove_package
 

Modified: dists/trunk/live-helper/helpers/lh_binary_grub
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_grub	2007-07-20 05:18:55 UTC (rev 2543)
+++ dists/trunk/live-helper/helpers/lh_binary_grub	2007-07-20 05:26:02 UTC (rev 2544)
@@ -60,6 +60,9 @@
 # Checking depends
 Check_package chroot/usr/sbin/grub grub
 
+# Restoring cache
+Restore_cache cache/packages_binary
+
 # Installing depends
 Install_package
 
@@ -290,6 +293,9 @@
 
 sed -i -e 's/\ $//g' binary/boot/grub/menu.lst
 
+# Saving cache
+Save_cache cache/packages_binary
+
 # Removing depends
 Remove_package
 

Modified: dists/trunk/live-helper/helpers/lh_binary_iso
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_iso	2007-07-20 05:18:55 UTC (rev 2543)
+++ dists/trunk/live-helper/helpers/lh_binary_iso	2007-07-20 05:26:02 UTC (rev 2544)
@@ -54,6 +54,9 @@
 # Checking depends
 Check_package chroot/usr/bin/"${LH_GENISOIMAGE}" ${LH_GENISOIMAGE}
 
+# Restoring cache
+Restore_cache cache/packages_binary
+
 # Installing depends
 Install_package
 
@@ -151,6 +154,9 @@
 		;;
 esac
 
+# Saving cache
+Save_cache cache/packages_binary
+
 # Removing depends
 Remove_package
 

Modified: dists/trunk/live-helper/helpers/lh_binary_memtest
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_memtest	2007-07-20 05:18:55 UTC (rev 2543)
+++ dists/trunk/live-helper/helpers/lh_binary_memtest	2007-07-20 05:26:02 UTC (rev 2544)
@@ -79,6 +79,9 @@
 		;;
 esac
 
+# Restoring cache
+Restore_cache cache/packages_binary
+
 # Installing depends
 Install_package
 
@@ -135,6 +138,9 @@
 		;;
 esac
 
+# Saving cache
+Save_cache cache/packages_binary
+
 # Removing depends
 Remove_package
 

Modified: dists/trunk/live-helper/helpers/lh_binary_rootfs
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_rootfs	2007-07-20 05:18:55 UTC (rev 2543)
+++ dists/trunk/live-helper/helpers/lh_binary_rootfs	2007-07-20 05:26:02 UTC (rev 2544)
@@ -97,6 +97,9 @@
 		# Checking depends
 		Check_package chroot/usr/bin/genext2fs genext2fs
 
+		# Restoring cache
+		Restore_cache cache/packages_binary
+
 		# Installing depends
 		Install_package
 
@@ -123,6 +126,9 @@
 				;;
 		esac
 
+		# Saving cache
+		Save_cache cache/packages_binary
+
 		# Removing depends
 		Remove_package
 		;;
@@ -148,6 +154,9 @@
 		# Checking depends
 		Check_package chroot/usr/share/doc/squashfs-tools squashfs-tools
 
+		# Restoring cache
+		Restore_cache cache/packages_binary
+
 		# Installing depends
 		Install_package
 
@@ -198,6 +207,9 @@
 			${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` binary/${INITFS}
 		fi
 
+		# Saving cache
+		Save_cache cache/packages_binary
+
 		# Removing depends
 		Remove_package
 		;;

Modified: dists/trunk/live-helper/helpers/lh_binary_syslinux
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_syslinux	2007-07-20 05:18:55 UTC (rev 2543)
+++ dists/trunk/live-helper/helpers/lh_binary_syslinux	2007-07-20 05:26:02 UTC (rev 2544)
@@ -60,6 +60,9 @@
 # Checking depends
 Check_package chroot/usr/bin/syslinux syslinux
 
+# Restoring cache
+Restore_cache cache/packages_binary
+
 # Installing depends
 Install_package
 
@@ -525,6 +528,9 @@
 		;;
 esac
 
+# Saving cache
+Save_cache cache/packages_binary
+
 # Removing depends
 Remove_package
 

Modified: dists/trunk/live-helper/helpers/lh_binary_usb-hdd
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_usb-hdd	2007-07-20 05:18:55 UTC (rev 2543)
+++ dists/trunk/live-helper/helpers/lh_binary_usb-hdd	2007-07-20 05:26:02 UTC (rev 2544)
@@ -67,6 +67,9 @@
 		;;
 esac
 
+# Restoring cache
+Restore_cache cache/packages_binary
+
 # Installing depends
 Install_package
 
@@ -161,6 +164,9 @@
 
 mv chroot/binary.img ./
 
+# Saving cache
+Save_cache cache/packages_binary
+
 # Removing depends
 Remove_package
 

Modified: dists/trunk/live-helper/helpers/lh_binary_yaboot
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_yaboot	2007-07-20 05:18:55 UTC (rev 2543)
+++ dists/trunk/live-helper/helpers/lh_binary_yaboot	2007-07-20 05:26:02 UTC (rev 2544)
@@ -60,6 +60,9 @@
 # Checking depends
 Check_package chroot/usr/lib/yaboot/yaboot yaboot
 
+# Restoring cache
+Restore_cache cache/packages_binary
+
 # Installing depends
 Install_package
 
@@ -267,6 +270,9 @@
 		;;
 esac
 
+# Saving cache
+Save_cache cache/packages_binary
+
 # Removing depends
 Remove_package
 




More information about the Debian-live-changes mailing list