+ echo '====== automated-ec2-builds [/tmp/automated-ec2-builds] ======' ====== automated-ec2-builds [/tmp/automated-ec2-builds] ====== + cd /tmp/automated-ec2-builds + bzr info Standalone tree (format: 2a) Location: branch root: . Related branches: parent branch: http://bazaar.launchpad.net/~ubuntu-on-ec2/vmbuilder/automated-ec2-builds/ + bzr version-info revision-id: ben.howard@canonical.com-20131001201737-c1clv89on0ehpdxs date: 2013-10-01 14:17:37 -0600 build-date: 2013-10-03 07:04:14 +0000 revno: 544 branch-nick: automated-ec2-builds + bzr log -p -r-1 ------------------------------------------------------------ revno: 544 committer: Ben Howard branch nick: automated-ec2-builds timestamp: Tue 2013-10-01 14:17:37 -0600 message: Switch Saucy ARM images to LPAE diff: === modified file 'conf/saucy-arm-server.conf' --- conf/saucy-arm-server.conf 2013-04-29 14:33:17 +0000 +++ conf/saucy-arm-server.conf 2013-10-01 20:17:37 +0000 @@ -1,7 +1,7 @@ suite="saucy" description="Ubuntu 13.10 (Raring Ringtail)" copy_out_kernels=1 -unpublished_ramdisks="." +unpublished_ramdisks="" package_img_tgz=0 build_name="server" root_fs_size="1400" @@ -19,11 +19,12 @@ create_root_tgz=1 qcow2_create=1 qcow2_ovf=0 -qemu_img=1 +qemu_img=0 create_root_tgz=1 -qemu_img_cmd=( sudo "%d/ovf/armhf2qemu" --type qcow2 "--disk %o/%i_omap-disk1.img" "--mlo %d/loaders/saucy-armhf/MLO" - "--uboot %d/loaders/saucy-armhf/u-boot.bin" "--rootfs %r" "--label %l" ) -lb_conf=( sudo "LB_BASE=%L" "PATH=%x" "%P/lb_config" "--distribution %d" "--mode ubuntu" "--build-with-chroot true" - "--chroot-filesystem plain" "--system normal" "--package-list ubuntu-cloud-arm" "--hdd-fs-label %l" "--hdd-new-fstab" - "--root-mount-by LABEL" "--binary-images binary-hdd-raw" "--bootloader none" "--hdd-size %s" "--binary-filesystem ext4" - "--bootstrap-qemu-static %q" "--bootstrap-qemu-arch %A" "-a %A" "--cache false" "--source false") +lb_conf=( sudo "LB_BASE=%L" "PATH=%x" "%P/lb_config" "--distribution %d" + "--mode ubuntu" "--build-with-chroot true" "--chroot-filesystem plain" + "--system normal" "--package-list ubuntu-cloud-arm" "--hdd-fs-label %l" + "--hdd-new-fstab" "--root-mount-by LABEL" "--binary-images binary-hdd-raw" + "--bootloader none" "--hdd-size %s" "--binary-filesystem ext4" + "--bootstrap-qemu-static %q" "--bootstrap-qemu-arch %A" "-a %A" + "--cache false" "--source false" "--linux-flavours generic-lpae" ) === removed directory 'loaders/saucy-armhf' === removed file 'loaders/saucy-armhf/MLO' Binary files loaders/saucy-armhf/MLO 2013-04-29 16:12:23 +0000 and loaders/saucy-armhf/MLO 1970-01-01 00:00:00 +0000 differ === removed file 'loaders/saucy-armhf/u-boot.bin' Binary files loaders/saucy-armhf/u-boot.bin 2013-04-29 16:12:23 +0000 and loaders/saucy-armhf/u-boot.bin 1970-01-01 00:00:00 +0000 differ + echo '' + echo '====== ec2-publishing-scripts [/tmp/ec2-publishing-scripts] ======' ====== ec2-publishing-scripts [/tmp/ec2-publishing-scripts] ====== + cd /tmp/ec2-publishing-scripts + bzr info Standalone tree (format: unnamed) Location: branch root: . Related branches: parent branch: http://bazaar.launchpad.net/~ubuntu-on-ec2/ubuntu-on-ec2/ec2-publishing-scripts/ + bzr version-info revision-id: ben.howard@canonical.com-20130510230229-tcgs1udfchge1chw date: 2013-05-10 16:02:29 -0700 build-date: 2013-10-03 07:04:15 +0000 revno: 504 branch-nick: ec2-publishing-scripts + bzr log -p -r-1 ------------------------------------------------------------ revno: 504 committer: Ben Howard branch nick: ec2-publishing-scripts timestamp: Fri 2013-05-10 16:02:29 -0700 message: Fix failure caused by missing images being on S3 diff: === modified file 'publicize-clean' --- publicize-clean 2012-03-28 17:21:36 +0000 +++ publicize-clean 2013-05-10 23:02:29 +0000 @@ -63,7 +63,8 @@ # make sure images weren't moved to S3 rpath=${cpath//server\//} - ( curl -s -I http://cloud-images-archive.ubuntu.com/${rpath} | grep "HTTP/1.1 200 OK" > /dev/null ) && continue + ( curl -s -I http://cloud-images-archive.ubuntu.com/${rpath} | egrep "HTTP.*200 OK|HTTP.*302 Moved Temporarily" ) && + continue # otherwise images are local dstr="\|${csuite}\t${cbname}\t${clabel}\t${cserial}" + echo '' + echo '====== live-build [/tmp/live-build] ======' ====== live-build [/tmp/live-build] ====== + cd /tmp/live-build + bzr info Standalone tree (format: 1.9-rich-root) Location: branch root: . Related branches: parent branch: http://bazaar.launchpad.net/~ubuntu-on-ec2/live-build/cloud-images/ + bzr version-info revision-id: ben.howard@canonical.com-20130307184550-sfuml0svxs4x8kyy date: 2013-03-07 11:45:50 -0700 build-date: 2013-10-03 07:04:15 +0000 revno: 1860 branch-nick: live-build + bzr log -p -r-1 ------------------------------------------------------------ revno: 1860 committer: Ben Howard branch nick: live-build timestamp: Thu 2013-03-07 11:45:50 -0700 message: Use dpkg-divert for upstart and start-stop-daemon (LP: #1150737) diff: === modified file 'scripts/build/lb_chroot_dpkg' --- scripts/build/lb_chroot_dpkg 2011-11-28 17:56:01 +0000 +++ scripts/build/lb_chroot_dpkg 2013-03-07 18:45:50 +0000 @@ -41,10 +41,9 @@ Create_lockfile .lock # Save start-stop-daemon program - mv chroot/sbin/start-stop-daemon chroot/sbin/start-stop-daemon.orig + Chroot chroot dpkg-divert --quiet --rename --add /sbin/start-stop-daemon # Create start-stop-daemon program - cat > chroot/sbin/start-stop-daemon << EOF #!/bin/sh @@ -103,10 +102,16 @@ rmdir --ignore-fail-on-non-empty /var/state/samhain || true fi - # Restore start-stop-daemon program - if [ -e chroot/sbin/start-stop-daemon.orig ] - then - mv chroot/sbin/start-stop-daemon.orig chroot/sbin/start-stop-daemon + # Delete the fake start-stop-daemon + if [ -e chroot/sbin/start-stop-daemon ] + then + rm chroot/sbin/start-stop-daemon + fi + + # Restore the originial dpkg diversion + if [ -e chroot/sbin/start-stop-daemon.distrib ] + then + Chroot chroot dpkg-divert --quiet --rename --remove /sbin/start-stop-daemon fi # Remove dpkg sync configuration === modified file 'scripts/build/lb_chroot_upstart' --- scripts/build/lb_chroot_upstart 2011-11-28 17:56:01 +0000 +++ scripts/build/lb_chroot_upstart 2013-03-07 18:45:50 +0000 @@ -42,8 +42,8 @@ if [ -f chroot/sbin/initctl ] then - # Save initctl file - mv chroot/sbin/initctl chroot/sbin/initctl.orig + # Divert to allow for upgrades + Chroot chroot dpkg-divert --quiet --rename --add /sbin/initctl fi # Create initctl file @@ -68,13 +68,14 @@ # Creating lock file Create_lockfile .lock - if [ -f chroot/sbin/initctl.orig ] + if [ -e chroot/sbin/initctl ]; then + rm -f chroot/sbin/initctl + fi + + if [ -f chroot/sbin/initctl.distrib ] then # Restore initctl file - mv chroot/sbin/initctl.orig chroot/sbin/initctl - else - # Remove initctl file - rm -f chroot/sbin/initctl + Chroot chroot dpkg-divert --quiet --rename --remove /sbin/initctl fi # Removing stage file + echo '' + echo '====== vmbuilder-0.11 [/tmp/vmbuilder-0.11] ======' ====== vmbuilder-0.11 [/tmp/vmbuilder-0.11] ====== + cd /tmp/vmbuilder-0.11 + bzr info Standalone tree (format: 2a) Location: branch root: . Related branches: parent branch: http://bazaar.launchpad.net/~ubuntu-on-ec2/vmbuilder/0.11a/ + bzr version-info revision-id: ben.howard@canonical.com-20120605221454-crv9cc4612f907lh date: 2012-06-05 16:14:54 -0600 build-date: 2013-10-03 07:04:16 +0000 revno: 398 branch-nick: vmbuilder-0.11 + bzr log -p -r-1 ------------------------------------------------------------ revno: 398 committer: Ben Howard branch nick: vmbuilder timestamp: Tue 2012-06-05 16:14:54 -0600 message: Fix for allow vmbuilder to run on 12.04 LTS. diff: === modified file 'VMBuilder/plugins/ubuntu/dapper.py' --- VMBuilder/plugins/ubuntu/dapper.py 2011-05-18 20:49:25 +0000 +++ VMBuilder/plugins/ubuntu/dapper.py 2012-06-05 22:14:54 +0000 @@ -157,18 +157,15 @@ self.vm.addpkg += ['openssh-server'] def mount_dev_proc(self): - run_cmd('mount', '--bind', '/dev', '%s/dev' % self.destdir) - self.vm.add_clean_cmd('umount', '%s/dev' % self.destdir, ignore_fail=True) - - run_cmd('mount', '--bind', '/dev/pts', '%s/dev/pts' % self.destdir) + run_cmd('mkdir', '-p', '%s/dev/pts' % self.destdir) + run_cmd('mount', '-t', 'devpts', 'devpts-live', '%s/dev/pts' % self.destdir) self.vm.add_clean_cmd('umount', '%s/dev/pts' % self.destdir, ignore_fail=True) - self.run_in_target('mount', '-t', 'proc', 'proc', '/proc') + run_cmd('mount', '-t', 'proc', 'proc-live', '%s/proc' % self.destdir) self.vm.add_clean_cmd('umount', '%s/proc' % self.destdir, ignore_fail=True) def unmount_dev_proc(self): run_cmd('umount', '%s/dev/pts' % self.destdir) - run_cmd('umount', '%s/dev' % self.destdir) run_cmd('sh', '-c', 'grep -q "$1" /proc/mounts || exit 0; umount "$1"', 'umount_binfmt', "%s/proc/sys/fs/binfmt_misc" % self.destdir) run_cmd('umount', '%s/proc' % self.destdir) + echo ''