Łukasz 'sil2100' Zemczak
e22a16b068
Enable the HWE kernel for all flavours.
4 years ago
Dimitri John Ledkov
7680ece7b0
riscv64: backport HiFive unleashed & cloud-image building support
...
All commits are cherrypicks from hirsute, and includes:
make-lxd-metadata: add riscv64 lxd architecture tag
control: install qemu-utils & snapd on riscv64.
disk-image.binary: actually skip building MBR image on EFI platforms.
disk-image.binary: skip building MBR image on riscv64.
disk-image.binary: however still build MBR image on amd64.
disk-image-uefi.binary: build riscv64 image without a bootloader.
disk-image-uefi: riscv64 add u-boot spl
disk-image-uefi: riscv64 add ubuntu:ubuntu login, without expiry.
riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA.
riscv64: fixup subarch build, unbound variable
qcow2-image: unbreak builds without subarch.
disk-image-uefi: fix riscv64 subarch user-data.
LP: #1903034
4 years ago
Łukasz 'sil2100' Zemczak
4e8e1fed07
Ok, last commit didn't remove enough lines, sorry for that.
4 years ago
Łukasz 'sil2100' Zemczak
2029f49fe6
Still hardcode UC20 amd64 image size, but to the same value as for UC16 and UC18.
4 years ago
Łukasz 'sil2100' Zemczak
a4838e3245
Merge branch 'uc20-no-fixed-size' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/focal
4 years ago
Joshua Powers
ef950f5214
amd64: always install grub-pc with shim-signed
...
shim-signed depends on grub-efi-amd64-signed, which in turn has
alternative depends on either `grub-efi-amd64 | grub-pc`. However to
support booting with either via shim&signed-grub and BIOS, the choice
must be made to install grub-pc, not grub-efi-amd64.
This makes images consistent with Ubuntu Deskop, Live Server, buildd
bootable images; all of which already do install grub-pc and
shim-signed.
Additionally, this will ensure that autoremove is run after installing
anything in the CPC build hooks. This is done to avoid shipping images
that include packages that are autoremovable. This will clean-up as
packages are installed and detect any breakage at build time.
LP: #1901906
4 years ago
Łukasz 'sil2100' Zemczak
433c2363d8
Do not hard-code the UC20 amd64 image size anymore
4 years ago
Robert C Jennings
136562b837
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized (LP: #1889470 )
...
The seed now specifies the lxd snap in focal as
'lxd=4.0/stable/ubuntu-20.04' which doesn't match the expectations of
the code with looks for lxd as the only snap in the seed for minimized
images. This patch updates the pattern to accept 'lxd' or 'lxd=*'.
4 years ago
Iain Lane
54508e6583
Hack seeding of linux kernel in ubuntustudio/focal
...
ubuntustudio-default-settings in focal release has a Recommends to this
kernel, which makes it impossible to update the kernel later on, since
we would install the -updates and release kernel, which isn't allowed
and causes FTBFS. Hack out the focal-release kernel and let the rest of
the build process pull in the right one.
LP: #1884915
5 years ago
Łukasz 'sil2100' Zemczak
e611dfc1c4
Enable overrides of UC20 grade dangerous channels
5 years ago
Łukasz 'sil2100' Zemczak
225f2fe504
Fix indentation.
5 years ago
Dimitri John Ledkov
2d5f9581db
ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name.
...
LP: #1876358
(cherry picked from commit 6e8b5b94c4
)
5 years ago
Dimitri John Ledkov
dc456c240d
Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible.
...
LP: #1875430
(cherry picked from commit 668898d92c
)
5 years ago
Dimitri John Ledkov
56ac1865f7
Switch Ubuntu desktop to only hwe-20.04 kernel flavour.
5 years ago
Łukasz 'sil2100' Zemczak
d2a2ac41a4
Use the raspi KERNEL_FLAVOUR for the raspi images.
5 years ago
Dimitri John Ledkov
910310dbbb
Only install oem-20.04 kernel flavour on amd64, as it doesn't exist on other arches.
5 years ago
Łukasz 'sil2100' Zemczak
40c51f78b8
Switch to using the generic pi gadget repo for classic, use the main branches.
5 years ago
Łukasz 'sil2100' Zemczak
95772fd9df
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into u-i-disk-info
5 years ago
Łukasz 'sil2100' Zemczak
e9170e053b
Rename the raspi3 SUBARCH to raspi
5 years ago
Dimitri John Ledkov
17dc48cf65
Set uc20 image size to 10G.
5 years ago
Dimitri John Ledkov
438606c5e8
Encode CHANNEL specification in the UC20 model names.
5 years ago
Dimitri John Ledkov
f6ca600af2
Install oem-20.04 kernel flavour on Ubuntu Desktop builds.
5 years ago
Łukasz 'sil2100' Zemczak
2870738f00
Merge the manually-pushed 2.636 from Laney.
5 years ago
Łukasz 'sil2100' Zemczak
2ca3cc9720
Use the datestamp parameter (stored in NOW) instead of the newly added BUILD_ID.
5 years ago
Łukasz 'sil2100' Zemczak
fc6d956269
Support generating a .disk/info file via ubuntu-image if BUILD_ID is passed from cdimage to the builder.
5 years ago
Michael Hudson-Doyle
f27b432026
ubuntu-cpc hooks are Different
5 years ago
Michael Hudson-Doyle
fb31b64a7c
preserve apt preferences for all projects
5 years ago
Michael Hudson-Doyle
d38ceab06d
fix in case of no preferences
5 years ago
Michael Hudson-Doyle
94c2d606ca
Preserve apt preferences created by any package we install (i.e. ubuntu-advantage-tools) against live-build's attempt to delete them. (LP: #1855354 )
5 years ago
Łukasz 'sil2100' Zemczak
474f232840
Snapd for uc20 model assertions does not support global channel overrides.
5 years ago
Łukasz 'sil2100' Zemczak
a1daf38b93
Add support for Ubuntu Core 20 builds by supporting uc20 models.
5 years ago
Dimitri John Ledkov
3551fc1a02
Ship two kernel flavours on desktop image.
5 years ago
Dimitri John Ledkov
39f675eaf6
Drop installing dummy transitional linux-signed-generic, these days linux-generic is always signed, on arches that need/support it.
5 years ago
David Krauser
52a3471922
Add hooks to build bootable buildd images.
...
Only install policyrcd-script-zg2 in lxd tarball.
5 years ago
Łukasz 'sil2100' Zemczak
ac40cadf08
Support fetching classic gadget trees from a non-github-mirrored launchpad repo.
5 years ago
Łukasz 'sil2100' Zemczak
2896d39a7a
Make sure the imx6 subarch uses the ubuntu-image imageformat.
5 years ago
Adam Conrad
7c85d91d41
Limit the lxd group to images with an installer; it's less appropriate for random tarball images, which are configured in ways we don't know.
5 years ago
Michael Hudson-Doyle
c89806ba4d
Do not create a hook manually for ubuntu-cpc builds, make-hooks does not like that.
5 years ago
Michael Hudson-Doyle
4788e90315
Create the lxd group as a system group for all projects. (LP: #1844498 )
5 years ago
Łukasz 'sil2100' Zemczak
1f8f86c17c
Final fix to 999-ubuntu-image-customization.chroot, tested to be working.
5 years ago
Łukasz 'sil2100' Zemczak
6cd2343bea
Fix the styling to fit the rest a bit better.
5 years ago
Łukasz 'sil2100' Zemczak
c7f3374f9f
Final changes to the 999-ubuntu-image-customization.chroot hook.
5 years ago
Łukasz 'sil2100' Zemczak
c3002a563a
Merge branch 'u-i-cloud-init' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
5 years ago
Łukasz 'sil2100' Zemczak
d7c4bb4d85
Do not initialize EXTRA_SNAPS with an empty value. Allow overrides via the environment.
5 years ago
Łukasz 'sil2100' Zemczak
006ed85460
Add support for the Nitrogen6x board.
5 years ago
Łukasz 'sil2100' Zemczak
f6cbbf01e1
Add a new u-i specific chroot hook, move the NoCloud system-boot cloud-init datasource configuration there to make sure all u-i built ship with it.
5 years ago
Łukasz 'sil2100' Zemczak
b4ba74885f
Remove pulseaudio and udisks2 from kassel images. This will fix the image build failures.
6 years ago
David Krauser
5a2b49950a
Fixing broken binary hook symlinks for hyperv gallery image builds.
6 years ago
Dimitri John Ledkov
124d074101
Unbreak cpc/server builds, by ensuring that includes are copied with archived symlinks, and only hooks resolve symlinks when getting copied.
6 years ago
Colin Watson
dc85df854b
Add tzdata to buildd images
...
It isn't strictly build-essential, but it has traditionally been present
in both Debian and Ubuntu, and a variety of things fail without it.
6 years ago