3233 Commits

Author SHA1 Message Date
Simon Quigley
382f17b08c Don't follow recommends. 2018-05-03 23:23:30 -05:00
Simon Quigley
0f073af403 Add a changelog entry. 2018-05-03 23:19:45 -05:00
Simon Quigley
480e02443e Drop seed workarounds for unbuilt Lubuntu Next. 2018-05-03 23:08:44 -05:00
Colin Watson
2c782e076c Add an empty /etc/resolv.conf to buildd chroots.
We don't want the symlink to /run/systemd/resolve/stub-resolv.conf, and
launchpad-buildd will inject its own version if it doesn't get confused by a
symlink.
2018-05-01 11:30:51 +01:00
Colin Watson
1fab544a84 Add init to buildd chroots, since it's needed for LXD-based builds. 2018-04-30 16:39:01 +01:00
Colin Watson
9bd386caa1 Explicitly order remaining buildd hooks. 2018-04-30 09:57:54 +01:00
Colin Watson
2a9efb44a6 Move some buildd hooks to includes.chroot. 2018-04-30 09:57:12 +01:00
Colin Watson
b77de06bfd Remove some unnecessary buildd configuration. 2018-04-30 09:54:28 +01:00
Michael Hudson-Doyle
eca9613bf3 Symlink systemd-networkd-wait-online to /bin/true in the live installer
live session to avoid depending on buggy systemd behaviour.
2018-04-30 20:01:54 +12:00
Colin Watson
9e99d9f1cf Fix sedding of /etc/apt/sources.list. 2018-04-29 22:54:24 +01:00
Colin Watson
07487675b6 Sort buildd tarballs by name and use numeric user and group IDs. 2018-04-29 21:43:46 +01:00
Colin Watson
416093beec Use a public-facing mirror URL in the final buildd /etc/apt/sources.list. 2018-04-29 21:42:41 +01:00
Colin Watson
0bd2526ac5 Use a more generic version number. 2018-04-29 21:41:58 +01:00
Colin Watson
cb22177287 Add a buildd subproject. 2018-04-27 16:07:44 +01:00
Mathieu Trudel-Lapierre
532f5c4bdb releasing package livecd-rootfs version 2.525 2.525 2018-04-24 13:06:32 -04:00
Daniel Watkins
10feacf941 Don't fail to build CPC images if /lib/modules already exists in the
squashfs.
2018-04-24 12:35:40 -04: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
4c7dea98aa releasing package livecd-rootfs version 2.524 2.524 2018-04-19 21:23:33 +01: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 2.523 2018-04-19 08:49:26 -07:00
Daniel Watkins
44274041a6 Add changelog entry 2018-04-19 11:47:18 -04: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
Steve Langasek
bff2e8cf5e releasing package livecd-rootfs version 2.522 2.522 2018-04-17 13:53:04 -07: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
862ace223d releasing package livecd-rootfs version 2.521 2.521 2018-04-11 14:20:32 +02: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 2.520 2018-04-11 19:18:47 +12:00
Michael Hudson-Doyle
f786c0b325 releasing package livecd-rootfs version 2.520 2018-04-11 19:15:59 +12:00
Michael Hudson-Doyle
64ca1acc40 Make lzma initramfs compression opt-in rather than opt-out, and do not
opt-in to it for live-server builds to speed up the boot. (LP: #1750873)
2018-04-11 19:15:45 +12:00
Michael Hudson-Doyle
aacb8daaee merge trunk 2018-04-11 19:10:32 +12:00
Steve Langasek
e5a57e5cc0 releasing package livecd-rootfs version 2.519 2.519 2018-04-10 15:59:37 -07: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