28 Commits

Author SHA1 Message Date
Robert C Jennings
58b510cf99 ubuntu-cpc: Remove git-man for minimized images 2018-06-08 10:14:16 -07:00
Steve Langasek
51890b5b43 add 'file' to the axe list for minimized 2017-10-18 18:11:53 -07:00
Steve Langasek
c9b427c11b Another round of package removals for minimization 2017-10-18 17:50:56 -07:00
Steve Langasek
c0bb8d760f remove vim a little harder 2017-10-13 23:52:03 -04:00
Steve Langasek
783437f533 instead, call apt clean from the chroot 2017-10-13 21:50:26 -04:00
Steve Langasek
dc875735b8 More packages to remove when minimizing 2017-10-13 17:25:50 -04:00
Steve Langasek
add1cca991 Refactor, mark all lib'*' and python'*' packages auto-installed so they can be cleaned up as dependencies instead 2017-10-13 17:00:37 -04:00
Steve Langasek
54427d4440 When building minimized cloud images, remove various packages that we
don't want installed by default.  Some are tools that aren't needed for
non-interactive use; some are libraries whose reverse-dependencies
will have already been removed; and one, open-vm-tools, should only be
included in images that are targeted to VMWare (which is not the case
for any of the current minimal images), rather than being included
directly in the cloud-image seed.
2017-10-13 14:59:37 -04:00
Balint Reczey
549232f607 Clean up dangling /boot/initrd.img symlink when needed 2017-10-11 01:57:03 +02:00
Balint Reczey
2ef2aee456 Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency 2017-09-29 15:20:14 -04:00
Steve Langasek
786370819c Make the 999-cpc-fixes.chroot subproject-aware, so we don't try to locale-gen 2017-09-26 22:39:09 -04:00
Dimitri John Ledkov
bec201601d Set a default locale of C.UTF-8 in the cloud images. 2017-08-18 09:12:22 +01:00
Steve Langasek
8aadf2c73d Set a default locale of C.UTF-8 in the cloud images. 2017-08-16 16:32:27 -07:00
Dimitri John Ledkov
4f0e9c286c Drop add_serial_console for upstart. 2017-08-11 14:51:51 -04:00
Daniel Watkins
2c27aab38c Re-enable systemd predictable interface naming in cloud images 2016-04-14 11:06:33 -07:00
Adam Conrad
ec84072284 Merge powerpc fixes from Daniel Watkins 2016-04-07 07:42:08 -06:00
Daniel Watkins
2909aba4b5 Enable building of powerpc cloud images. 2016-04-07 14:34:12 +01:00
Adam Conrad
8b77178bc5 live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot: Add fake_cloud_init
function to create a nocloud data source for cloud images that aren't
meant to be used on real clouds and use it by default on armhf+raspi2
2016-02-14 15:34:21 -07:00
Steve Langasek
83d2176957 chroot hooks are special, they don't get the environment because it gets scrubbed by rootcmd; so we have to call dpkg --print-architecture after all 2016-02-06 02:38:21 -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
Steve Langasek
8e20e4b169 Refactor some non-idiomatic architecture handling in
live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot
2016-02-02 20:33:52 -08:00
Daniel Watkins
c6440fdfe5 Enable building of s390x cloud images. 2016-01-13 10:19:09 +00:00
Daniel Watkins
216762748b Move building of all architecture-specific CPC artifacts in to
Launchpad.
2015-11-06 09:54:59 +00:00
Ben Howard
60a523d216 Cloud Images: disable new NIC naming convention (LP: #1510345). 2015-10-29 07:52:33 -06:00
Daniel Watkins
e35f15106f Don't try to install acpiphp any more (LP: #1430323). 2015-04-08 09:34:15 +01:00
Daniel Watkins
9daf532fd4 Put our fstab in place. 2015-04-08 09:34:15 +01:00
Daniel Watkins
bdc58d490c Set the root_fs_label correctly. 2015-04-08 09:34:15 +01:00
Daniel Watkins
941d2b3ae1 Add our own hook. 2015-04-08 09:34:15 +01:00