1970 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
ee2b6290bc Merge remote-tracking branch 'utkarsh/ubuntu-cloud-minimal' into ubuntu/master 2023-07-28 11:01:41 +12:00
Łukasz 'sil2100' Zemczak
09cec13e37 canary: attempt to enable locale support for canary layers. 2023-07-19 17:15:57 +02:00
Utkarsh Gupta
06defc4348 Use ubuntu-cloud-minimal metapackage in minimized CPC images
Now that we have the cloud-minimal seed for minimized cloud
image builds, we should drop all the workarounds and hacks
we once needed when we were using the server seed. We can
directly use the new metapackage and get rid of the tasks and
other autoremoves, et al.
2023-07-19 16:36:35 +05:30
Łukasz 'sil2100' Zemczak
9d9f7a71a5 canary: use 23.10 models. 2023-07-19 11:06:40 +02:00
Dimitri John Ledkov
c18d3f75ad
Fixup up two more places with kvm removal.
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-14 13:16:05 +01:00
Dimitri John Ledkov
433a79d5a9
Merge remote-tracking branch 'origin/xnox/virtual-armhf' into ubuntu/master 2023-07-14 00:24:43 +01:00
Dimitri John Ledkov
731a0b49e3
Merge remote-tracking branch 'origin/xnox/deprecate-kvm' into ubuntu/master 2023-07-14 00:24:36 +01:00
Yao Wei (魏銘廷)
1038f94330 feat: add ubuntu-oem project for oem images 2023-07-12 11:10:40 +08:00
Michael Hudson-Doyle
448defa7f3 Merge branch 'revert/cpc/esp_on_boot' into ubuntu/master 2023-07-10 22:26:38 +12:00
Sebastien Bacher
a67777a41f Remove the catalog entry for minimal Ubuntu desktop 2023-07-06 20:35:31 +02:00
Gauthier Jolly
2929ff092e Revert "ubuntu-cpc: Make the ESP 2GiB and mount it to /boot"
Revert this change for now as /boot then becomes a FAT partition which
breaks DPKG requirements[1]. This change is going to be re-evaluated and
maybe introduced in a different way.

This is not a clean revert because of 3282efb ("ubuntu-cpc: cleanup
disk-images-uefi.binary") which we want to keep.

[1] https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_What_are_the_filesystem_requirements_by_dpkg.3F

This reverts commit 6a66666e0a5ab1ad96cb0e388f278aafbd012ffe.
2023-07-06 11:12:01 +02:00
Gauthier Jolly
a3307ebdb7 Revert "ubuntu-cpc: disable kernel and initramfs symlinks in /boot"
This reverts commit b20e894a9878837ed84f9db71997f68476d632b5.
2023-07-06 11:04:20 +02:00
Heinrich Schuchardt
af577c87b2 RISC-V: handle kernel flavour allwinner
Package linux-allwinner has a kernel with the generic flavour as
dependency. Add this translation to our code checking the correct
installation.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-05 14:52:54 +02:00
Heinrich Schuchardt
476e202403 Revert RISC-V: sunset allwinner kernel flavour
According to the kernel team the Linux Meta package linux-allwinner shall
continue to be supplied. It will depend on generic packages.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-05 14:51:08 +02:00
Michael Hudson-Doyle
b5387cb32b Disable the orphan_file ext4 feature in the canary live environment so that the installed system can be handled by the e2fsck in the extant kernel snap (cf. bug 2025339). 2023-07-05 11:41:44 +12:00
Michael Hudson-Doyle
7d0aa68826 live-build/ubuntu/hooks/033-disk-image-uefi.binary: update to point at ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary, fixing canary build. 2023-07-05 10:13:38 +12:00
Dimitri John Ledkov
dc59fe83ca Deprecate linux-kvm usage
Remove kvm-image altogether.

Previously for minimal image replace_kernel function replaced virtual
images with kvm, and called force_boot_without_initramfs. Now simply
call force_boot_without_initramfs for minimal image without replacing
kernel flavour.

This also means minimal images can now be built for arm64 and armhf.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-04 12:58:03 +01:00
Dimitri John Ledkov
1b6bfda382 Switch armhf from generic-lpae to virtual
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-04 12:51:39 +01:00
Steve Langasek
aa59c86540 Merge remote-tracking branch 'gjolly/ubuntu-cpc/uefi_cleanup' into ubuntu/master 2023-07-03 12:34:34 -07:00
Heinrich Schuchardt
2e9201952f RISC-V: sunset allwinner kernel flavour
The Nezha D1 and LicheRV Dock now use the generic kernel.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-03 13:01:43 +02:00
Gauthier Jolly
3282efb287 ubuntu-cpc: cleanup disk-images-uefi.binary
Remove all the logic that is not related to cloud-images. Non
cloud-images should use disk-image-uefi-non-cloud.binary
2023-06-28 12:03:42 +02:00
Loïc Minier
ea8564afe2 Add channel override for ubuntu-image channel 2023-06-28 09:26:29 +00:00
Loïc Minier
430ec27308 Use ubuntu-image for pre-installed Tegra images 2023-06-28 09:22:56 +00:00
Loïc Minier
b6c9a4d711 Add support for tegra-igx (similar to tegra) 2023-06-28 09:21:03 +00:00
Loïc Minier
a239256c06 Set MODEL=tegra for arm64+tegra 2023-06-28 09:16:03 +00:00
Loïc Minier
8bf4d3500f Use image definition path rather than making a copy 2023-06-28 09:15:49 +00:00
Loïc Minier
262d0f3170 Offer overrides for ubuntu-images definitions 2023-06-28 09:15:41 +00:00
Łukasz 'sil2100' Zemczak
99189cc727 Merge branch 'cpc/riscv/install_grub' of git+ssh://git.launchpad.net/~gjolly/livecd-rootfs into ubuntu/master 2023-06-28 10:45:13 +02:00
Łukasz 'sil2100' Zemczak
95d6a004a6 Some minor tweaks to the changes done by xypron. 2023-06-28 10:42:27 +02:00
Heinrich Schuchardt
e14379f405 RISC-V: use GRUB on Unmatched board
Up to now we have used u-boot-menu for preinstalled images for the SiFive
HiFive Unmatched and Unleashed boards and GRUB for all other RISC-V images.
The choice was made because RISC-V GRUB was not available when the SiFive
boards where released.

Let the Unmatched and Unleashed board preinstalled images use GRUB.
Simplify the code.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-06-27 14:02:37 +02:00
Gauthier Jolly
bbedffe6ec ubuntu-cpc: fix images for hardware devices
Canonical Public Cloud's project seems a bad place to build images for
hardware devices however this is how things were done a we now need to
maintain this.
The recent change to mount the ESP on /boot breaks those images, instead
of adding more hacky things in the hook, create a dedicated target for
those images and use a different hook to build UEFI images.
2023-06-23 13:55:59 +02:00
Gauthier Jolly
946c5cf90c ubuntu-cpc: install grub-efi on riscv images
grub-efi-riscv64 is in the archive and edk2 support for riscv is being
merged upstream.
2023-06-23 13:28:50 +02:00
Łukasz 'sil2100' Zemczak
ed8d11d25b Follow up fix to the CHANNEL handling for subiquity images 2023-06-19 10:06:10 +02:00
Dan Bungert
3397098ff8 Allow choosing snap channel on subiquity ISOs 2023-06-16 11:02:37 -06:00
Gauthier Jolly
b20e894a98 ubuntu-cpc: disable kernel and initramfs symlinks in /boot
This is required by the new UEFI binary hook as we mount the ESP on
/boot and the ESP filesystem doesn't support symlinks.
We keep symlinks for s390x images which do not use UEFI anyway.
2023-06-15 12:50:56 +02:00
Gauthier Jolly
6a66666e0a ubuntu-cpc: Make the ESP 2GiB and mount it to /boot
This is driven by online encryption scenarios. In order to efficiently
encrypt the root filesystem without modifying the partition layout, the
kernel should sit in an un-encrypted /boot partition.  Instead of
creating a new partition that would change the default partition layout,
we mount the ESP on /boot. We also need to then bind mount /boot on
/boot/efi because that's where Grub expects the ESP to be located.
2023-06-13 10:48:35 +02:00
Łukasz 'sil2100' Zemczak
127f524068 The ubuntu-budgie installer snap is called ubuntu-budgie-installer, not ubuntu-budgie-desktop-installer. 2023-06-07 11:29:09 +02:00
Łukasz 'sil2100' Zemczak
9ef33dd59f Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into add-new-budgie 2023-06-07 11:27:55 +02:00
Łukasz 'sil2100' Zemczak
40a1fdd60a Add boot-managed-by-snapd preinstalled for canary installs 2023-06-05 17:03:06 +02:00
Łukasz 'sil2100' Zemczak
a027e767d2 Explicitly use the snap binary for ubuntu-image. 2023-05-31 15:14:55 +02:00
Łukasz 'sil2100' Zemczak
157e4b2ac2 Better support for ubuntu-image artifact handling. 2023-05-31 15:08:35 +02:00
Łukasz 'sil2100' Zemczak
fdf685fc5e Be more verbose when using ubuntu-image, use the ubuntu-image stable snap. 2023-05-31 14:38:53 +02:00
Łukasz 'sil2100' Zemczak
381a8febb2 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ui-by-default 2023-05-31 14:34:27 +02:00
Steve Langasek
6fac77b481 Revert "Revert "Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM."""
This reverts commit 1931bbcb194febe241aa82f03a6730ba82a84409.
2023-05-26 09:41:41 -07:00
Steve Langasek
9db14f7dee Merge remote-tracking branch 'origin/always-enable-i386' into ubuntu/master 2023-05-26 09:39:35 -07:00
Łukasz 'sil2100' Zemczak
8eba29578e Fix small typo 2023-05-24 16:41:14 +02:00
Łukasz 'sil2100' Zemczak
8b6085bb67 Some initial work on getting Ubuntu Budgie building new installer images. 2023-05-24 15:31:04 +02:00
Łukasz 'sil2100' Zemczak
1931bbcb19 Revert "Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM.""
This reverts commit ada1f09b39332ec828369e0a30f2870df5c4dc3e.
2023-05-24 11:06:56 +02:00
Łukasz 'sil2100' Zemczak
4dbd985231 Revert "Try to use udevadm settle after losetup to resolve race in riscv64 image builds."
This reverts commit ef146db89529fc7fbc48052e0b684f7cb95f34ee.
2023-05-24 11:05:47 +02:00
Steve Langasek
5157d775f9 The base seed for edubuntu is desktop-gnome, not desktop. LP: #2019060. 2023-05-17 23:50:51 -07:00