Michael Hudson-Doyle
f6e5da24f9
enable cloud-init in live session on all architectures
2020-03-03 15:08:45 +01:00
Robert C Jennings
d214127b9f
Address snap base regression after snap-tool removal
...
With the removal of snap-tool failures are seen in image builds that do
not have the 'core' snap included by the seed. This is the case for the
minimized subproject of the ubuntu-cpc project where lxd/core is removed.
In that subproject, any binary hook which adds a snap that is based
on 'core' will not add 'core' and fail 'snap debug validate-seed'.
snap-tool included the following logic in the 'snap-tool info' when
determining snap bases:
# Have "base" initialized to something meaningful.
if self.is_core_snap():
snap_data["snap"]["base"] = ""
elif snap_data["snap"].get("base") is None:
snap_data["snap"]["base"] = "core"
The snap store does not return a base if the base is core which makes
this necessary. This patch looks for the base in 'snap info' output
and if none is found (and the snap is not snapd or core) it assumes the
base is 'core' and installs it. This restores the behavior lost in the
migration from snap-tool to snap cli.
2.647
2020-02-25 16:16:26 -06:00
Iain Lane
bc3e962ee8
Finalise changelog
2.646
2020-02-24 11:22:24 +00:00
Iain Lane
ede0be897b
Pass --verbose to snap info
so that it includes the base.
2020-02-24 09:56:09 +00:00
Steve Langasek
b843beb26b
releasing package livecd-rootfs version 2.645
2.645
2020-02-21 13:02:47 -08:00
Robert C Jennings
489f009e49
Use snap cli rather than custom snap-tool
...
snap-tool was added to support a deprecate cohort-key feature of the snap store.
Recent changes in snap assertions have added additional fields which snap-tool
is not retrieving. This resulted in snap install failures on first boot.
This patch removes snap-tool and returns to using the snap cli. This ensures
snap downloads will function without odd incompatibilities.
2020-02-21 14:56:25 -06:00
Łukasz 'sil2100' Zemczak
ccbc6aed83
releasing package livecd-rootfs version 2.644
2.644
2020-02-21 12:47:48 +01:00
Łukasz 'sil2100' Zemczak
e9170e053b
Rename the raspi3 SUBARCH to raspi
2020-02-21 12:46:43 +01:00
Dimitri John Ledkov
7904fd4fe5
releasing package livecd-rootfs version 2.643
2.643
2020-02-10 23:50:20 +00:00
Dimitri John Ledkov
d7045b2e09
Fixup subiquity:
...
- drop ds-identify policy, not needed with improved cloud config
- drop disabling network, doesn't work with ip=
- fixup setting up the INSTALLER_ROOT mountpoint
2020-02-10 23:50:03 +00:00
Dimitri John Ledkov
a19d6273fe
releasing package livecd-rootfs version 2.642
2.642
2020-02-10 12:43:50 +00:00
Dimitri John Ledkov
17dc48cf65
Set uc20 image size to 10G.
2020-02-10 12:43:39 +00:00
Dimitri John Ledkov
133c99c22c
releasing package livecd-rootfs version 2.641
2.641
2020-02-07 22:19:45 +00:00
Dimitri John Ledkov
438606c5e8
Encode CHANNEL specification in the UC20 model names.
2020-02-07 22:18:04 +00:00
Dimitri John Ledkov
3b1047fbc2
Configure a better nocloud datasource for subiquity cloud-init.
2020-02-07 22:11:54 +00:00
Dimitri John Ledkov
fbf9c5b854
releasing package livecd-rootfs version 2.640
2.640
2020-01-30 13:35:47 +00:00
Dimitri John Ledkov
db0c7d68f2
Although the request flavour to install is oem-20.04, it really is called just oem on disk. Override the flavour name from oem-20.04 to oem when renaming built artefacts. This also means that ubuntu-cdimage needs to simply download 'oem' vmlinuz+initrd pairs, not 'oem-20.04'.
2020-01-30 11:13:51 +00:00
Dimitri John Ledkov
7520a60019
releasing package livecd-rootfs version 2.639
2.639
2020-01-29 14:16:12 +00:00
Dimitri John Ledkov
e062389eb9
* On s390x subiquity:
...
- enable cloud-init
- make cloud-init handle the default/baked in networking configuration
- install and enable openssh-server for the installation only
- provide cloud.cfg that generates random installer user password
- disable subiquity on sclp_line0 line based console
2020-01-29 14:16:00 +00:00
Dimitri John Ledkov
2757f7aee3
releasing package livecd-rootfs version 2.638
2.638
2020-01-28 15:06:24 +00:00
Dimitri John Ledkov
f6ca600af2
Install oem-20.04 kernel flavour on Ubuntu Desktop builds.
2020-01-28 15:05:36 +00:00
Łukasz 'sil2100' Zemczak
e6fd34b54d
releasing package livecd-rootfs version 2.637
2.637
2020-01-24 18:47:55 +01:00
Łukasz 'sil2100' Zemczak
2870738f00
Merge the manually-pushed 2.636 from Laney.
2020-01-24 18:47:22 +01:00
Łukasz 'sil2100' Zemczak
95103e3d36
Ensure seed part. is mounted; wait for getty
2020-01-24 18:34:40 +01:00
Łukasz 'sil2100' Zemczak
2ca3cc9720
Use the datestamp parameter (stored in NOW) instead of the newly added BUILD_ID.
2020-01-16 18:55:24 +01:00
Michael Hudson-Doyle
c35971f515
releasing package livecd-rootfs version 2.635
2.635
2019-12-14 21:01:23 +13:00
Michael Hudson-Doyle
a934e042d6
Merge branch 'lp-1855354' into ubuntu/master
2019-12-14 20:59:26 +13:00
Michael Hudson-Doyle
41f4f05cc4
bump version number
2019-12-14 20:59:21 +13:00
Łukasz 'sil2100' Zemczak
fc6d956269
Support generating a .disk/info file via ubuntu-image if BUILD_ID is passed from cdimage to the builder.
2019-12-13 18:13:36 +01:00
Łukasz 'sil2100' Zemczak
3fe3b18719
releasing package livecd-rootfs version 2.634
2.634
2019-12-13 17:45:56 +01:00
Michael Hudson-Doyle
f27b432026
ubuntu-cpc hooks are Different
2019-12-13 13:16:34 +13:00
Michael Hudson-Doyle
fb31b64a7c
preserve apt preferences for all projects
2019-12-13 13:16:34 +13:00
Michael Hudson-Doyle
d38ceab06d
fix in case of no preferences
2019-12-13 13:16:34 +13:00
Michael Hudson-Doyle
94c2d606ca
Preserve apt preferences created by any package we install (i.e. ubuntu-advantage-tools) against live-build's attempt to delete them. (LP: #1855354 )
2019-12-13 13:16:33 +13:00
David Krauser
b71d1f990e
Only build bootable buildd images for amd64
2019-12-12 13:54:32 -05:00
David Krauser
4a0b757dc7
Properly setup the chroot before using the network in buildd hook.
2019-12-12 13:51:25 -05:00
Łukasz 'sil2100' Zemczak
e35866df3e
releasing package livecd-rootfs version 2.633
2.633
2019-12-12 16:59:24 +01:00
Łukasz 'sil2100' Zemczak
474f232840
Snapd for uc20 model assertions does not support global channel overrides.
2019-12-12 16:58:42 +01:00
Michael Hudson-Doyle
93dd6d3ef4
releasing package livecd-rootfs version 2.632
2.632
2019-12-12 10:35:02 +13:00
David Krauser
612c731b26
Fix broken DNS in buildd image builds.
...
Instead of injecting an empty resolv.conf with an includes.chroot, we'll
inject it in late with a hook. The empty resolv.conf breaks DNS early in
the build, and causes some binary hooks to fail.
2019-12-11 15:06:11 -05:00
Łukasz 'sil2100' Zemczak
5511deae44
releasing package livecd-rootfs version 2.631
2.631
2019-12-11 16:12:32 +01:00
Łukasz 'sil2100' Zemczak
2258721d35
Add changelog entry.
2019-12-10 15:28:16 +01:00
Łukasz 'sil2100' Zemczak
a1daf38b93
Add support for Ubuntu Core 20 builds by supporting uc20 models.
2019-12-10 15:27:06 +01:00
Dimitri John Ledkov
4006326978
releasing package livecd-rootfs version 2.630
2.630
2019-12-09 14:47:37 +00:00
Dimitri John Ledkov
3551fc1a02
Ship two kernel flavours on desktop image.
2019-12-09 14:47:08 +00:00
Dimitri John Ledkov
39f675eaf6
Drop installing dummy transitional linux-signed-generic, these days linux-generic is always signed, on arches that need/support it.
2019-12-09 14:21:49 +00:00
Steve Langasek
2597ae2e81
releasing package livecd-rootfs version 2.629
2.629
2019-11-30 20:56:31 -08:00
Steve Langasek
aafbc0e9fe
Also make qemu-utils a non-i386 dependency, since it is only used for cloud images we're not making and pulls in a lot of other dependencies.
2019-11-30 20:56:26 -08:00
Steve Langasek
94b1b2af45
releasing package livecd-rootfs version 2.628
2.628
2019-11-29 21:47:07 -08:00
Steve Langasek
c86284f83d
Also make the ubuntu-image dependency arch-conditional, since ubuntu-image pulls in snapd.
2019-11-29 21:47:02 -08:00