1723 Commits

Author SHA1 Message Date
Heinrich Schuchardt
71308d500b riscv64: adjust U-Boot installation for Nezha D1 and LicheeRV
Since version 2022.10 U-Boot SPL and U-Boot are installed onto the same partition.
Package nezha-boot0 is not needed anymore.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-01-09 11:52:44 +01:00
Sebastien Bacher
12846905fd Change the desktop build to let canary be the default 2022-11-23 17:15:15 +01:00
Heinrich Schuchardt
c6ad92c0f4 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-14 14:04:42 +01:00
Utkarsh Gupta
e04ea00f1f Remove whitespaces 2022-11-14 15:28:02 +05:30
Samir Akarioh
8b8ad2e0ac feat: Add Ubuntu user
We add a ubuntu user inside the image because we
want to have a operational nonroot user and also
be aligned with the other Ubuntu images.

Signed-off-by: Samir Akarioh <samir.akarioh@canonical.com>
2022-11-08 12:01:35 +01:00
Samir Akarioh
105acdebc7 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>
2022-10-27 09:03:38 +02:00
Brian Murray
89b6412946 Merge remote-tracking branch 'simpoir/kinetic-update-apparmor-feat' into ubuntu/master 2022-10-17 13:06:50 -07:00
Brian Murray
151f73e8b0 Finish the rename of FK_FORCE_CONTAINER into FK_FORCE. (LP: #1989194) 2022-10-17 13:01:45 -07:00
Simon Poirier
7813938d17 fix: add apparmor ipc feature to the chroot 2022-10-17 09:37:29 -04:00
Łukasz 'sil2100' Zemczak
e8938fc610 Add an additional subdir. 2022-10-14 10:49:25 +02:00
Łukasz 'sil2100' Zemczak
a2a341a8b2 Merge branch 'allwinner-initrd' of git+ssh://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2022-10-14 10:39:32 +02:00
John Chittum
e11d091106
Revert "Disable the snap-preseed"
This reverts commit 31d42bfd2ff86d175f389ee5bbed6f275597c185.

Disable the snap-preseed calls in the interest of
getting images built for the 22.10 beta. (LP: #1990884)"
2022-10-13 12:39:17 -05:00
Heinrich Schuchardt
b39824539c 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-10-13 08:05:47 +02:00
Heinrich Schuchardt
1555f5f46b 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-10-13 08:05:47 +02:00
Alexandre Ghiti
6838060860 riscv: Install dkms by default on the LicheeRV board
So that people without network access can download the package and
install it using a usb drive for example.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-10-12 14:15:46 +02:00
Alexandre Ghiti
79e36dd7df Revert "riscv: Install Wifi driver by default for the LicheeRV"
This reverts commit d5a7d6655f2fa653c8bc0f316613f37f58a9c2cc.

The Wifi driver package is in universe and can't be promoted in time for
the release, so revert this.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-10-12 14:15:46 +02:00
Utkarsh Gupta
acf76bb3c7 Merge remote-tracking branch 'samirakarioh/fix-oci-bug' into ubuntu/master
* samirakarioh/fix-oci-bug:
  fix: build OCI image failed to build
2022-09-29 13:54:27 +05:30
Samir Akarioh
8fca716ca3 fix: build OCI image failed to build
Fix the bug added by this commit [0]. The bug added
is that the build livefs for a OCI image file failed
see Jenkins logs [1] and buildlog [2]. This commit
permit to fix this issue.

Refs: [0] https://git.launchpad.net/livecd-rootfs/commit/?id=2b5e8a81e57ae89b9ebed9bab20423d2e61d80d0
      [1] https://jenkins.canonical.com/devel-cloud-images/view/OCI/job/22.10-UbuntuOCI-Build-Images/73/ARCH=amd64,NODE=kinetic/console
      [2] https://launchpad.net/~cloud-images-release-managers/+livefs/ubuntu/kinetic/ubuntu-oci/+build/375833

Signed_by: Samir Akarioh and Tomas Virtus
2022-09-28 13:54:48 +02:00
Brian Murray
4cfe993c3a s/linux-firmware-raspi2/linux-firmware-raspi/ 2022-09-27 13:50:08 -07:00
Brian Murray
31d42bfd2f Disable the snap-preseed calls in the interest of getting images built for the 22.10 beta. (LP: #1990884) 2022-09-26 15:55:19 -07:00
Steve Langasek
d3d636a6e0 Don't set a desktop base seed for ubuntu-base or ubuntu-core. 2022-09-25 01:52:09 -07:00
Łukasz 'sil2100' Zemczak
e159d2267c Merge branch 'int/alex/riscv_mpfs' of git+ssh://git.launchpad.net/~alexghiti/livecd-rootfs into ubuntu/master 2022-09-23 12:01:56 +02:00
Steve Langasek
2b5e8a81e5 Default to using 'desktop' for the base seed so we don't have another place we have to extend the list for each new flavor (ubuntu-unity) 2022-09-22 15:36:47 -07:00
Steve Langasek
1f0a3d7797 Fix passing of components to germinate commandline (how did this ever work?) 2022-09-21 16:47:47 -07:00
Steve Langasek
b3343c1255 Drop edubuntu and kubuntu-active, both obsolete in *all* supported releases. 2022-09-21 16:12:36 -07:00
Steve Langasek
e41c6f50df Drop use of deprecated apt-key. 2022-09-21 16:08:36 -07:00
Steve Langasek
3722d2ee58 Drop override of components for raspi images 2022-09-21 13:35:08 -07:00
Steve Langasek
9cc8267f07 live-build/auto/config: set COMPONENTS for all flavors *before* we invoke germinate. Fixes a regression introduced in commit 07873ec. In the process, stop declarations of COMPONENTS that shadow the default in germinate (main restricted). 2022-09-21 12:59:06 -07:00
Alexandre Ghiti
a752a99ad8 riscv: LicheeRV must use u-boot-nezha package
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:40 +02:00
Alexandre Ghiti
f68433098d riscv: Add support to build Microchip Icicle Kit image
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:40 +02:00
Alexandre Ghiti
d5a7d6655f riscv: Install Wifi driver by default for the LicheeRV
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:40 +02:00
Alexandre Ghiti
e8ea6335d5 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-09-20 13:49:39 +02:00
Ivan Kapelyukhin
76d794664a
Bump UEFI disk image size for amd64 to 3.5 GB
Current Kinetic GCE image builds are failing with the following error:

update-initramfs: Generating /boot/initrd.img-5.19.0-1004-gcp
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25

Seems like after `linux-gcp` update from 5.15 to 5.19 `linux-modules` package
has gotten ~40MB larger and with that GCE image builds are over the edge wrt
available disk space in chroot.

Bumped up disk image size for amd64 to 3.5GB to match the sizes used by armhf
and generic images.
2022-09-14 22:30:54 +02:00
William Wilson
ee40e951f2 releasing package livecd-rootfs version 2.778 2022-09-14 10:16:52 -05:00
Łukasz 'sil2100' Zemczak
815d26a19c Comment cleanup for ubuntu-unity. 2022-09-14 16:11:07 +02:00
Rudra Bali
0581c7fd8a fix typo 2022-09-14 14:55:01 +05:30
Rudra Bali
7f278b020d use ubuntu-unity-desktop metapackage for now 2022-09-14 14:54:11 +05:30
Rudra Bali
c897750648 add live packages for Ubuntu Unity, since live task does not exist 2022-09-14 08:34:45 +05:30
Rudra Bali
bbd0e9fa5a switch to ubuntu-unity-desktop task for Ubuntu Unity 2022-09-14 08:34:45 +05:30
Thomas Bechtold
480d5b26ea fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)
The cloud-init bug (see LP:1968873) got fixed now so using a sshd
config snippet should work now.

This partly reverts commit aa1be5eaaa1fdbb4c31104cc49e54b15f66c3343
but uses now 60-cloudimg-settings.conf instead of
10-cloudimg-settings.conf .
2022-09-09 12:08:45 +02:00
Rudra Bali
503f9e8950 add Ubuntu Unity to daily flavors 2022-09-01 01:50:54 +05:30
Steve Langasek
239453d644 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-08-04 11:24:53 -07:00
Łukasz 'sil2100' Zemczak
e760da3284 When adding the new RISC-V platforms, some of the generic non-SUBARCH code went missing and some invalid assumptions have been made, causing cloud images to fail building. 2022-07-29 17:44:33 +02:00
Brian Murray
995295964b Use default compat for qcow2 images.
This will cause images to be created with more moderm features which
will make our images faster and provide better sparse handling.
2022-07-28 13:57:05 -07:00
Łukasz 'sil2100' Zemczak
eec8f595d3 Make sure that the recent riscv64 changes for our supported devices don't install wpasupplicant on non-SUBARCH builds (like for clouds). 2022-07-28 14:08:52 +02:00
Alexandre Ghiti
2485e0bebf riscv: Install wpasupplicant by default
For now, all RISC-V hardware is SBC-like board which embed a Wifi
chipset so install wpasupplicant by default. We'll certainly split the
seeds between server and embedded hardware later.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-28 11:17:24 +02:00
Michael Hudson-Doyle
13ed256581 Fix some issues with the netboot tarballs:
* Fix some issues with the netboot tarballs:
  - Include the signed shim (oops).
  - Make the kernel path on disk and in the bootloader config match (more
    oops).
  - Make paths more architecture dependent as the code in grubnetXXX.efi to
    probe a platform dependent path first doesn't work.
2022-07-28 12:00:35 +12:00
Steve Langasek
941cd3c64a Remove fwupd from the cloud images. LP: #1981109. 2022-07-25 13:02:06 -07:00
Steve Langasek
abcfabdbc0 Drop support for building i386 images aside from the launchpad builder images. 2022-07-25 12:50:56 -07:00
Alexandre Ghiti
17e659ddf8 riscv: Fix SiFive Unmatched build
While merging the VisionFive support, we removed the installation of
u-boot-menu for the Unmatched by mistake: fix this by reinstating it.

Fixes: ce9f5caccadf ("riscv: Add support for StarFive VisionFive")
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-25 09:36:43 +02:00