14 Commits

Author SHA1 Message Date
Balint Reczey
aa54a130c3 Depend on packages in main instead of installing them at runtime 2017-06-14 18:25:11 +02:00
Robert C Jennings
f8264a59c6 Change remaining CLOUD_IMG_STR references to IMAGE_STR 2017-04-11 21:10:56 -05:00
Mathieu Trudel-Lapierre
46bae4cebf Fix up functions refactoring tfor a proper path to the file. 2017-04-11 17:16:35 -04:00
Mathieu Trudel-Lapierre
46fd6c58f5 Refactor functions out of ubuntu-cpc and ubuntu-server hooks. 2017-04-07 17:14:56 -04:00
Daniel Watkins
15d147bcdb Add replace_grub_root_with_label function
When update-grub is run, it will detect the disks in the build system.
Currently, we sed the grub configuration in places where this happens;
replace_grub_root_with_label moves that seddery in to a single callable
location to avoid ending up with multiple versions of it.

(It's worth noting that we also do this in 999-cpc-fixes.chroot, but as our
functions file isn't available within the chroot we don't use it there.)
2016-09-02 12:54:19 +01:00
Daniel Watkins
319e3668b9 [cpc][ppc64el] apt-get update before installing grub2 2016-06-09 15:48:38 +01:00
Daniel Watkins
2c27aab38c Re-enable systemd predictable interface naming in cloud images 2016-04-14 11:06:33 -07:00
Daniel Watkins
2909aba4b5 Enable building of powerpc cloud images. 2016-04-07 14:34:12 +01:00
Steve Langasek
99cdaafd61 Refactor ubuntu-cpc hooks to allow us to handle images where the root
partition should not be partition 1.
2016-02-06 00:34:16 -08:00
Steve Langasek
7ec8dd87ac Fix architecture handling in hooks. We know we're always being invoked
from a launchpad-buildd-like setup, which passes ARCH and SUBARCH in the
environment, because auto/config and auto/build both rely on this.  So
don't scatter dpkg --print-architecture calls throughout, especially
when many of these are not cross-build-aware.
2016-02-05 23:39:56 -08:00
Ben Howard
a5ee888d1b ubuntu-cpc: add missing net.ifnames=0 for ppc64el disk images. 2016-02-04 09:07:19 -07:00
Daniel Watkins
e3d6d5dc9f Set timeout options so ppc64el cloud images don't display a grub boot
menu (matching the behaviour of other cloud images).
2016-01-28 09:34:52 +00:00
Daniel Watkins
ece1f6ccab Install grub in ppc64el cloud images so they are bootable (LP: #1538610) 2016-01-27 15:49:05 +00:00
Daniel Watkins
216762748b Move building of all architecture-specific CPC artifacts in to
Launchpad.
2015-11-06 09:54:59 +00:00