Robert C Jennings
7907544390
ubuntu-cpc: parallel builds: build hooks during config
...
* Use series files with dependency handling to generate hook symlinks dynamically
This patch currently only applies to the "ubuntu-cpc" project.
More and more logic has been going into the hook scripts to decide
under which conditions they should run or not. As we are moving
to parallelized builds of image sets, this will get even more
complicated. Base hooks will have to know which image sets they
belong to and modification of the dependency chain between scripts
will become more complicated and prone to errors, as the number of
image sets grows.
This patch, and prior, introduce explicit ordering and dependency
handling for scripts through the use of `series` files and an
explicit syntax for dependency specification.
6 years ago
Michael Hudson-Doyle
223bf910df
Backport two minimizations for the docker images: remove apt lists that are removed downstream anyway, and remove device nodes from the image. (LP: #1828118 )
6 years ago
Julian Andres Klode
87a26d2cd2
Remove crufty files after minimize-manual
...
minimize-manual would be creating those files again, and other
parts may be creating them, so best to do the cleanup at the
very end.
LP: #1826377
6 years ago
Julian Andres Klode
be180bcf93
Minimize the number of manually installed packages
...
Minimize the number of manually installed packages in images by marking
dependencies of metapackages as automatically installed.
Squashed commits:
* minimize-manual.py: Followup with some cleanup, correct permissions
* fixup: Do not assume current directory
* Reorganize minimal-manual file location.
6 years ago
Adam Conrad
1003e76191
[mwhudson, r=adconrad] Merge mwhudson/live-server-bionic for live-server HWE
6 years ago
Colin Watson
a4fd32a7f1
Drop code to handle buildd images for != bionic
6 years ago
Colin Watson
2adceb461e
Move buildd image building to binary hooks
6 years ago
Colin Watson
71ec79e55d
Add a LXD image to builds for the buildd subproject
6 years ago
Colin Watson
e351909818
Add a buildd subproject
6 years ago
Adam Conrad
0ccce31ed5
Fixes to make the lubuntu livefs behave when swapping to the HWE stack.
...
* lubuntu: Select lubuntu-gtk-core task as well, so we get the HWE filter
applied to the explicit dependencies it has on Xorg-recommended packages.
* lubuntu: Manually install some packages that fall out due to the above.
6 years ago
Adam Conrad
bd5f3fcd3f
Forward-port HWE support from xenial, make it more generic, and enable it for the current LTS flavours.
6 years ago
Łukasz 'sil2100' Zemczak
86f2505871
Use linux-firmware-raspi2 instead of raspi3-firmware.
6 years ago
Łukasz 'sil2100' Zemczak
6b63fa210f
Cherry-pick all the additionally needed fixes to enable proper raspi3 support.
6 years ago
Michael Hudson-Doyle
a473683ac7
Do no install openssh-server in the base filsystem for the live server installer.
6 years ago
Michael Hudson-Doyle
7ad0444511
do not include kernel in base install for ubuntu-server:live
...
this actually makes things closer to the non-live server build and so
makes things a bit simpler
6 years ago
Steve Langasek
cdb4234912
Merge lp:~codyshepherd/livecd-rootfs/bionic-proposed-snaps-manifest
6 years ago
Steve Langasek
8b65ec6c2c
Key netplan delegation to NetworkManager on presence of
...
/usr/sbin/NetworkManager, not on /usr/lib/NetworkManager which may have
hooks from other packages (i.e., wpasupplicant).
6 years ago
Łukasz 'sil2100' Zemczak
1a39926dd0
First attempt on backporting all raspi3 changes to bionic.
6 years ago
Cody Shepherd
00c8b06004
Include snaps in image manifests
6 years ago
Robert C Jennings
d372016933
Disable checksum generation (LP: #1799773 )
6 years ago
Michael Hudson-Doyle
a443abae28
Disentangle enabling universe in the final image a little from having
...
PREINSTALLED=true set and enable it for a live-server build.
(LP: #1783129 )
7 years ago
Steve Langasek
b4dc030fdb
generate all tar files with --xattrs. LP: #1302192 .
7 years ago
Adam Conrad
2ab2c5a74e
live-build/auto/config: Improve linux-tools filter to work for i386 too.
7 years ago
Adam Conrad
1c99627313
live-build/auto/config: Dirty hack to filter linux-tools-aws from budgie.
7 years ago
Adam Conrad
6673d4d6ee
live-build/auto/config: Add nasty hack to order gtk-common-themese snap
...
first in snapd's seed.yaml to work around the snapd bug in LP: #1772844
7 years ago
Francis Ginther
7c09badeec
Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777 )
7 years ago
Steve Langasek
e6089e9e32
Remove landscape-common from minimal image, and handle restoring it in
...
unminimize script. LP: #1763182 .
7 years ago
Michael Hudson-Doyle
65dd7df171
last minute pre-upload typo fix
7 years ago
Michael Hudson-Doyle
aacb8daaee
merge trunk
7 years ago
Steve Langasek
c46962ca2e
Refactor snap preseeding to allow additional snaps to be preseeded from
...
hooks
7 years ago
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.
7 years ago
Robert C Jennings
57261c3edf
auto/build: Install snaps using common functions
7 years ago
Iain Lane
e68923777e
merge lp:~tsimonq2/livecd-rootfs/lubuntu-seed-mangling
7 years ago
Steve Langasek
4bb0414a5d
Make sure we call the build "minimal" within the cloud build info,
...
when building a minimized image.
7 years ago
Christopher Glass
51c663a892
Fixed whitespace/tabs.
7 years ago
Michael Hudson-Doyle
3cb1f38cf2
Set the default locale to C.UTF-8 in all server and cloud images.
...
(LP: #1751051 , #1759003 )
7 years ago
Simon Quigley
e4151ca741
Proper bash is rad, let's do it.
7 years ago
Simon Quigley
10ebe98d84
Special-case Lubuntu's seeds so that the minimal install works.
7 years ago
Christopher Glass
0b2239c069
Parametrize BUILD_NAME in /etc/cloud/build.info to make it "minimal-aware".
7 years ago
Dimitri John Ledkov
bfa43c1c5c
On amd64, if building minimal images for bionic, xenial, or extra ppa,
...
use kvm kernel, otherwise fallback to virtual.
7 years ago
Michael Hudson-Doyle
c787069c5c
do not set INITRAMFS_COMPRESSION for projects that end up passing --initramfs=none to lb config
7 years ago
Michael Hudson-Doyle
d46edbffdb
reduce duplication somewhat
7 years ago
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 )
7 years ago
Michael Hudson-Doyle
0d750f78bc
Set INITRAMFS_COMPRESSION to gzip for live-server builds to speed up the
...
boot. (LP: #1750873 )
7 years ago
Steve Langasek
90ef53cef1
Merge lp:~vorlon/livecd-rootfs/ubuntu-channels-for-snaps
7 years ago
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.
7 years ago
Michael Hudson-Doyle
57200eaa01
tyop
7 years ago
Michael Hudson-Doyle
4b66f89e56
move skip_lb_stage to config
7 years ago
Michael Hudson-Doyle
c85cae9bfe
respond to some review feedback
7 years ago
Michael Hudson-Doyle
d46e397b24
merge trunk
7 years ago