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
Michael Hudson-Doyle
628134dfe7
auto/config: alter check for unexpectedly seeded snaps in ubuntu-cpc:minimized build. As the build no longer implicitly seeds the snaps from the server seed, we can just assert no snaps are seeded. This fixes an autopkgtest regression but also cleaner.
2023-05-18 11:21:58 +12:00
Michael Hudson-Doyle
35a56a5e03
auto/config: switch ubuntucinnamon and ubuntu-unity builds to use add_task to get their desktop packages. Previously most (all?) flavour builds got the snaps from that flavour's "desktop" seed implicitly added, but now an explicit add_task is needed.
2023-05-18 09:33:48 +12:00
Steve Langasek
d377e535b2
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-17 09:27:08 -07:00
Michael Hudson-Doyle
cafbd6f7d6
actual content change to drop edubuntu referencing ubuntu-desktop-minimal task
2023-05-17 15:53:46 +12:00
Michael Hudson-Doyle
8704aafecc
live-build/expand-task: handle seeding of classic snaps correctly.
2023-05-17 15:49:41 +12:00
Michael Hudson-Doyle
734da44d00
live-build/expand-task: Fix expansion of tasks with non-flavour specific name (e.g. "minimal") when building a non-Ubuntu flavour.
2023-05-17 15:45:12 +12:00
Michael Hudson-Doyle
01b851e162
auto/config: Set FLAVOUR appropriately for flavours added since the expand-task branch was created.
2023-05-17 15:41:54 +12:00
Michael Hudson-Doyle
a65c181596
auto/config: Rewrite add_task to use a Python script that cribs the logic from lp:ubuntu-archive-publishing's generate_extra_overrides.py. This means we can avoid some dubious hacks around seeding snaps and no longer depend on the Task headers in the archive.
2023-05-12 13:19:47 +12:00
Dan Bungert
55ecac3ca7
canary: include cryptsetup in the live layer
2023-05-11 19:07:20 -06:00
Dan Bungert
6bc353602f
canary: fix systems directory
2023-05-10 07:29:37 -06:00
Steve Langasek
cfbcf2d690
Use the correct seed base for edubuntu. LP: #2019060 .
2023-05-09 19:06:48 -07:00
Steve Langasek
ef146db895
Try to use udevadm settle after losetup to resolve race in riscv64 image builds.
2023-05-08 15:47:04 -07:00
Steve Langasek
ada1f09b39
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 7b07db91110a3dda2723bc853a43f81c4e2a2f75.
2023-05-02 15:27:41 +02:00
Łukasz 'sil2100' Zemczak
a418f52bd4
Switch canary desktop installer model.
2023-04-26 13:40:17 +02:00
Łukasz 'sil2100' Zemczak
fba9d176a6
Add cinnamon, unity and edubuntu to the workaround list.
2023-04-18 10:24:07 +01:00
Łukasz 'sil2100' Zemczak
7b07db9111
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.
2023-04-18 10:10:28 +01:00
Steve Langasek
1e0daf6af9
Clean up some remaining references to /dev/mapper.
2023-04-17 18:50:08 -07:00