11 Commits

Author SHA1 Message Date
Balint Reczey
7cae48fd12 Source ubuntu-cpc functions from the right place 2017-03-31 15:16:36 +00: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