3334 Commits

Author SHA1 Message Date
Dimitri John Ledkov
282c5a5bd5 ubuntu-image: drop ubuntu-image dep on riscv64, as not installable yet.
LP: #1876359
2020-05-01 19:55:31 +01:00
Dimitri John Ledkov
ecfe6658fc Merge branch 'xnox/fix-pi-models' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-01 19:53:29 +01:00
Dimitri John Ledkov
e25aec1ca2 ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name. (LP: #1876358) 2020-05-01 19:52:02 +01:00
Dimitri John Ledkov
6e8b5b94c4 ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name.
LP: #1876358
2020-05-01 19:50:41 +01:00
Dimitri John Ledkov
99e129f30c Merge branch 'xnox/lp-uc20-8gb' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-01 19:48:27 +01:00
Dimitri John Ledkov
e013459a08 Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible. (LP: #1875430) 2020-05-01 19:47:17 +01:00
Dimitri John Ledkov
668898d92c Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible.
LP: #1875430
2020-05-01 19:43:30 +01:00
Robert C Jennings
1f120d7c89
Release 2.664 2.664 2020-04-17 11:03:44 -05:00
Robert C Jennings
86b455ce9e
Merge vagrant_40_gb into ubuntu/master [a=patviafore] [r=rcj]
Make Ubuntu Vagrant box 40G. (LP: #1580596)

Vagrant images were previously put at 10G, but this was a regression
from Trusty, in which they were 40G. This made it a tough sell for
users to upgrade if they were using a Ubuntu desktop experience.

This change does not impact disk usage as Vagrant with the virtualbox
provider dynamically allocates space with the VMDK. On a test system,
the VMDK took up 1.1G of disk space according to df, and after
creating a 2G file in Vagrant, the VMDK grew to 3.1G.

Therefore, users who are running on a system with little free space
will not see adverse effects if they upgrade to a new vagrant image

MP: https://code.launchpad.net/~patviafore/livecd-rootfs/+git/livecd-rootfs/+merge/382509
2020-04-17 11:02:56 -05:00
Pat Viafore
2c70ed158b
Make Ubuntu Vagrant box 40G. (LP: #1580596)
Vagrant images were previously put at 10G, but this was a regression
from Trusty, in which they were 40G.  This made it a tough sell for
users to upgrade if they were using a Ubuntu desktop experience.

This change does not impact disk usage as Vagrant with the virtualbox
provider dynamically allocates space with the VMDK.  On a test system,
the VMDK took up 1.1G of disk space according to df, and after
creating a 2G file in Vagrant, the VMDK grew to 3.1G.

Therefore, users who are running on a system with little free space will
not see adverse effects if they upgrade to a new vagrant image
2020-04-17 10:17:18 -05:00
Dimitri John Ledkov
85e91ddc79 releasing package livecd-rootfs version 2.663 2.663 2020-04-17 00:58:42 +01:00
Dimitri John Ledkov
ad64e38c48 Run snap info on the downloaded snap, rather than against the store. First of all snap info doesn't have --channel argument, thus queries the wrong channel, and depening on the cohort, a different snap might be visible too. Thus seed the base of the snap revision we dowanloaded, rather than some random one from the store. 2020-04-17 00:58:32 +01:00
Dimitri John Ledkov
28b531d1ea releasing package livecd-rootfs version 2.662 2.662 2020-04-16 23:54:41 +01:00
Dimitri John Ledkov
a21a67ab52 Print subiquity ssh login details on s390x line based consoles. 2020-04-16 23:54:27 +01:00
Dimitri John Ledkov
d5850291ca releasing package livecd-rootfs version 2.661 2020-04-16 01:33:53 +01:00
Dimitri John Ledkov
56ac1865f7 Switch Ubuntu desktop to only hwe-20.04 kernel flavour. 2020-04-16 01:30:31 +01:00
Dimitri John Ledkov
f93108006f releasing package livecd-rootfs version 2.660 2.660 2020-04-12 15:42:09 +01:00
Dimitri John Ledkov
a80c68d47b Remove dependencies on qemu-utils and snapd on riscv64, we don't have those yet, but at least we can be on parity with i386 livecd-rootfs already. 2020-04-12 15:42:00 +01:00
Robert C Jennings
49fe13a619
Merge bugfix/snapd_for_core18 into ubuntu/master [a=rcj] [r=vorlon]
Ensure snapd is seeded in core18-only images (and no implicit core snap)

The _snap_post_process function is meant to install snapd if core18 is the
only core snap installed or removed snapd if core is installed and snapd
was not explicitly installed. But the current logic in _snap_preseed
will never call _snap_post_process. $core_name will never be empty
with the existing logic, but even if it were that would only be for the
'core' snap and we'd miss using the 'core18' logic that pulls in snapd.
Given the case statement in _snap_post_process can handle doing the
right thing given any snap we can just call it unconditionally.

Seeing any snap via snap_preseed will evaluate the base for each snap
and seed the appropriate base. There should be no reason to explicitly
seed the 'core' snap and with snaps moving to 'core18' this will add
'core' without need.

MP: https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/382041
2.659
2020-04-10 06:34:52 -05:00
Robert C Jennings
903e743c79
Release 2.659 2020-04-09 15:36:27 -05:00
Robert C Jennings
66041e9d8c
Do not unconditionally install the core snap
Seeing any snap via snap_preseed will evaluate the base for each snap
and seed the appropriate base.  There should be no reason to explicitly
seed the 'core' snap and with snaps moving to 'core18' this will add
'core' without need.
2020-04-09 14:38:45 -05:00
Robert C Jennings
14066ce389
Fix logic to ensure snapd is seeded in core18-only images
The _snap_post_process function is meant to install snapd if core18 is the
only core snap installed or removed snapd if core is installed and snapd
was not explicitly installed.  But the current logic in _snap_preseed
will never call _snap_post_process.  $core_name will never be empty
with the existing logic, but even if it were that would only be for the
'core' snap and we'd miss using the 'core18' logic that pulls in snapd.
Given the case statement in _snap_post_process can handle doing the
right thing given any snap we can just call it unconditionally.
2020-04-09 14:36:35 -05:00
Dimitri John Ledkov
528ec787ed Remove dependencies on qemu-utils and snapd on riscv64, we don't have those yet, but at least we can be on parity with i386 livecd-rootfs already. 2020-04-09 17:05:49 +01:00
Łukasz 'sil2100' Zemczak
50f3d90c9f releasing package livecd-rootfs version 2.658 2.658 2020-04-08 10:08:23 +02:00
Łukasz 'sil2100' Zemczak
d2a2ac41a4 Use the raspi KERNEL_FLAVOUR for the raspi images. 2020-04-08 10:06:09 +02:00
Dimitri John Ledkov
c6febea65e releasing package livecd-rootfs version 2.657 2.657 2020-04-03 13:03:01 +01:00
Dimitri John Ledkov
0415e42026 server: networkd applies the first sorted matching network file, thus prefix 'all' fallback networks with 'zz-'. 2020-04-03 12:59:05 +01:00
Robert C Jennings
3b6cb7e19e
releasing package livecd-rootfs version 2.656 2.656 2020-03-31 09:57:04 -05:00
Robert C Jennings
dcded9305c
Merge branch 'focal-buildd-fix-dns' of lp:~davidkrauser/livecd-rootfs/+git/livecd-rootfs into ubuntu/master
Safely set /etc/resolv.conf to an empty file in buildd images

MP: https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/381316
2020-03-31 09:55:29 -05:00
David Krauser
8bc9cb77a1 Safely set /etc/resolv.conf to an empty file in buildd images
In the buildd image chroot, /etc/resolv.conf is a symbolic link to
a configuration file in the /run directory. A call to truncate will
modify that file, which we should not do. Instead, we want to remove
the symbolic link and replace it with an empty file.
2020-03-27 15:17:05 -04:00
David Krauser
1aef616afd Include -security and -updates packages in bootable buildd images
The base image is built with packages from the release pocket; however,
we want the latest from updates and security. Those pockets are already
enabled, we just need to perform an upgrade to pull in the latest
packages.
2020-03-26 15:44:05 -04:00
Michael Hudson-Doyle
2498aadebb Call udevadm settle before kpartx -d
Back in 2017 some code was added to ignore failures tearing down loop
devices. But debugging that growpart race on cloud images made me (very)
aware of a potential cause of the race: doing something like zerofree on
a device will cause udev scripts to run, and if they are still running
by the time kpartx is called, you would expect the kpartx -d to fail. So
lets see if a udevadm settle helps, and get rid of one of the "sometimes
this fails but we don't know why" comments...
2020-03-21 00:08:07 +13:00
Dimitri John Ledkov
8f76e539b1 releasing package livecd-rootfs version 2.655 2.655 2020-03-16 10:42:39 +00:00
Dimitri John Ledkov
cb574d4cb3 minimized: reinstall packages one by one, instead of all of them together, as otherwise apt fails to immediately configure libc6:amd64 & libgcc-s1. LP: #1867607 2020-03-16 10:42:30 +00:00
Dimitri John Ledkov
536f72351f releasing package livecd-rootfs version 2.654 2.654 2020-03-13 20:20:23 +00:00
Dimitri John Ledkov
910310dbbb Only install oem-20.04 kernel flavour on amd64, as it doesn't exist on other arches. 2020-03-13 20:18:16 +00:00
Michael Hudson-Doyle
299b6c51c9 releasing package livecd-rootfs version 2.653 2.653 2020-03-11 09:56:51 +13:00
Michael Hudson-Doyle
7f09a42d85 Stop trying to extract autoinstall config during boot, subiquity will do it instead. 2020-03-10 10:42:32 +13:00
Łukasz 'sil2100' Zemczak
cc70b57026 releasing package livecd-rootfs version 2.652 2.652 2020-03-09 10:02:00 +01:00
Łukasz 'sil2100' Zemczak
091976c4a6 Merge branch 'fix-raspi-gadgets' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-03-09 10:00:34 +01:00
Michael Hudson-Doyle
a1a3925250 releasing package livecd-rootfs version 2.651 2.651 2020-03-06 17:07:51 +01:00
Michael Hudson-Doyle
4346c47007 Merge branch 'subiquity-waiting' into ubuntu/master 2020-03-06 17:06:37 +01:00
Michael Hudson-Doyle
c3e895fd73 add bug ref to changelog 2020-03-06 13:39:20 +01:00
Michael Hudson-Doyle
6e68a3f13c Do not start subiquity until cloud-final and snapd.seeded have completed. 2020-03-06 13:38:52 +01:00
Łukasz 'sil2100' Zemczak
40c51f78b8 Switch to using the generic pi gadget repo for classic, use the main branches. 2020-03-06 11:57:47 +01:00
Łukasz 'sil2100' Zemczak
54c68b69b4 releasing package livecd-rootfs version 2.650 2.650 2020-03-06 11:40:43 +01:00
Łukasz 'sil2100' Zemczak
95772fd9df Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into u-i-disk-info 2020-03-06 11:38:42 +01:00
Michael Hudson-Doyle
2b47f98242 releasing package livecd-rootfs version 2.649 2.649 2020-03-05 15:36:31 +01:00
Michael Hudson-Doyle
49e550fb9e Fix autoinstall-extracting runcmd in the case no user-data is passed. 2020-03-05 15:36:19 +01:00
Michael Hudson-Doyle
226a31dfe0 releasing package livecd-rootfs version 2.648 2.648 2020-03-04 16:10:46 +01:00