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
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
7c1c7a80c2
enable networkd for live-server systems
...
the logic for doing this is the same as why it is done for cloud-images, for which
see http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk/revision/1520
I think this behaviour is a bug in cloud-init (see lp:#1737630) but this is a good
workaround in the mean time
2017-12-21 11:00:22 +13:00
Michael Hudson-Doyle
3ecbd2802e
tweaks before review
2017-12-13 22:32:22 +13:00
Michael Hudson-Doyle
8c8b16b5e6
sigh
2017-12-13 19:27:37 +13:00
Michael Hudson-Doyle
0113b9aad7
self-review
2017-12-13 16:13:14 +13:00
Michael Hudson-Doyle
b913dcdf1c
gen the initramfs with the right options and repack it with lzma
2017-12-13 15:42:37 +13:00
Michael Hudson-Doyle
6ddf832b20
slimy hack to get a casper-ized initrd in place
2017-12-13 10:07:14 +13:00
Michael Hudson-Doyle
26753602fe
Move casper from filesystem.squashfs to installer.squashfs.
2017-12-12 23:29:59 +13:00
Dimitri John Ledkov
5f64c373f1
Drop android-tools-fsutils dependency, and instead install it on
...
demand for the nexus7 sub-arch. This target is no longer produced,
thus by doing this android-tools can fall out of main to universe.
2017-12-11 12:22:31 +00:00
Steve Langasek
c02f0f0f4c
Install grub-ieee1275 instead of grub2 on ppc64el; grub2 is a dummy
...
transitional package in universe.
2017-12-06 14:22:41 -08:00
Michael Hudson-Doyle
c24e13f8f9
install grub-ieee1275 instead of grub2 on ppc64el
...
grub2 is a dummy transitional package that is in universe.
2017-12-01 13:44:32 +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
Balint Reczey
3631c1f778
Zero fill space in UEFI partitions, too
2017-11-23 20:27:16 +01:00
Balint Reczey
c45ea223b4
Use default xz compression (-6) for raspi2 image
...
Xz with -0 generated ~35% bigger compressed image.
LP: #1732681
2017-11-20 21:18:33 +01:00
Michael Hudson-Doyle
e0809e31f6
Automount a partition of fixed UUID for giving subiquity canned answers.
2017-11-17 15:08:15 +13:00
Steve Langasek
be29d44c3d
Merge lp:~rbalint/livecd-rootfs/s390x-skip-missing-initrd
2017-11-14 13:01:27 -08:00
Balint Reczey
578fa5a92d
Update changelog
2017-11-14 19:04:21 +01:00
Balint Reczey
4a168af954
Skip setting up initrd for s390x when it is not generated for the image
...
This fixes building minimized s390x images.
2017-11-14 18:44:06 +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
ea2840ddfc
fix wrong use of PREFIX literal
2017-11-09 16:13:25 -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
Steve Langasek
696ae6e1eb
Name the manifest the way ubuntu-cdimage expects it for subarchs
2017-11-08 12:35:38 -08:00
Steve Langasek
e96fa8b878
ubuntu-image now produces a manifest file listing the snap revisions
...
used; publish this so that it's picked up by launchpad-buildd.
2017-11-08 12:22:05 -08:00
Steve Langasek
b3cf7b9013
The target for x86 ubuntu-core images is VMs, so create them with
...
a buffer of free space in order to work if booted in place.
2017-11-08 12:11:40 -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
Steve Langasek
1976255e5c
divert /usr/bin/systemd-detect-virt as part of the grub diversions, so
...
that the grub kernel postinst hook is operational when we're building
in a container. LP: #1729034 .
2017-10-31 09:58:22 -07:00
Steve Langasek
083d58397c
Make sure to remove any initramfs that was generated in a minimized
...
image.
2017-10-21 18:51:20 -07:00
Steve Langasek
dfaf247193
Properly handle loop device names when there are > 10 devices on the
...
system.
2017-10-21 00:54:02 -07:00
Steve Langasek
2b30a986c3
Merge lp:~vorlon/livecd-rootfs/minimize-purge-initramfstools
2017-10-18 23:20:19 -07:00
Steve Langasek
f91a9f16ee
Also remove old dpkg files from the live images
2017-10-18 22:20:44 -07:00
Steve Langasek
51890b5b43
add 'file' to the axe list for minimized
2017-10-18 18:11:53 -07:00
Steve Langasek
c9b427c11b
Another round of package removals for minimization
2017-10-18 17:50:56 -07:00
Michael Hudson-Doyle
1a99680334
Remove snap.subiquity.started from subiquity's After=/Requires= as it
...
does not fix the race condition they were intended to address and causes
subiquity to be killed when snapd refreshes subiquity (LP: #1724411 )
2017-10-18 13:26:08 +13:00
Michael Hudson-Doyle
895e2a51f1
Seed the subiquity snap to track the stable channel (LP: #1724410 )
2017-10-18 13:23:45 +13:00