3557 Commits

Author SHA1 Message Date
David Krauser
1ca1330eae Boot with an initramfs by default in cloud images
Generic cloud images with the linux-generic kernel are not able to
boot without an initramfs. Previously, these images attempted to boot
without an initramfs, would fail, and then retry with an initramfs.
This slows the boot and is confusing behavior.
2020-07-08 17:13:49 -04:00
Dimitri John Ledkov
4f11f40c96 releasing package livecd-rootfs version 2.669 2.669 2020-06-25 18:02:57 +01:00
Dimitri John Ledkov
1ff35cf438 chroot: disable amd64 codepath on riscv64 2020-06-24 16:08:31 +01:00
Dimitri John Ledkov
04c2fda36c releasing package livecd-rootfs version 2.668 2.668 2020-06-23 15:05:15 +01:00
Dimitri John Ledkov
90602e00de Merge branch 'empty-fstab-in-lxd' of git+ssh://git.launchpad.net/~rbalint/livecd-rootfs into ubuntu/master 2020-06-23 15:04:46 +01:00
Steve Langasek
05d219a319 add changelog entry for hyperv changes 2020-06-22 08:46:23 -07:00
Steve Langasek
4a02400dec Merge remote-tracking branch 'callmepk/hyper-v-fix' into ubuntu/master 2020-06-22 08:45:21 -07:00
Balint Reczey
f96e874ed1 Remove fstab from squashfs images
The default fstab is not valid, since squashfs does not support labels.

LP: #1877078
2020-06-16 22:14:59 +02:00
Łukasz 'sil2100' Zemczak
40103430d8 Enable overrides of UC20 grade dangerous channels 2020-05-25 19:11:22 +02:00
Philip Roche
60665a434b Revert of initramfs package removal in KVM image (LP: #1875400)
It was reported and confirmed in LP bug #1875400
(https://bugs.launchpad.net/cloud-images/+bug/1875400) that on the public
KVM cloud image there exists a large list of packages marked for auto-removal.

This should never be the case on a released cloud image.

These packages are marked for auto-removal because in the KVM image binary hook
we removed both initramfs-tools and busybox-initramfs packages. Due to package
dependencies this also removed:

busybox-initramfs* cloud-initramfs-copymods* cloud-initramfs-dyn-netconf*
cryptsetup-initramfs* initramfs-tools* initramfs-tools-core* multipath-tools*
overlayroot* sg3-utils-udev* ubuntu-server*

But it did not remove all the packages that the above list depended on.
This resulted in all those packages being marked for auto-removal because they
were not manually installed nor did they have any manually installed packages
that depended on them.

The removal of initramfs-tools and busybox-initramfs was to avoid the
generation of initramfs in images that should boot initramfsless.

This requirement is obsolete now because the initramfsless boot handling
is now handled via setting GRUB_FORCE_PARTUUID in /etc/default/grub.d/40-force-partuuid.cfg.

In test images I have verified that GRUB_FORCE_PARTUUID is set and that
boot speeds have not regressed.

LP: #1875400
2.667
2020-05-18 17:08:30 +01:00
Dimitri John Ledkov
9640e60515 releasing package livecd-rootfs version 2.666 2.666 2020-05-12 12:29:58 +01:00
Dimitri John Ledkov
dbf5b84bc8 Merge branch 'xnox/lxd-add-riscv64' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-12 12:28:56 +01:00
Dimitri John Ledkov
1979e61c36 Merge branch 'kpartx-fun' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2020-05-12 12:19:32 +01:00
Dimitri John Ledkov
29b99b70ec Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/~rbalint/livecd-rootfs into ubuntu/master 2020-05-12 11:51:46 +01:00
Dimitri John Ledkov
bb9a7dd43e make-lxd-metadata: add riscv64 lxd architecture tag 2020-05-11 14:20:34 +01:00
Jinming Wu, Patrick
81b1cbbfc2
Add extra policy for xrdp session 2020-05-11 19:45:04 +08:00
Jinming Wu, Patrick
8d26a3036c
force to use systemwide config 2020-05-11 19:43:27 +08:00
Jinming Wu, Patrick
c9a2d8abad
Hyper-V: remove legacy option 2020-05-11 19:39:38 +08:00
Dimitri John Ledkov
b9177cfd59 Fixup indentation
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2020-05-07 15:09:57 +01:00
Jinming Wu, Patrick
bc24ef964e
hyper-v enhanced mode fix: port change 2020-05-05 18:03:10 +08:00
Dimitri John Ledkov
3575edfb4d releasing package livecd-rootfs version 2.665 2.665 2020-05-01 20:00:13 +01:00
Dimitri John Ledkov
3f4a3c6fa0 Merge branch 'xnox/riscv64' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-01 19:58:17 +01:00
Dimitri John Ledkov
50dc35bb17 ubuntu-image: drop ubuntu-image dep on riscv64, as not installable yet. (LP: #1876359) 2020-05-01 19:56:18 +01:00
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