Dimitri John Ledkov
fef6023ce5
subiquity: make subiqutiy_config.mount optional
...
Remove wants from local-fs.target, add wants from the uuid device instead.
Tested by applying these changes from pre-pivot-root by modifying
/root files in place whilst booting with break=bottom.
2019-05-02 11:33:31 +01:00
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
2019-04-26 10:40:05 +02:00
Julian Andres Klode
fb4849aec1
Merge branch 'minimize-manual-bionic' into ubuntu/bionic
2019-03-14 12:04:01 +01:00
Steve Langasek
3229f51cc6
Also don't create the update-motd directory since we're not writing to it.
...
It will almost certainly be created at some point but we don't need to
create it here.
2019-03-12 12:25:48 -07:00
Steve Langasek
c87f87e4e1
Drop /etc/update-motd.d/51-cloudguest from cloud images; this is not consistent with current Ubuntu Advantage product language. Any future customizations to update-motd for cloud images should be done via a package instead.
2019-03-12 11:53:03 -07:00
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.
2019-03-11 11:32:36 +01:00
Colin Watson
fbba9fe46e
Make sure buildd images have a /usr/sbin/policy-rc.d symlink
...
Installing policyrcd-script-zg2 doesn't quite do this because of the way
that live-build installs its own temporary version of policy-rc.d. The
only remotely sensible way I can see to deal with this is to create the
symlink manually.
2019-02-18 16:03:39 +00:00
Adam Conrad
1003e76191
[mwhudson, r=adconrad] Merge mwhudson/live-server-bionic for live-server HWE
2019-02-12 11:43:33 -07:00
Colin Watson
a4fd32a7f1
Drop code to handle buildd images for != bionic
2019-02-05 14:24:09 +00:00
Colin Watson
2adceb461e
Move buildd image building to binary hooks
2019-02-05 14:21:02 +00:00
Colin Watson
71ec79e55d
Add a LXD image to builds for the buildd subproject
2019-02-05 14:20:37 +00:00
Colin Watson
e351909818
Add a buildd subproject
2019-02-05 14:20:18 +00:00
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.
2019-02-05 00:28:48 -07:00
Adam Conrad
bd5f3fcd3f
Forward-port HWE support from xenial, make it more generic, and enable it for the current LTS flavours.
2019-02-02 03:24:54 -07:00
Łukasz 'sil2100' Zemczak
86f2505871
Use linux-firmware-raspi2 instead of raspi3-firmware.
2019-01-18 17:08:20 +01:00
Łukasz 'sil2100' Zemczak
dbdf9e4a00
ARCH is not available in .chroot hooks so we need to get the architecture manually.
2019-01-18 16:58:08 +01:00
Łukasz 'sil2100' Zemczak
770a7b4c85
Add the 100-purge-grub-legacy-ec2-arm.chroot to ubuntu-cpc
2019-01-15 14:45:02 +01:00
Łukasz 'sil2100' Zemczak
6b63fa210f
Cherry-pick all the additionally needed fixes to enable proper raspi3 support.
2019-01-11 15:28:11 +01:00
Michael Hudson-Doyle
e35dde7f68
Do not include curtin in the live-server installer.squashfs as the version of subiquity that includes it in the snap has now been released to stable.
2018-12-19 11:02:20 +13:00
Michael Hudson-Doyle
f129e5797a
A few simple tweaks to reduce size of live servers installer.squashfs
...
- Do not run apt-get update (which can bring in package lists if we are
unlucky wrt publisher schedules).
- Run apt-get clean to clear out downloaded debs of curtin/casper and
dependencies.
- Do not install user-setup.
- Use the core snap from the base filesystem if present.
2018-12-18 15:19:41 +13:00
Michael Hudson-Doyle
a473683ac7
Do no install openssh-server in the base filsystem for the live server installer.
2018-12-18 15:11:17 +13:00
Michael Hudson-Doyle
7632df8e50
linux-generic-hwe-18.04 not linux-generic-hwe-bionic!
2018-12-13 21:55:45 +13:00
Michael Hudson-Doyle
f3a458a85f
enable hwe variant
2018-12-13 15:28:02 +13:00
Michael Hudson-Doyle
bfeebc90ab
remove cloud-initramfs-copymods before installing kernel
2018-12-13 15:26:54 +13:00
Michael Hudson-Doyle
bcbf9ea36e
add initramfs hook to record kernel metapackage & mount modules
2018-12-13 15:26:54 +13:00
Michael Hudson-Doyle
f475de24bf
add hook to create kernel/initrd/modules for ISO
2018-12-13 15:26:54 +13:00
Michael Hudson-Doyle
d3eadc704c
do not unmount the installer overlay in 032-installer-squashfs.binary
...
so that a new hook can create yet further overlays on top of it
2018-12-13 15:26:54 +13:00
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
2018-12-13 15:26:54 +13:00
Balint Reczey
2edb15bd10
Add .keep files to preserve empty directories
2018-12-12 15:36:00 +01:00
Steve Langasek
cdb4234912
Merge lp:~codyshepherd/livecd-rootfs/bionic-proposed-snaps-manifest
2018-12-10 12:46:25 -08:00
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).
2018-12-06 13:48:12 +02:00
Łukasz 'sil2100' Zemczak
1a39926dd0
First attempt on backporting all raspi3 changes to bionic.
2018-11-29 16:31:06 +01:00
Cody Shepherd
64e5330029
Adding snap-seed-parse.py (that might help)
2018-11-27 11:39:15 -08:00
Cody Shepherd
6527da055d
Change call to add grub efi packages using new create_manifests()
...
function.
2018-11-27 11:29:57 -08:00
Cody Shepherd
00c8b06004
Include snaps in image manifests
2018-11-27 11:16:45 -08:00
Steve Langasek
7ce7902cd0
Merge lp:~rcj/livecd-rootfs/bionic-proposed
2018-11-16 08:41:04 -08:00
Cody Shepherd
35c780c190
Include grub efi packages in uefi image manifests.
2018-10-25 09:22:46 -07:00
Robert C Jennings
d372016933
Disable checksum generation (LP: #1799773 )
2018-10-24 14:18:36 -05:00
Dimitri John Ledkov
96065b96c8
releasing package livecd-rootfs version 2.525.9
2018-09-20 13:43:39 +02:00
Michael Hudson-Doyle
85d022247c
Fix live-server journald config snippet to actually disable journald rate
...
limiting.
2018-08-28 11:03:32 +12:00
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 )
2018-08-28 10:32:07 +12:00
Steve Langasek
545e68e676
merge from trunk
2018-08-14 21:42:38 -07:00
Michael Hudson-Doyle
6ea20d222a
cherry-pick change to disable rate limiting in live-server live session
2018-08-15 11:51:30 +12:00
Daniel Watkins
d97233a7bb
* ubuntu-cpc: Reintroduce the -root.tar.xz artifact (LP: #1585233 ).
...
* ubuntu-cpc: Generate the root image contents once, and use it for both the
-root.tar.xz and the .squashfs.
* ubuntu-cpc: Generate -root.tar.xz with --xattrs.
2018-08-06 16:23:06 -04:00
Steve Langasek
b4dc030fdb
generate all tar files with --xattrs. LP: #1302192 .
2018-08-01 21:00:39 -07:00
Adam Conrad
2ab2c5a74e
live-build/auto/config: Improve linux-tools filter to work for i386 too.
2018-07-24 22:23:22 -06:00
Adam Conrad
1c99627313
live-build/auto/config: Dirty hack to filter linux-tools-aws from budgie.
2018-07-24 22:15:26 -06:00
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
2018-07-23 10:10:30 -06:00
Francis Ginther
7c09badeec
Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777 )
2018-07-02 13:44:34 -05:00
Michael Hudson-Doyle
a2309c6177
straight backport of change in 2.527 to bionic
2018-05-24 11:51:24 +12:00