8 Commits

Author SHA1 Message Date
Brian Murray
f79fc7973c Add replace_grub_root_with_label function thereby consolidating multiple
uses of the same calls to sed. Thanks to Dan Watkins.
2017-02-17 14:30:31 -08:00
Robert C Jennings
67dfdf94a7 ubuntu-cpc: Remove redundant copy of grub files
This redundant and file names recently changed.  These files will be
put in place by grub-install a few lines below these.
2016-10-27 17:05:20 -05: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
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
Michael Vogt
c97c00d749 manually merge upload of 2.359 2015-12-07 11:20:57 +01:00
Ben Howard
a40cfd6180 ubuntu-cpc: Move apt-get to the top of uefi disk creation 2015-11-12 14:45:07 -07:00
Daniel Watkins
216762748b Move building of all architecture-specific CPC artifacts in to
Launchpad.
2015-11-06 09:54:59 +00:00