9 Commits

Author SHA1 Message Date
Cody Shepherd
4acd2e3085
Install lxd-agent-loader in bootable buildd image to improve user
experience with lxd vms
2021-02-12 13:24:54 -08:00
Dimitri John Ledkov
3a20f2669c
Merge remote-tracking branch 'davidkrauser/buildd-image-perform-upgrade' into ubuntu/master 2020-11-19 17:39:26 +00:00
David Krauser
065c823144 Produce buildd kernel and initrd as separate artifacts
Multipass on Mac OS X requires standalone kernel and initrd artifacts
to boot.

Also call update-initramfs on all installed kernels. We only have one
kernel installed, so we don't need to specify an explicit version.
2020-10-20 15:00:23 -04:00
Cody Shepherd
5136ee4104
Perform a dist-upgrade prior to installing packages for bootable-buildd
image in order to pull in package updates
2020-07-09 13:00:04 -07:00
David Krauser
1aef616afd Include -security and -updates packages in bootable buildd images
The base image is built with packages from the release pocket; however,
we want the latest from updates and security. Those pockets are already
enabled, we just need to perform an upgrade to pull in the latest
packages.
2020-03-26 15:44:05 -04:00
David Krauser
b71d1f990e Only build bootable buildd images for amd64 2019-12-12 13:54:32 -05:00
David Krauser
612c731b26 Fix broken DNS in buildd image builds.
Instead of injecting an empty resolv.conf with an includes.chroot, we'll
inject it in late with a hook. The empty resolv.conf breaks DNS early in
the build, and causes some binary hooks to fail.
2019-12-11 15:06:11 -05:00
David Krauser
3bf032853b Include empty resolv.conf only in buildd lxd tarballs. 2019-11-08 11:59:40 -05:00
David Krauser
52a3471922 Add hooks to build bootable buildd images.
Only install policyrcd-script-zg2 in lxd tarball.
2019-11-07 13:55:37 -05:00