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 6a66666e0a
.
1 year ago
Gauthier Jolly
a3307ebdb7
Revert "ubuntu-cpc: disable kernel and initramfs symlinks in /boot"
...
This reverts commit b20e894a98
.
1 year ago
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>
1 year ago
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>
1 year ago
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).
1 year ago
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.
1 year ago
Steve Langasek
aa59c86540
Merge remote-tracking branch 'gjolly/ubuntu-cpc/uefi_cleanup' into ubuntu/master
1 year ago
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>
1 year ago
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
2 years ago
Loïc Minier
ea8564afe2
Add channel override for ubuntu-image channel
2 years ago
Loïc Minier
430ec27308
Use ubuntu-image for pre-installed Tegra images
2 years ago
Loïc Minier
b6c9a4d711
Add support for tegra-igx (similar to tegra)
2 years ago
Loïc Minier
a239256c06
Set MODEL=tegra for arm64+tegra
2 years ago
Loïc Minier
8bf4d3500f
Use image definition path rather than making a copy
2 years ago
Loïc Minier
262d0f3170
Offer overrides for ubuntu-images definitions
2 years ago
Łukasz 'sil2100' Zemczak
99189cc727
Merge branch 'cpc/riscv/install_grub' of git+ssh://git.launchpad.net/~gjolly/livecd-rootfs into ubuntu/master
2 years ago
Łukasz 'sil2100' Zemczak
95d6a004a6
Some minor tweaks to the changes done by xypron.
2 years ago
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>
2 years ago
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.
2 years ago
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.
2 years ago
Łukasz 'sil2100' Zemczak
ed8d11d25b
Follow up fix to the CHANNEL handling for subiquity images
2 years ago
Dan Bungert
3397098ff8
Allow choosing snap channel on subiquity ISOs
2 years ago
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.
2 years ago
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.
2 years ago
Łukasz 'sil2100' Zemczak
127f524068
The ubuntu-budgie installer snap is called ubuntu-budgie-installer, not ubuntu-budgie-desktop-installer.
2 years ago
Łukasz 'sil2100' Zemczak
9ef33dd59f
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into add-new-budgie
2 years ago
Łukasz 'sil2100' Zemczak
40a1fdd60a
Add boot-managed-by-snapd preinstalled for canary installs
2 years ago
Łukasz 'sil2100' Zemczak
a027e767d2
Explicitly use the snap binary for ubuntu-image.
2 years ago
Łukasz 'sil2100' Zemczak
157e4b2ac2
Better support for ubuntu-image artifact handling.
2 years ago
Łukasz 'sil2100' Zemczak
fdf685fc5e
Be more verbose when using ubuntu-image, use the ubuntu-image stable snap.
2 years ago
Łukasz 'sil2100' Zemczak
381a8febb2
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ui-by-default
2 years ago
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 1931bbcb19
.
2 years ago
Steve Langasek
9db14f7dee
Merge remote-tracking branch 'origin/always-enable-i386' into ubuntu/master
2 years ago
Łukasz 'sil2100' Zemczak
8eba29578e
Fix small typo
2 years ago
Łukasz 'sil2100' Zemczak
8b6085bb67
Some initial work on getting Ubuntu Budgie building new installer images.
2 years ago
Ł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 ada1f09b39
.
2 years ago
Łukasz 'sil2100' Zemczak
4dbd985231
Revert "Try to use udevadm settle after losetup to resolve race in riscv64 image builds."
...
This reverts commit ef146db895
.
2 years ago
Steve Langasek
5157d775f9
The base seed for edubuntu is desktop-gnome, not desktop. LP: #2019060 .
2 years ago
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.
2 years ago
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.
2 years ago
Steve Langasek
d377e535b2
Drop use of --removable flag to grub-install from buildd/hooks
...
This now matches the cloud images (7c760864fd
)
fixing bootloader updates in the buildd images, but also fixing
compatibility with using devtmpfs for losetup.
2 years ago
Michael Hudson-Doyle
cafbd6f7d6
actual content change to drop edubuntu referencing ubuntu-desktop-minimal task
2 years ago
Michael Hudson-Doyle
8704aafecc
live-build/expand-task: handle seeding of classic snaps correctly.
2 years ago
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.
2 years ago
Michael Hudson-Doyle
01b851e162
auto/config: Set FLAVOUR appropriately for flavours added since the expand-task branch was created.
2 years ago
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.
2 years ago
Dan Bungert
55ecac3ca7
canary: include cryptsetup in the live layer
2 years ago
Dan Bungert
6bc353602f
canary: fix systems directory
2 years ago
Steve Langasek
cfbcf2d690
Use the correct seed base for edubuntu. LP: #2019060 .
2 years ago
Steve Langasek
ef146db895
Try to use udevadm settle after losetup to resolve race in riscv64 image builds.
2 years ago