]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
also copy in packages version into "current"
authorMathias Klette <mathias.klette@profitbricks.com>
Wed, 4 Jul 2012 09:47:32 +0000 (11:47 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Wed, 4 Jul 2012 09:47:32 +0000 (11:47 +0200)
live_build.sh

index 0b25ac963b94a4e8e905cf3b8191b0a561979e40..c2665e3145364b9e7c0b5c9fb2ef8b914b7dce48 100755 (executable)
@@ -71,6 +71,7 @@ echo "Finally copying results..."
 cp -v tftpboot/debian-live/amd64/initrd.img-3* tftpboot/debian-live/amd64/vmlinuz-3* $BUILD_TARGET/
 cp -v chroot/etc/pserver.version $BUILD_TARGET/
 cp -v binary/live/filesystem.squashfs $BUILD_TARGET/
+sort binary/live/filesystem.packages > $BUILD_TARGET/pserver.packages
 
 figlet "deploy OK"
 
@@ -78,7 +79,7 @@ figlet "deploy OK"
 # Mirror
 #
 echo
-sort binary/live/filesystem.packages
+cat $BUILD_TARGET/pserver.packages
 echo
 echo "Now rsyncing results to $RSYNC_BASE ..."
 rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete $RSYNC_SRC/ rsync://$RSYNC_DST