404 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
c85cae9bfe respond to some review feedback 2018-02-23 09:18:33 +13:00
Michael Hudson-Doyle
d46e397b24 merge trunk 2018-02-22 13:58:12 +13:00
Michael Hudson-Doyle
15d9269e57 Install linux-signed-generic in the live-server image. (LP: #1749065) 2018-02-15 09:31:07 +13:00
Mathieu Trudel-Lapierre
762536b5bf live-build/auto/config: Take into account SUBPROJECT when setting seeded
snaps, and also make sure we can work with snaps seeded in project hooks.
2018-02-06 23:37:28 -05:00
Iain Lane
301fdd2e02 Don't write config/seeded-snaps if no snaps have been seeded. 2018-02-01 11:52:41 +00:00
Adam Conrad
2219f62998 * live-build/auto/config: Clean out unused hostname matches and fix indenting.
* live-build/auto/config: Reinstate hostname filtering for "*.buildd", which
  is the correct match for non-lxd builders, and add "lp-*" for the lxd ones.
* live-build/auto/config: Fix incorrect quoting causing a skipped if statement
  in non-live ubuntu-server builds since sometime in mid-October of last year.
2018-01-31 21:00:49 -07:00
Adam Conrad
925e470693 Fix incorrect shell variable quoting. 2018-01-31 20:38:11 -07:00
Steve Langasek
2c40db69bc Update hostname matches for launchpad buildds to match current practice,
fixing build failures due to LP being unable to reach
people.canonical.com.
2018-01-31 16:41:21 -08:00
Iain Lane
72edc20589 Set ports/archive as appropriate for default mirror - should fix
autopkgtests.
2018-01-31 09:38:05 +00:00
Iain Lane
9e09b3172c Set a default archive mirror - needed for germinate. 2018-01-31 02:26:10 -07:00
Iain Lane
42a6450584 Oops. I shouldn't reference my private stuff. 2018-01-30 11:51:23 +00:00
Iain Lane
284240feb5 releasing package livecd-rootfs version 2.491 2018-01-30 11:20:34 +00:00
Iain Lane
9bd0fd192f Specify seeds for all flavours too 2018-01-30 10:49:38 +00:00
Iain Lane
9978fd7b39 Support seeding of snaps, as emitted by germinate >= 2.27. 2018-01-30 10:16:36 +00:00
Iain Lane
77de6a289f snap: Add BASE_SEED for all desktop flavours 2018-01-30 09:51:32 +00:00
Iain Lane
26612d0b26 snap: move the seeding block down, so that it is common to all flavours 2018-01-30 09:44:25 +00:00
Robert C Jennings
d41cc70bf5 ubuntu-cpc: Initramfs compression should match runtime default (LP: #1744114)
Cloud images created from the 'ubuntu-cpc' project use lzma initramfs
compression for the initial initramfs shipped in the image; this is the
default for livecd-rootfs. When a user updates the initramfs (or installs
a new kernel) on a running instance created from a cloud image they will
get gzip compression, which is the default shipped in initramfs-tools.

With this patch the compression method used to create the initramfs in
the initial cloud images will match the compression menthod used when
the end-user creates/updates an initramfs, namely gzip compression.
2018-01-19 12:26:32 -06:00
Balint Reczey
df89bff043 Drop Nexus 7 support 2018-01-06 01:26:42 +01:00
Balint Reczey
34dd1fb2f4 Revert to building minimized and not minimimized images with the same ~2.2 GiB size 2018-01-04 14:37:02 +01:00
Iain Lane
07873ec528 Support seeding of snaps
We run germinate during configure, and read from each resulting <seed>.snaps
file (expanded from STRUCTURE) to find out which snaps to seed. This is written
to config/seeded-snaps, which is read during build to download each one.
2018-01-04 12:11:46 +00:00
Michael Hudson-Doyle
0113b9aad7 self-review 2017-12-13 16:13:14 +13:00
Michael Hudson-Doyle
26753602fe Move casper from filesystem.squashfs to installer.squashfs. 2017-12-12 23:29:59 +13:00
Balint Reczey
532bd5b5ed Build minimized images in a 1GiB image 2017-11-23 20:27:16 +01:00
Balint Reczey
89e87b4c2c Set LB_ISO_PREPARER to livecd-rootfs to avoid unbound variable in default string 2017-11-23 20:27:16 +01:00
Steve Langasek
49e17b717e Fix lingering reference to livecd-rootfs.ubuntu-core.model-assertion
that breaks the ubuntu-core image build.
2017-11-13 09:15:11 -08:00
Steve Langasek
f384f10867 Merge lp:~vorlon/livecd-rootfs/minimize-round-two 2017-11-09 23:49:30 -08:00
Steve Langasek
7c07f8a65b Change ubuntu-core image builds to use the standard "$PREFIX" naming for
artifacts instead of being gratuitously different; requires a matching
change to ubuntu-cdimage.
2017-11-09 16:13:08 -08:00
Steve Langasek
02246dbf84 move configuration bits into live-build/auto/config from live-build/auto/build, per Adam 2017-11-09 15:55:45 -08:00
Gary.Wzl
78da9b579b Per the suggestions, we exclude all binary hooks when IMAGEFORMAT is none. 2017-11-06 20:25:57 +08:00
Gary.Wzl
c260534758 Add the IMAGEFORMAT=none to support generating a single rootfs. 2017-10-16 10:43:22 +08:00
Steve Langasek
d24ca0490b Pass --cache false to lb config; otherwise we copy around caches of
.debs that are never used properly, and which prevent us from emptying
/var/cache/apt in images.
2017-10-13 22:15:38 -04:00
Balint Reczey
314655a2ae Skip installing server task when building minimial images 2017-10-11 01:57:03 +02:00
Balint Reczey
d6bb42bc63 Use kvm kernel only on amd64 2017-10-11 01:57:03 +02:00
Steve Langasek
4204faa484 If we're not on xenial and don't have extra ppas, don't try to use the kvm flavor for minimal images since it's not currently available. 2017-10-04 10:13:13 -07:00
Steve Langasek
fffec4782f skip installation of kernel headers for all minimal images 2017-10-02 15:17:23 -07:00
Steve Langasek
a85cf55f29 Use kvm kernel flavor for minimized cloud image, not virtual 2017-10-02 14:47:46 -07:00
Balint Reczey
f0cb85a506 When SUBPROJECT environment variable is not set assume it to be "" 2017-09-29 15:20:14 -04:00
Balint Reczey
2ef2aee456 Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency 2017-09-29 15:20:14 -04:00
Steve Langasek
95890f6713 We probably still want sudo, even in a minimal image. 2017-09-26 22:39:09 -04:00
Steve Langasek
e6bbe5f8a5 Export the subproject into config/chroot and config/binary, so that this
information is available to per-project hooks that need to be
subproject-aware (e.g., to skip steps when SUBPROJECT=minimize)
2017-09-26 22:39:09 -04:00
Steve Langasek
abbbeb8fda Begin adding support for a project-independent 'minimize' subproject,
which (ironically) omits ubuntu-minimal in favor of using only the
minbase package set.
2017-09-26 22:39:08 -04:00
Gary.Wzl
8a8d203743 * Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
* Use notations "0/1" instead of "false/true" as a value for GENERATE_ROOTFS_ONLY.
2017-09-20 18:15:16 +08:00
Mathieu Trudel-Lapierre
726e6192e0 auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
dependency bugs in the livefs is a little clearer.
2017-06-23 14:23:53 -04:00
Steve Langasek
23d9db863e Add cm3 as a known ubuntu-core image type. LP: #1698223. 2017-06-15 23:36:42 -07:00
Didier Roche
1260f67b8a Build ubuntu back with tasks. The metapackage switch was due to g++ transition
and needed some additional hint. This is adding maintenance and as mentioned
in 2.335, we can revert this.
2017-06-02 15:07:11 +02:00
Simon Quigley
0d82c84cdf Update the file based on gilir's feedback 2017-05-16 20:09:26 -05:00
Simon Quigley
538c89f984 Set correct tasks for Lubuntu 2017-05-12 23:20:58 -05:00
Mathieu Trudel-Lapierre
d463581569 Merge in lp:~ubuntu-core-dev/livecd-rootfs/zesty-proposed for the changes that landed in zesty but previously missing in livecd-rootfs trunk. 2017-04-28 17:48:46 -04:00
Mathieu Trudel-Lapierre
2e21d6d6b1 The ubuntu-server:live should use a casper-based initramfs to work
correctly. (LP: #1682460)
2017-04-28 17:43:58 -04:00
Mathieu Trudel-Lapierre
03c991faef Setup kernel properly for ubuntu-server:live; we *do* want to build
kernel-generic and initrd-generic for this image. (LP: #1682460)
2017-04-28 17:43:04 -04:00