3274 Commits

Author SHA1 Message Date
Ł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
Łukasz 'sil2100' Zemczak
0fa7ab23ed Add an additional subdir. 2022-11-17 11:21:59 +01:00
Heinrich Schuchardt
0016cada16 riscv: reduce initrd size for Nezha and LicheeRV boards
The Nezha and the LicheeRV boards do not have enough memory for an initrd
with most modules. Therefore the number of included modules has to be
reduced.

Create file /etc/initramfs-tools/conf.d/modules_list.conf
to set MODULES=list.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-11-17 11:21:59 +01:00
Heinrich Schuchardt
c4dc7bce4c riscv: remove invalid redirections
Remove redirections of type

    command &1>2

Executing the command in the background and creating and empty file '2'
was never intended.

As the messages are information only redirecting to stderr would not make
sense either.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-11-17 11:21:59 +01:00
Alexandre Ghiti
8ba2493a80 riscv: LicheeRV must use u-boot-nezha package
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-11-17 11:21:59 +01:00
Alexandre Ghiti
0940dd3cd8 riscv: Add support to build Microchip Icicle Kit image
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>

Replace FK_FORCE_CONTAINER by FK_FORCE (LP: #1989194)
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-11-17 11:21:59 +01:00
Alexandre Ghiti
e9004e6273 riscv: Add support to build LicheeRV Dock images
The LicheeRV Dock board comes with only 512MB of DRAM so the only difference
with a Nezha image is the fact that we have to remove
cryptsetup-initramfs package which makes the initrd too big for the
board to boot.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-11-17 11:21:59 +01:00
William Wilson
6939cb42d5 Rename FK_FORCE_CONTAINER to FK_FORCE 2.765.11 2022-10-19 10:03:04 -05:00
Steve Langasek
bb502f1e8f releasing package livecd-rootfs version 2.765.10 2.765.10 2022-08-04 12:11:57 -07:00
Steve Langasek
9da86ba533 The ubuntustudio dkms hook is only created when we're building ubuntustudio, so only chmod it when it exists. LP: #1983521. 2022-08-04 12:11:50 -07:00
Łukasz 'sil2100' Zemczak
ed328b1c84 releasing package livecd-rootfs version 2.765.9 2.765.9 2022-08-04 17:24:35 +02:00
Łukasz 'sil2100' Zemczak
80cb6a4a1e Backport fix for cloud RISC-V images from kinetic. 2022-08-04 17:24:12 +02:00
ce9549372a Manually blacklist DKMS modules for Ubuntu Studio builds (LP: #1983521). 2.765.8 2022-08-03 19:15:15 -05:00
Łukasz 'sil2100' Zemczak
e7a198578b releasing package livecd-rootfs version 2.765.7 2.765.7 2022-07-28 14:21:36 +02:00