3256 Commits

Author SHA1 Message Date
Ł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
Łukasz 'sil2100' Zemczak
31ea439043 Pre-install wpasupplicant on all the RISC-V preinstalled images (besides cloud). 2022-07-28 14:18:33 +02:00
Łukasz 'sil2100' Zemczak
f2ccb4bb40 releasing package livecd-rootfs version 2.765.6 2.765.6 2022-07-25 10:25:42 +02:00
Łukasz 'sil2100' Zemczak
84e7e03bf2 Cherry pick fix for unmatched boot image build fix from kinetic. 2022-07-25 10:25:06 +02:00
Łukasz 'sil2100' Zemczak
9687f1d216 releasing package livecd-rootfs version 2.765.5 2.765.5 2022-07-14 15:32:42 +02:00
Łukasz 'sil2100' Zemczak
b2eae594d1 Add bug references. 2022-07-14 15:24:34 +02:00
Alexandre Ghiti
7e3e3281cb d/changelog: Add FK_FORCE_CONTAINER entry
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-13 16:04:21 +02:00
Alexandre Ghiti
bbcf3c5714 riscv: Use FK_FORCE_CONTAINER to force flash-kernel to run in a container
As explained in LP: #1980929, we need this in order to build RISC-V
images.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-13 16:04:21 +02:00
Alexandre Ghiti
6f9d5b7ff2 disk-image-uefi.binary: Fix wrong parenthesis
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-13 16:04:21 +02:00
Alexandre Ghiti
935867285c d/changelog: Add entry for the VisionFive and Nezha support 2022-07-13 16:04:21 +02:00
Alexandre Ghiti
81614c6992 riscv: Bump image size to 4.5G
3.5G is not enough for riscv64 preinstalled as the creation of the initrd fails
with the following error:

Creating config file /etc/default/grub with new version
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-1011-generic
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25
update-initramfs: failed for /boot/initrd.img-5.15.0-1011-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-13 16:03:26 +02:00
Alexandre Ghiti
b9873fbed5 riscv: Use UEFI bootflow for the Nezha Board
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-13 16:03:26 +02:00
Alexandre Ghiti
ce9f5cacca riscv: Add support for StarFive VisionFive
The image created uses a UEFI bootflow, so we install grub for this board
only. We also need flash-kernel to install the dtb where grub can find
it.

This image is specifically architectured so that it can be installed on
a "factory" board, meaning using the u-boot firmware which was
originally implemented for Fedora, so we need the p3 partition that
embeds a uEnv.txt file to tell u-boot what/where to load next stage.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-13 16:03:26 +02:00
Alexandre Ghiti
80c5ccd5c1 riscv: Fix nezha hardcoded password attempt
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-13 16:03:26 +02:00
Alexandre Ghiti
1527ac2b4e RISC-V: enable building for Nezha board
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-07-13 16:03:26 +02:00
Heinrich Schuchardt
312d9221ee riscv: define partitioning scheme for Nezha board
Define the image layout for the Nezha board.

The U-Boot SPL based boot0 may be installed starting in sector 16 or 256.
As sector 16 is incompatible with GPT partitioning use sector 256.

The primary U-Boot image is expected to start at sector 32800 and its
backup in sector 24576.

Cf. https://linux-sunxi.org/index.php?title=Allwinner_Nezha&oldid=24469

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-07-13 16:03:26 +02:00
Robie Basak
3ca2ea37f9 Changelog for 2.765.4 release
Retaining attribution for Thomas.
2.765.4
2022-07-11 15:47:10 +01:00
Thomas Bechtold
be8c7aed7a Add debian/changelog 2022-07-11 14:16:15 +02:00
Thomas Bechtold
7ed77a5e64 Revert "fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)"
This change triggered a bug in cloud-init (see LP:1968873). cloud-init
does not recongnize sshd options set in /etc/ssh/sshd_config.d/ and
cloud-init modifies directly /etc/ssh/sshd_config which gets then
overwritten by settings from /etc/ssh/sshd_config.d/ .

This reverts commit 9a8d7a6e4d7a0b50024df6b92e0711a2f42454a0.
2022-07-11 14:14:49 +02:00