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
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.
2018-03-21 11:05:46 +00: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
Steve Langasek
90ef53cef1
Merge lp:~vorlon/livecd-rootfs/ubuntu-channels-for-snaps
2018-03-06 10:15:00 +01: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
4b66f89e56
move skip_lb_stage to config
2018-02-23 09:37:51 +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
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
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
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
Iain Lane
9e09b3172c
Set a default archive mirror - needed for germinate.
2018-01-31 02:26:10 -07: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
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
0113b9aad7
self-review
2017-12-13 16:13: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
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
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