1115 Commits

Author SHA1 Message Date
Cody Shepherd
6527da055d Change call to add grub efi packages using new create_manifests()
function.
2018-11-27 11:29:57 -08:00
Cody Shepherd
00c8b06004 Include snaps in image manifests 2018-11-27 11:16:45 -08:00
Steve Langasek
7ce7902cd0 Merge lp:~rcj/livecd-rootfs/bionic-proposed 2018-11-16 08:41:04 -08:00
Cody Shepherd
35c780c190 Include grub efi packages in uefi image manifests. 2018-10-25 09:22:46 -07:00
Robert C Jennings
d372016933 Disable checksum generation (LP: #1799773) 2018-10-24 14:18:36 -05:00
Dimitri John Ledkov
96065b96c8 releasing package livecd-rootfs version 2.525.9 2018-09-20 13:43:39 +02:00
Michael Hudson-Doyle
85d022247c Fix live-server journald config snippet to actually disable journald rate
limiting.
2018-08-28 11:03:32 +12:00
Michael Hudson-Doyle
a443abae28 Disentangle enabling universe in the final image a little from having
PREINSTALLED=true set and enable it for a live-server build.
(LP: #1783129)
2018-08-28 10:32:07 +12:00
Steve Langasek
545e68e676 merge from trunk 2018-08-14 21:42:38 -07:00
Michael Hudson-Doyle
6ea20d222a cherry-pick change to disable rate limiting in live-server live session 2018-08-15 11:51:30 +12:00
Daniel Watkins
d97233a7bb * ubuntu-cpc: Reintroduce the -root.tar.xz artifact (LP: #1585233).
* ubuntu-cpc: Generate the root image contents once, and use it for both the
  -root.tar.xz and the .squashfs.
* ubuntu-cpc: Generate -root.tar.xz with --xattrs.
2018-08-06 16:23:06 -04:00
Steve Langasek
b4dc030fdb generate all tar files with --xattrs. LP: #1302192. 2018-08-01 21:00:39 -07:00
Adam Conrad
2ab2c5a74e live-build/auto/config: Improve linux-tools filter to work for i386 too. 2018-07-24 22:23:22 -06:00
Adam Conrad
1c99627313 live-build/auto/config: Dirty hack to filter linux-tools-aws from budgie. 2018-07-24 22:15:26 -06:00
Adam Conrad
6673d4d6ee live-build/auto/config: Add nasty hack to order gtk-common-themese snap
first in snapd's seed.yaml to work around the snapd bug in LP: #1772844
2018-07-23 10:10:30 -06:00
Francis Ginther
7c09badeec Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777) 2018-07-02 13:44:34 -05:00
Michael Hudson-Doyle
a2309c6177 straight backport of change in 2.527 to bionic 2018-05-24 11:51:24 +12:00
Daniel Watkins
87c11b5114 Don't fail to build CPC images if /lib/modules already exists in the
squashfs.
2018-04-24 12:01:44 -04:00
Dimitri John Ledkov
94b49f9a1c Ensure MAAS squashfsi are clean of passwords. LP: #1764991. 2018-04-19 21:22:49 +01:00
Steve Langasek
9465166169 Merge lp:~daniel-thewatkins/livecd-rootfs/custom-model-assertions 2018-04-19 08:49:26 -07:00
Dimitri John Ledkov
f32b6ed261 Clear maas role password 2018-04-19 14:52:39 +01:00
Dimitri John Ledkov
3ed266091c Ensure MAAS squashfsi are clean of passwords. LP: #1764991. 2018-04-19 13:29:33 +01:00
Daniel Watkins
42ef796b92 Remove necessarily true conditional 2018-04-18 20:01:40 -04:00
Daniel Watkins
fe76613e69 Require brand:model to be passed to snap_prepare_assertions
We only need the default in one place, so remove it from all but the top-level
function.
2018-04-18 20:00:43 -04:00
Daniel Watkins
38518507ec Generalise other assertion paths 2018-04-18 14:47:41 -04:00
Daniel Watkins
265218c1cb Don't include model assertion name in FS path (LP: #1764541)
There can only be one model assertion, so we don't need to disambiguate them.
This also brings us in line with the behaviour of `snap prepare-image`, and
consistency is nice.
2018-04-18 12:41:47 -04:00
Daniel Watkins
a09c14c0ab Fix missing local variables 2018-04-18 10:06:55 -04:00
Daniel Watkins
a844c6f8cd Fix another unbound variable 2018-04-17 22:01:47 -04:00
Daniel Watkins
ed50ee0e0d Fix use of unbound variable 2018-04-17 17:35:10 -04:00
Daniel Watkins
d908e89a52 Fix typo 2018-04-17 16:32:44 -04:00
Daniel Watkins
54649b40c3 Allow custom model assertions in snap_prepare_assertions
This also splits up the preparation in to two functions, so that images that
want to use a custom model assertion but don't have any snaps to preinstall
don't end up with the core snap installed.
2018-04-17 14:46:56 -04:00
Steve Langasek
e6089e9e32 Remove landscape-common from minimal image, and handle restoring it in
unminimize script.  LP: #1763182.
2018-04-11 14:26:43 -07:00
Dimitri John Ledkov
466607c590 In subiquity image, mount additional squashfs in /media. 2018-04-11 14:20:18 +02:00
Michael Hudson-Doyle
65dd7df171 last minute pre-upload typo fix 2018-04-11 19:18:47 +12:00
Michael Hudson-Doyle
aacb8daaee merge trunk 2018-04-11 19:10:32 +12:00
Steve Langasek
c46962ca2e Refactor snap preseeding to allow additional snaps to be preseeded from
hooks
2018-04-10 15:59:31 -07:00
Robert C Jennings
26f31fbd9c live-build/functions: spelling fix 2018-04-10 16:33:22 -05:00
Robert C Jennings
5f12253791 live-build/functions: Help developers resolve snap download issues 2018-04-10 15:03:23 -05:00
Robert C Jennings
73dba1f31a snap preseeding: capture Ubuntu snap seeding policy in code
When no channel is given for a pre-seeded snap, the channel
should be stable/ubuntu-XX.YY to match Ubuntu policy.

This patch adds the LB_DISTRIBUTION var to config/{binary,chroot}
to have a common way of determining the Ubuntu XX.YY version
number between hooks and auto/build.
2018-04-10 11:59:19 -05:00
Robert C Jennings
cbcb5d3ed8 live-build/functions: reduce scope of snap account variable
* Only shell out to set $account when we need to use it.
* Reduce scope of $account to make it local to the function
* Fix indenting within an 'if' block
2018-04-10 10:09:26 -05:00
Robert C Jennings
0dbaf4cc9d live-build/functions: Drop spurious backslash 2018-04-06 20:14:23 -05:00
Robert C Jennings
936c3dbc79 live-build/functions: Update snap seed.yaml format to comply with yaml spec 2018-04-06 17:05:15 -05:00
Robert C Jennings
829716a6d7 live-build/functions: Change arithmetic to make the file 'sh' friendly 2018-04-06 17:03:27 -05:00
Robert C Jennings
57261c3edf auto/build: Install snaps using common functions 2018-04-06 13:12:53 -05:00
Robert C Jennings
e655aff7b1 live-build/functions: Migrate from generic snap account-id 2018-04-06 12:51:47 -05:00
Dimitri John Ledkov
8d5af150cd Make subiquity installer boot quicker, by making dhcp interfaces
optional, such that wait-online is not blocking bringing up the
installer UI.
2018-04-03 14:56:34 +01:00
Iain Lane
e68923777e merge lp:~tsimonq2/livecd-rootfs/lubuntu-seed-mangling 2018-04-03 11:56:28 +01:00
Robert C Jennings
152adcaa04 live-build/functions: add snap preseeding support 2018-04-03 05:12:22 -05:00
Steve Langasek
4bb0414a5d Make sure we call the build "minimal" within the cloud build info,
when building a minimized image.
2018-03-27 12:12:26 -07:00
Christopher Glass
51c663a892 Fixed whitespace/tabs. 2018-03-27 16:09:35 +02:00