lp:~ubuntu-on-ec2/vmbuilder/automated-ec2-builds

Created by Scott Moser on 2010-03-29 and last modified on 2015-08-28
Get this branch:
bzr branch lp:~ubuntu-on-ec2/vmbuilder/automated-ec2-builds
Members of Ubuntu on EC2 can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu on EC2
Project:
VMBuilder
Status:
Development

Recent revisions

701. By Dan Watkins on 2015-08-28

Try using the host's dpkg-query to copy-out-kernels.

700. By Robert C Jennings on 2015-08-18

Workaround: Remove grub menu.lst for ucf registry (LP: #1485685)

Users are still requiring manual intervention for upgrades that
affect grub due to a failure to purge the ucf registry entry.

At the root of this issue is ucf. The ucfr command will store a
path that contains symlinks during insertion but will only match the
symlink-resolved path when attempting removal. Cloud image builds modify
grub's menu.lst but have attempted to purge the ufc registry entry. This
bug in ucf causes the registry removal to fail.

This was partially fixed upstream in 3.0028[1] so that future additions
to the registry would be symlink-resolved as well; however it does
not address upgrade such that the user still can not remove an entry
containing a symlink.

For our current cloud image users, we can ensure the entry is properly
removed during image creation for new images, ideally with a fixed ucf
package that benefits everyone, but for images in the field the user
would need to remove the registry entry[2] and this is a manual edit of
the registry file without further patches to upstream ucf.

For this patch we remove the entry using sed rather than ucfr is
updated from upstream.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724457
[2] sed -i -r "/grub[[:space:]]+\/var\/run\/grub\/menu\.lst/d" \
    /var/lib/ucf/registry

699. By Robert C Jennings on 2015-08-11

lxd_metadata: Override getty startup [yaml fix] (LP: #1483398)

698. By Robert C Jennings on 2015-08-10

LXD: Override getty startup (LP: #1483398)

697. By Robert C Jennings on 2015-07-21

lxd_metadata: Add vendor data to template (lp:1446297)

696. By Robert C Jennings on 2015-07-16

lxd_metadata: Fixups for LXD metadata

 * creation_date EPOCH must be an int, not a string
 * templates must be in a templates/ directory
 * the tar file should not have the ./ path prefix for files

695. By Robert C Jennings on 2015-07-14

Fix archtecture translation in lxd_metadata

694. By Robert C Jennings on 2015-07-14

Remove "daily" in LXD metadata

693. By Robert C Jennings on 2015-07-14

lxd metadata env variables

692. By Robert C Jennings on 2015-07-14

Make lxd metadata script executable

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.