2592 Commits

Author SHA1 Message Date
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
e65b912d89 releasing package livecd-rootfs version 2.518 2.518 2018-04-03 14:57:02 +01: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
f73c0f4068 releasing package livecd-rootfs version 2.517 2.517 2018-04-03 11: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
2be57e7e60 releasing package livecd-rootfs version 2.516 2.516 2018-03-27 12:12:35 -07: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
Steve Langasek
4be1b98517 releasing package livecd-rootfs version 2.515 2.515 2018-03-27 12:10:29 -07:00
Christopher Glass
51c663a892 Fixed whitespace/tabs. 2018-03-27 16:09:35 +02:00
Michael Hudson-Doyle
3cb1f38cf2 Set the default locale to C.UTF-8 in all server and cloud images.
(LP: #1751051, #1759003)
2018-03-27 09:47:12 +13:00
Simon Quigley
e4151ca741 Proper bash is rad, let's do it. 2018-03-25 10:10:39 -05:00
Simon Quigley
10ebe98d84 Special-case Lubuntu's seeds so that the minimal install works. 2018-03-25 10:06:13 -05:00
Christopher Glass
0b2239c069 Parametrize BUILD_NAME in /etc/cloud/build.info to make it "minimal-aware". 2018-03-22 10:24:44 +01:00
Dimitri John Ledkov
bfa43c1c5c On amd64, if building minimal images for bionic, xenial, or extra ppa,
use kvm kernel, otherwise fallback to virtual.
2.514
2018-03-21 11:05:46 +00:00
Michael Hudson-Doyle
2cb679b281 releasing package livecd-rootfs version 2.513 2.513 2018-03-21 15:58:05 +13:00
Michael Hudson-Doyle
8ee1f566e2 In the live-server build, prevent casper from mounting any existing
swap partitions from drives we might later be installing to.
(LP: #1743643)
2018-03-21 15:57:54 +13:00
Steve Langasek
46fc8e3baf Merge lp:~daniel-thewatkins/livecd-rootfs/minimized-skips 2.512 2018-03-20 13:00:02 -07:00
Daniel Watkins
12339422c5 ubuntu-cpc: When performing a minimized build, don't generate artifacts
that won't boot with the linux-kvm kernel (LP: #1757223).
2018-03-20 14:30:27 -04:00
Dimitri John Ledkov
815c3dfc10 Whitelist preserving "unowned" /var/log/journal. Maybe systemd package
should own the directory, and only adjust the permissions in
postinst. LP: #1754332
2.511
2018-03-16 18:38:22 +00:00
Michael Hudson-Doyle
8ece245153 In the live-server build, prevent casper from mounting any existing swap
partitions from drives we might later be installing to.
2018-03-15 20:26:00 +13:00
Michael Hudson-Doyle
44e7d70046 releasing package livecd-rootfs version 2.510 2.510 2018-03-15 14:10:02 +13:00
Michael Hudson-Doyle
8bf3ef7764 * Rename the directory containing the systemd override file for subiquity to
the correct name :/
* Add Environment=SNAP_REEXEC=0 to the above override file.
* Remove the snap.subiquity.started overrides, that service is long gone.
2018-03-15 13:42:43 +13:00
Michael Hudson-Doyle
950fb91e6e remove empty directories 2018-03-15 13:24:42 +13:00
Michael Hudson-Doyle
a5a4f4e0d8 * Rename the directory containing the systemd override file for subiquity to
the correct name :/
* Add Environment=SNAP_REEXEC=0 to the above override file.
* Remove the snap.subiquity.started overrides, that service is long gone.
2018-03-15 13:22:22 +13:00
Michael Hudson-Doyle
c787069c5c do not set INITRAMFS_COMPRESSION for projects that end up passing --initramfs=none to lb config 2018-03-15 10:17:40 +13:00
Michael Hudson-Doyle
d46edbffdb reduce duplication somewhat 2018-03-15 09:48:10 +13:00
Michael Hudson-Doyle
b7f3ec398b 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-03-14 15:54:06 +13:00
Michael Hudson-Doyle
0d750f78bc Set INITRAMFS_COMPRESSION to gzip for live-server builds to speed up the
boot. (LP: #1750873)
2018-03-13 21:37:06 +13:00
Dimitri John Ledkov
156f66db36 releasing package livecd-rootfs version 2.509 2.509 2018-03-06 12:58:53 +00:00
Dimitri John Ledkov
bc194dd48b Build EFI armhf images. 2018-03-06 12:58:38 +00:00
Steve Langasek
8fddc6b469 Merge lp:~vorlon/livecd-rootfs/many-loops 2018-03-06 10:30:25 +01:00
Steve Langasek
52617400b3 releasing package livecd-rootfs version 2.508 2.508 2018-03-06 10:15:46 +01:00
Steve Langasek
93176f134f Add dependency on distro-info for the above. 2018-03-06 10:15:41 +01:00
Steve Langasek
90ef53cef1 Merge lp:~vorlon/livecd-rootfs/ubuntu-channels-for-snaps 2018-03-06 10:15:00 +01:00
Dimitri John Ledkov
9df3a91e26 ubuntu-server: generate multi-lowerdir overlayfs for
maas-rack-controller, and full maas. To be used in subiquity for maas
install options.
2.507
2018-03-01 13:33:42 +00:00
Iain Lane
2db71b0c67 releasing package livecd-rootfs version 2.506 2.506 2018-02-23 15:37:43 +00:00
Iain Lane
ba4b16626f live-build-auto/{build,config}: Support fetching a file from the seed
mirror (BASE_SEED.minimal-remove) and putting it into the livefs build as
filesystem.manifest-minimal-remove. It's intended for ubiquity to read
this file as a list of packages to remove when doing a 'minimal' desktop
installation.
2018-02-23 12:08:17 +00:00
Michael Hudson-Doyle
38cb38be6c releasing package livecd-rootfs version 2.505 2.505 2018-02-23 16:55:10 +13:00
Michael Hudson-Doyle
002495b264 Move casper from filesystem.squashfs to installer.squashfs. 2018-02-23 16:54:15 +13:00
Michael Hudson-Doyle
57200eaa01 tyop 2018-02-23 16:53:20 +13:00