2159 Commits

Author SHA1 Message Date
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
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
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
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
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.
2018-03-01 13:33:42 +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
57200eaa01 tyop 2018-02-23 16:53:20 +13:00
Michael Hudson-Doyle
4407aaf1ae it is config/common, not config/binary, grr 2018-02-23 14:58:03 +13:00
Michael Hudson-Doyle
27eaa9328a source config/binary in 032-installer-squashfs.binary 2018-02-23 13:38:15 +13:00
Michael Hudson-Doyle
3e69d30c9e remove some of the cargo culted scorpions 2018-02-23 09:52:26 +13:00
Michael Hudson-Doyle
b163743456 call recreate_initramfs with the argument it needs 2018-02-23 09:41:50 +13:00
Michael Hudson-Doyle
4b66f89e56 move skip_lb_stage to config 2018-02-23 09:37:51 +13:00
Michael Hudson-Doyle
416ef912ed make another possibly more generally useful function 2018-02-23 09:30:29 +13:00
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
d1b26ce330 Override JobRunningTimeoutSec to 0s on the .device unit that
subiquity_config.mount depends on to avoid a 5s delay on switching to a
new VT when there is no device there (LP: #1750117)
2018-02-20 15:22:43 +13:00
Steve Langasek
131f14d33c Use Ubuntu-specific branches when seeding snaps, as required in
<https://wiki.ubuntu.com/UbuntuSeededSnaps>.
2018-02-16 14:09:03 -08:00
Michael Hudson-Doyle
15d9269e57 Install linux-signed-generic in the live-server image. (LP: #1749065) 2018-02-15 09:31:07 +13:00
Michael Hudson-Doyle
26d9eeb576 Shuffle subiquity service definition to a mix of a snapd-generated service
file (from the subiquity snap) and an overlay (in this package).
2018-02-14 12:44:46 +13:00
Michael Hudson-Doyle
b01a9b0d7a leave getty@tty1 in a state where it can be re-enabled 2018-02-13 14:53:10 +13:00
Michael Hudson-Doyle
62a6e6270f shuffle subiquity service definition to a mix of a snapd-generated service file (not in this branch) and an overlay (in this branch) 2018-02-09 15:08:51 +13:00
Michael Hudson-Doyle
a7f8044a85 Disable the snapd.refresh.timer in the live server session. 2018-02-08 13:43:36 +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
Dimitri John Ledkov
d4fe705be7 Stop building vagrant.box, ova, vmdk images for i386.
https://trello.com/c/zhisDVTq
2018-02-05 15:37:52 +00: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
Adam Conrad
c2edf57a3f Run subiquity on any serial consoles that the user told systemd about. 2018-01-31 02:29:12 -07:00
Iain Lane
9e09b3172c Set a default archive mirror - needed for germinate. 2018-01-31 02:26:10 -07:00
Michael Hudson-Doyle
a7ca4fbd03 merge trunk 2018-01-31 21:59:36 +13:00
Michael Hudson-Doyle
6ca49ecf0f remove some commented out gunk from .service files 2018-01-31 21:41:32 +13: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
Michael Hudson-Doyle
ec1f465e2c fix path in serial-subiquity@.service 2018-01-16 13:14:46 +13:00
Michael Hudson-Doyle
2ebe4ec60d run subiquity on the serial console 2018-01-15 14:56:49 +13:00
Steve Langasek
e6a66dd3bf Add support for passing snap channel to ubuntu-core image builds. 2018-01-12 14:56:57 -08:00
Balint Reczey
df89bff043 Drop Nexus 7 support 2018-01-06 01:26:42 +01:00