9 Commits

Author SHA1 Message Date
Cody Shepherd
15a0b598d1 Only build bootable buildd images for amd64. 2020-03-19 13:43:33 -04:00
Cody Shepherd
a668e09ac4 Properly setup the chroot before using the network in buildd hook. 2020-03-19 13:43:33 -04:00
Cody Shepherd
6fed316068 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
2020-03-19 13:43:33 -04:00
Cody Shepherd
b628d90ef8 Include empty resolv.conf only in buildd lxd tarballs. 2020-03-19 13:43:33 -04:00
Cody Shepherd
58962d67d0 Add hooks to build bootable buildd images
Only install policyrd-script-zg2 in lxd tarball
2020-03-19 13:43:33 -04:00
Cody Shepherd
686425a634 Enable building buildd artifacts with an ext4 image target 2020-03-19 13:43:33 -04:00
Colin Watson
fbba9fe46e Make sure buildd images have a /usr/sbin/policy-rc.d symlink
Installing policyrcd-script-zg2 doesn't quite do this because of the way
that live-build installs its own temporary version of policy-rc.d.  The
only remotely sensible way I can see to deal with this is to create the
symlink manually.
2019-02-18 16:03:39 +00:00
Colin Watson
2adceb461e Move buildd image building to binary hooks 2019-02-05 14:21:02 +00:00
Colin Watson
e351909818 Add a buildd subproject 2019-02-05 14:20:18 +00:00