3784 Commits

Author SHA1 Message Date
Brian Murray
48b5d89e15 arm: fix console parameter for ARM cloud-images (LP: #2036730) 2023-12-06 11:30:25 -08:00
Philip Roche
558d393333 Merge bugfix/ubuntu-cpc-LP-2038957-ppc64el-vmlinux-mantic into ubuntu/mantic [a=philroche] [r=andrew-cloke,vorlon]
fix: Enable snap preseeding with ppc64el images where /boot/vmlinux is used instead of /boot/vmlinuz. (LP: #2038957)

ppc64el still uses /boot/vmlinux so we need to determine the boot file name as non ppc64el use /boot/vmlinuz. This
is then used to determine the kernel major minor version installed so that the correct apparmor features can be used
during snap preseeding. This preseeding was failing for ppc64el for the mantic 6.5 kernel as the /boot/vmlinuz
being checked did not exist.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/454045
23.10.56
2023-10-27 12:50:15 +01:00
Philip Roche
07f26cb78e fix: Enable snap preseeding with ppc64el images where /boot/vmlinux is used instead of /boot/vmlinuz. (LP: #2038957)
ppc64el still uses /boot/vmlinux so we need to determine the boot file name as non ppc64el use /boot/vmlinuz. This
is then used to determine the kernel major minor version installed so that the correct apparmor features can be used
during snap preseeding. This preseeding was failing for ppc64el for the mantic 6.5 kernel as the /boot/vmlinuz
being checked did not exist.
2023-10-11 11:45:36 +01:00
Utkarsh Gupta
14778d8aa8 Update d/ch for 23.10.55 release 23.10.55 2023-10-05 18:05:20 +05:30
John Chittum
5427e5ad6c
fix: Add 6.5 kernel apparmor feats
lp: #2037567. starting in kernel 6.5.0.1006, there's been an update to
apparmor features. Creates the 6.5 kernel directory, fully populates
with feats checked from a machine running 6.5.0.1006 installed from
proposed (as of 20230927).
2023-10-05 07:30:01 -05:00
Sebastien Bacher
00508edc13 releasing package livecd-rootfs version 23.10.54 2023-10-03 22:33:43 +02:00
Sebastien Bacher
51b7278c4b Update the desktop fde model to include firmware-updater 2023-10-03 21:13:03 +02:00
Dan Bungert
089e773f26 changelog 23.10.53 2023-10-03 10:43:38 -06:00
Dan Bungert
2cccd614a6 oem, budgie: kernel in the live layer 2023-10-03 10:43:35 -06:00
Steve Langasek
7b11e47acf releasing package livecd-rootfs version 23.10.52 23.10.52 2023-10-02 18:13:26 -07:00
Steve Langasek
fadeb495e3 remove ssl-cert "snakeoil" private keys from images, since this makes them not very private. LP: #2037869. 2023-10-02 18:06:26 -07:00
Steve Langasek
fdf0091580 Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-project-images-not-producing-all-expected-filelists-LP-2033751' into ubuntu/master 2023-10-02 17:00:28 -07:00
Steve Langasek
85606c8b9d Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-filelist-sort-LP-2033677' into ubuntu/master 2023-10-02 16:57:29 -07:00
Dan Bungert
42d5a97576 changelog for 23.10.51 23.10.51 2023-10-02 15:00:44 -06:00
Dimitri John Ledkov
dc7519a44a Create subiquity meta-package hint 2023-10-02 17:28:40 +01:00
Dimitri John Ledkov
deb31732db Ensure chroot_linux-image is only exectued on live layers
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-10-02 10:39:30 +01:00
Dimitri John Ledkov
d5e9651fe0 remove live-build/ubuntu/hooks/020-ubuntu-live.binary: handled elsewhere
Now that kernel names use expected -generic flavour, and kernels are
installed in the live layer, we can go back to stock behaviour of
auto/build noticing that binary hooks are called on a live layer and
executing the extraction & rename of the kernel flavours.

BTW we can even later expand that to support 2 generic abis, and
calling the bigger one the hwe generic such that can also remove
./live-build/ubuntu-server/hooks/04-kernel-bits.binary.

This fixes ubuntu arm64+x13s that is unable to find
ubuntu-x13s.kernel-laptop as due to this hook, which currently
produces ubuntu.kernel-generic in error which is not at all expected
by ubuntu-cdimage. Also this unbreaks producing oem & intel-iot
images, although we will build these in 24.04 only next.

This reverts ubuntu daily-live to use `--linux-flavours
laptop-generic-hwe-22.04` instead of `--linux-flavours none
--linux-packages=none --initramfs=none`, like it did in lunar and
pre-canary-image or images that install kernel in live layer.

Fixes: c00bbf3fb3 ("desktop: place kernel in the live layer")

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-10-02 10:39:29 +01:00
Dimitri John Ledkov
1180791b48 releasing package livecd-rootfs version 23.10.50 23.10.50 2023-09-29 21:36:12 +01:00
Dimitri John Ledkov
ecb60bd158 Merge remote-tracking branch 'xnox/fix-x13s-try2' into ubuntu/master 2023-09-29 21:35:52 +01:00
Dimitri John Ledkov
378322380e live-build/ubuntu/hooks: ensure kernel artifacts named with subarch
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-09-29 04:45:12 +01:00
Steve Langasek
546217868f releasing package livecd-rootfs version 23.10.49 23.10.49 2023-09-27 22:37:50 -07:00
Steve Langasek
9468c51c0f Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-LP-2037074-flashkernel-removal' into ubuntu/master 2023-09-27 14:20:14 -07:00
Steve Langasek
c79ee20bae releasing package livecd-rootfs version 23.10.48 23.10.48 2023-09-27 12:49:06 -07:00
Steve Langasek
6c4b217a6b changelog 2023-09-27 12:49:00 -07:00
Steve Langasek
e5d3ec78f6 Merge remote-tracking branch 'xnox/X13s' into ubuntu/master 2023-09-27 12:46:01 -07:00
Philip Roche
cf15cc4810 fix: arm flash-kernel removal from ubuntu-cpc project cloud images (LP: #2037074)
With the migration from linux-kvm to linux-virtual/generic for the mantic minimal
images we can now start building arm64 minimal cloud images.

When building initial test images we noticed that the flash-kernel package was being
installed. This is not required for EFI images.

This commit removes the flash-kernel package from the cloud images arm installs

The only images built using the livecd-rootfs ubuntu-cpc project for arm64 and armhf
which are not cloud images (which therefore do not require flash-kernel) are the
raspi images. raspi does require flash-kernel. But the raspi images use the
`ubuntu-server-raspi` task to install the flash-kernel. As such this non raspi
flash-kernel package install can be completely removed.

It also means that initramfs-tools and dracut-install are installed as these are dependencies
of flash-kernel package.
2023-09-27 11:36:51 +01:00
Dimitri John Ledkov
f1ab0f33c8 lowercase
Gbp-Dch: ignore
2023-09-27 00:02:57 +01:00
Steve Langasek
4677659484 releasing package livecd-rootfs version 23.10.47 23.10.47 2023-09-26 15:04:13 -07:00
Dimitri John Ledkov
f3a33b7dce Add support for X13s subarch
Add mapping to use laptop-23.10 kernel. Ensure that
enhanced-secureboot is only setup on amd64 arch.

LP: #2037099

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-09-26 18:54:39 +01:00
Philip Roche
1a884c1427 fix: Ensure that grub/shim package installs do not install recommends for minimized ubuntu-cpc image builds (LP: #2037075)
minimized cloud image policy, introduced in version 23.10.16, is to not install recommends for any package
installs during build. This is to keep the image as small as possible. This also extends to
the grub related packages.

This solves the problems detailed in LP: #2037075 and aligns other arches more with amd64 install of
grub/shim packages for both minimized and non minimized ubuntu-cpc cloud image builds.
2023-09-26 18:08:09 +01:00
Michael Hudson-Doyle
94ea97758d add changelog for previous merge 2023-09-26 15:11:53 +13:00
Michael Hudson-Doyle
e349c38b77 Merge remote-tracking branch 'simpoir/lp2037338_var_scoping' into ubuntu/master 2023-09-26 15:10:46 +13:00
Simon Poirier
f3114e7fb5 fix: fix var used before declaration in snap_validate_seed
Fix use of variable declared in conditional branch and used in parent
scope in snap_validate_seed. This would affect binary for images without
kernel and using "set -u". (LP: #2037338)
2023-09-25 19:31:58 -04:00
Dan Bungert
1637ed0609 changelog for budgie sources 23.10.45 2023-09-25 13:57:40 -06:00
Dan Bungert
ad6f99a9bf budgie: include universe & multiverse 2023-09-25 09:53:48 -06:00
Steve Langasek
3f0ac95248 releasing package livecd-rootfs version 23.10.44 23.10.44 2023-09-22 10:59:00 -07:00
Steve Langasek
0b1caf70c5 Fix the subarch here as well 2023-09-22 10:58:48 -07:00
Steve Langasek
16450169d9 Fix the subarch used in the hook to identify images for sifive unmatched. LP: #2037060. 2023-09-22 10:58:47 -07:00
Utkarsh Gupta
ffb064925f Update d/ch for 23.10.43 release 23.10.43 2023-09-22 15:02:15 +05:30
Utkarsh Gupta
fdf8779e8d Get rid of all whitespaces in d/ch 2023-09-22 15:01:41 +05:30
Steve Langasek
5e38cbea1d Changelog 2023-09-22 02:13:53 -07:00
Utkarsh Gupta
12a2109c22 fix: install LXD snap from stable/ubuntu-<version> channel (LP: #2036725)
In the past, we'd directly snap install lxd which defaults to
the latest/stable channel. However, whilst working on enhancing
unminimize, it was observed that we install this snap from
the stable/ubuntu-<version> channel instead.

This was also noted as a failure when running the CTF tests:
`lxd installed from latest/stable, not stable/ubuntu-23.10`
2023-09-22 13:05:29 +05:30
Steve Langasek
2712c65939 word wrapping 23.10.42 2023-09-19 10:34:28 -07:00
Philip Roche
2e8544186b Update d/ch for 23.10.42 release 2023-09-19 17:03:50 +01:00
Philip Roche
a5c5883712 fix: Fix the missing fi with the recent changes in the unminimize script for ubuntu-cpc project (LP: #2036591)
Fixes bug introduced in commit 75db56ce

The missing if statement end `fi` caused build failures due to syntax errors.
2023-09-19 17:02:56 +01:00
Steve Langasek
308f52ecf0 releasing package livecd-rootfs version 23.10.41 23.10.41 2023-09-19 08:21:05 -07:00
Steve Langasek
6820ef310c Merge remote-tracking branch 'toabctl/boot-partition' into ubuntu/master 2023-09-19 08:20:12 -07:00
Utkarsh Gupta
e26b264b0d Update d/ch for 23.10.40 release 23.10.40 2023-09-19 14:06:13 +05:30
Utkarsh Gupta
75db56ce61 Merge branch 'enhance-minimize' into ubuntu/master
* enhance-minimize:
  Install linux-virtual to restore the stripped headers
  Enhance unminimize to transform into a base image for ubuntu-cpc
2023-09-19 14:05:13 +05:30
Steve Langasek
a7e4887525 releasing package livecd-rootfs version 23.10.39 23.10.39 2023-09-18 15:06:28 -07:00