3287 Commits

Author SHA1 Message Date
Thomas Bechtold
185a22afe5 Add debian/changelog 2023-09-19 13:56:43 +02:00
Thomas Bechtold
3b2eeb0171 fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)
Modifying directly /etc/ssh/sshd_config creates "problems" when
upgrading eg. from Focal to Jammy because the upgrade will ask the
user what to do with the modified config. To avoid that, put the
custom configuration into /etc/ssh/sshd_config.d/ so the upgrade of
openssh-server can just replace /etc/ssh/sshd_config without asking
the user.

(cherry picked from commit b54d24ff3310f7ace00ab08e0dacfdc89e026f1c)
2023-09-19 13:55:30 +02:00
Steve Langasek
0d2e6a7675 releasing package livecd-rootfs version 2.765.26 2.765.26 2023-09-07 13:01:56 -07:00
John Chittum
9b40297ccc
doc: open release 2023-09-07 14:40:33 -05:00
John Chittum
1184af06b0
fix: GRUB_DISTRIBUTION for buildd
LP: #2034253 Grub is found to use lsb_release or default to Debian.
buildd does not have lsb_release, so Debian was the GRUB_DISTRIBUTION.
that ends up with issues with the EFI path
2023-09-07 14:40:28 -05:00
Michael Hudson-Doyle
59732bc789 Remove additional dependencies from subiquity units as they are now interfering with the boot process. (LP: #2028862)
(cherry picked from commit 4f6f63dd6b53cc9eb44dfa09b2507e9406c8c923)
2.765.25
2023-08-28 14:15:58 -06:00
Dan Bungert
95c6b911f8 changelog 2023-08-28 14:14:33 -06:00
Utkarsh Gupta
280eed7ddd Add # for the tooling to pick up the bug 2.765.24 2023-08-21 15:20:50 +05:30
Utkarsh Gupta
2cb1124d3f Update d/ch for 2.765.24 release 2023-08-19 03:26:33 +05:30
Utkarsh Gupta
9ff66d60d9 Merge remote-tracking branch 'jessica-youjeong/062223-jammy-snap-preseeding' into ubuntu/jammy
* jessica-youjeong/062223-jammy-snap-preseeding:
  fix: bind correct apparmor feature for validating snap seed
2023-08-19 03:24:28 +05:30
John Chittum
41df4f5c92
fix: 6.2 kernel missing feature
LP: 2031943

Same issue as affected 5.19. 6.2 apparmor featureset differs from 5.15.
Identified the same feature as 5.19, so copied over.

populated 6.2 with all of generic directory as well. Compatibility mode for
possible future change
2023-08-18 14:04:34 -05:00
Jess Jang
6b54faa6be fix: bind correct apparmor feature for validating snap seed
During Realtime kernel image build, there was an error during
validating snap seed which derivative images copied 5.19
apparmor feature and can't validate when Realtime kernel (5.15)
installed [0].

To prevent this, bind correct apparmor feature with kernel
version.

[0] https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2024639
2023-08-02 22:37:22 -05:00
Łukasz 'sil2100' Zemczak
aec2395457 Add changelog entry. 2023-05-23 16:41:33 +02:00
Łukasz 'sil2100' Zemczak
32d9a1b82e Merge branch 'jammy-add-tegra-live-server' of git+ssh://git.launchpad.net/~lool/livecd-rootfs/+git/jammy-add-tegra-live-server into ubuntu/jammy 2023-05-23 16:37:15 +02:00
Steve Langasek
423a4936f6 releasing package livecd-rootfs version 2.765.22 2.765.22 2023-05-18 15:19:44 -07:00
Steve Langasek
4e2f279f9c Fix up changelog to have proper LP bug ref 2023-05-18 15:19:33 -07:00
Steve Langasek
5ac4df3a1a Drop use of --removable flag to grub-install from buildd/hooks
This now matches the cloud images (7c760864fdcb278ca37396f06f5e3f297428d63d)
fixing bootloader updates in the buildd images, but also fixing
compatibility with using devtmpfs for losetup.
2023-05-18 15:16:29 -07:00
Steve Langasek
9e370c2ce4 releasing package livecd-rootfs version 2.765.21 2.765.21 2023-04-10 08:05:41 -07:00
Loïc Minier
35fef6becf Initial support for NVIDIA Tegra
live-build/auto/config:
- for Ubuntu Server live images and the arm64+tegra full arch, build a
  tegra variant with linux-nvidia-tegra as the flavor and
  linux-nvidia-tegra as the kernel meta-package
- default to nvidia-$SUBARCH as the kernel flavor and enable all
  components for all images using arm64+tegra as full arch

hooks/03-kernel-metapkg.chroot_early:
- use linux-nvidia-tegra as kernel meta-package for the nvidia-tegra
  flavor
2023-04-08 18:23:38 +00:00
John Chittum
85c6eb1535
open 2.765.21 in changelog 2023-04-07 14:51:59 -05:00
John Chittum
e1fca53deb
feat: add 5.19 kernel apparmor features
the 5.19 kernel added ipc posix_mqueue apparmor features. the generic
set of apparmor features for the 5.15 LTS jammy kernel does not have
this feature. Along with the commit "support kernel with different
apparmor feats", this ensures that the HWE kernel for 5.19 has a
matching set.

note that on the next HWE roll, another directory will need to be added.
For each new HWE kernel roll, checking capabilities, creating the
directory, and adding the correct features will be required.
2023-04-07 09:36:30 -05:00
John Chittum
bd1690bd16
feat: support kernel with different apparmor feats
Jammy HWE is rolling to 5.19. the 5.19 kernel introduced more apparmor
features, specifically ipc. due to the roll, we now must support builds
with 2 different feature sets.

This specifically affects snap-preseeding, where if a snap_preseed is
run with a mismatched apparmor feature set, snap will require a restart
to match the running kernel's feature set. in the clouds, this can add
somehwere between 5-10s (as of checks on 20230404). This is a large boot
time performance hit.

Implementation is done at the `snap_validate_seed` function level. This
function is called in snap scenarios. It checks for an installed kernel
in the chroot, gets the major.min version, and checks for
apparmor/$KERN. If found, it will do a copy of the directory, providing
a naive override mechanism.

For CPC builds, we are adding a call to `snap_validate_seed` at the end
of affected hooks as well. This is a safe procedure to call, as it
reruns the snap_preseed for all snaps. By running at the end of build
processes, it ensures that any kernel changes done during the build are
taken into account.
2023-04-07 09:30:38 -05:00
Łukasz 'sil2100' Zemczak
3effc18b69 releasing package livecd-rootfs version 2.765.20 2.765.20 2023-03-17 12:37:35 +01:00
Łukasz 'sil2100' Zemczak
2075062139 Enable building intel-iot live-server images. 2023-03-17 12:34:42 +01:00
Dimitri John Ledkov
54f134a9c7
releasing package livecd-rootfs version 2.765.19 2.765.19 2023-03-02 18:21:46 +00:00
Dimitri John Ledkov
632753aa7c
auto/config: Add support for ubuntu core arm64 generic images
LP: #2009067

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-03-02 18:14:12 +00:00
Łukasz 'sil2100' Zemczak
be40105056 releasing package livecd-rootfs version 2.765.18 2.765.18 2023-02-23 00:33:00 +01:00
Łukasz 'sil2100' Zemczak
5bd8a465a6 Typo fix. 2023-02-23 00:30:40 +01:00
Łukasz 'sil2100' Zemczak
cccc04e0c1 Fix path. 2023-02-23 00:27:02 +01:00
Łukasz 'sil2100' Zemczak
5b99af28d0 Terrible workaround 2023-02-22 23:59:40 +01:00
Łukasz 'sil2100' Zemczak
19fdc77c2f releasing package livecd-rootfs version 2.765.17 2.765.17 2023-02-20 17:30:31 +01:00
Łukasz 'sil2100' Zemczak
87dcf0de62 Do not offer the hwe kernel for RISC-V server-live images 2023-02-20 17:30:01 +01:00
Łukasz 'sil2100' Zemczak
69b372ced7 releasing package livecd-rootfs version 2.765.16 2.765.16 2023-02-16 14:25:07 +01:00
Łukasz 'sil2100' Zemczak
cc849656bf Add changelog. 2023-02-16 14:24:51 +01:00
Łukasz 'sil2100' Zemczak
06fd5dacc3 Missed one place for handling lowlatency kernels flavours. 2023-02-16 14:23:53 +01:00
Łukasz 'sil2100' Zemczak
eceece62a6 releasing package livecd-rootfs version 2.765.15 2.765.15 2023-02-08 09:59:16 +01:00
Łukasz 'sil2100' Zemczak
949f53cd4e Typo fix. 2023-02-08 09:58:13 +01:00
Łukasz 'sil2100' Zemczak
e5e4051ff4 ...piggyback flavor changes as well. 2023-02-07 16:08:54 +01:00
Łukasz 'sil2100' Zemczak
57fbcb4efd Enable the hwe kernel variant for 22.04.2. 2023-02-07 15:39:32 +01:00
Utkarsh Gupta
7205e76b79 Update d/ch for 2.765.14 release 2.765.14 2022-12-12 15:32:01 +05:30
Utkarsh Gupta
1278ff9231 Clean up whitespaces 2022-12-12 15:31:52 +05:30
Samir Akarioh
06dff46b6b feat: Add metadata on ubuntu-oci image
Add a file build.info on etc/cloud
with the serial information

Signed-off-by: Samir Akarioh <samir.akarioh@canonical.com>
(cherry picked from commit 105acdebc783291f740294b5c317f3e6d2da9de4)
2022-11-22 12:20:31 +01:00
Łukasz 'sil2100' Zemczak
f90114c966 releasing package livecd-rootfs version 2.765.13 2.765.13 2022-11-21 13:24:04 +01:00
Łukasz 'sil2100' Zemczak
1b50e4284c Prepare changelog entry. 2022-11-21 13:23:38 +01:00
Łukasz 'sil2100' Zemczak
7cbd320b6c Merge branch 'jammy-riscv64' of git+ssh://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/jammy 2022-11-21 11:18:04 +01:00
Steve Langasek
a1872718fa releasing package livecd-rootfs version 2.765.12 2.765.12 2022-11-18 14:52:54 -08:00
Steve Langasek
50dd546606 Update changelog to document full list of removed packages. 2022-11-18 14:52:31 -08:00
Steve Langasek
481920f28b Remove modemmanager and udisks2 from cloud images in addition to fwupd. The use of tasks at install means all packages are marked manually installed in the apt database, so removing fwupd does not remove its dependencies. LP: #1981109. 2022-11-18 14:51:49 -08:00
Steve Langasek
3fe7a19c52 Remove fwupd from the cloud images. LP: #1981109. 2022-11-18 14:51:18 -08:00
Heinrich Schuchardt
591b0a3432 riscv64: use efi=debug earlycon
RISC-V boards tend to boot slowly.
We should provide progress information when booting.

Use 'efi=debug earlycon' on the Linux command line via new file
/etc/default/grub.d/cmdline.cfg.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-11-17 11:21:59 +01:00