87 Commits

Author SHA1 Message Date
CloudBuilder
740d9307aa Imported 2.896
No reason for CPC update specified.
2023-07-07 13:59:39 +00:00
CloudBuilder
1287214409 Imported 2.890
No reason for CPC update specified.
2023-06-19 08:16:56 +00:00
Simon Poirier
98375ecc7f fix: revert upstream losetup change
Roll back some upstream changes replacing kpartx by losetup while
unstable.

reverts ada1f09b39332ec828369e0a30f2870df5c4dc3e
reverts ef146db89529fc7fbc48052e0b684f7cb95f34ee
2023-05-17 11:40:04 -04:00
CloudBuilder
9c2f1531ab Imported 2.832
The tag was already there due to package removal before the release
2023-05-05 12:02:39 +00:00
CloudBuilder
a31b54068a Imported 2.828
pkg got reverted due to kpartx/losetup problems
2023-04-19 09:12:07 +00:00
CloudBuilder
dc9b11af67 Imported 2.832
No reason for CPC update specified.
2023-04-18 05:48:08 +00:00
CloudBuilder
155ec305b3 Imported 2.822
No reason for CPC update specified.
2023-04-10 19:48:12 +00:00
CloudBuilder
dcb48eae8d Imported 2.821
No reason for CPC update specified.
2023-04-08 02:48:12 +00:00
CloudBuilder
d3fa5efeea Imported 2.819
No reason for CPC update specified.
2023-04-05 22:48:28 +00:00
CloudBuilder
66b89072d5 Imported 2.806
No reason for CPC update specified.
2023-03-01 21:48:09 +00:00
CloudBuilder
990a277498 Imported 2.804
No reason for CPC update specified.
2023-02-27 06:48:10 +00:00
CloudBuilder
c6d4c73dfe Imported 2.796
No reason for CPC update specified.
2023-01-11 04:48:18 +00:00
CloudBuilder
5193bfb60f Imported 2.793
No reason for CPC update specified.
2022-11-21 23:48:18 +00:00
CloudBuilder
8545f7a201 Imported 2.791
No reason for CPC update specified.
2022-10-17 23:38:15 +00:00
CloudBuilder
397cee1694 Imported 2.790
No reason for CPC update specified.
2022-10-14 13:38:26 +00:00
CloudBuilder
81eff29515 Imported 2.784
No reason for CPC update specified.
2022-09-25 12:38:19 +00:00
CloudBuilder
056159a3eb Imported 2.779
No reason for CPC update specified.
2022-09-16 11:38:30 +00:00
CloudBuilder
30e2959c90 Imported 2.777
No reason for CPC update specified.
2022-09-13 23:38:16 +00:00
CloudBuilder
01d6be2f85 Imported 2.773
No reason for CPC update specified.
2022-07-31 13:38:14 +00:00
CloudBuilder
3723595eb9 Imported 2.770
No reason for CPC update specified.
2022-07-28 03:38:21 +00:00
CloudBuilder
9ea0f1567e Imported 2.769
No reason for CPC update specified.
2022-07-21 17:38:13 +00:00
CloudBuilder
9361bc08af Imported 2.766
No reason for CPC update specified.
2022-06-21 00:38:18 +00:00
CloudBuilder
ca18c993a1 Imported 2.765
No reason for CPC update specified.
2022-05-30 01:38:15 +00:00
CloudBuilder
2a51702ede Imported 2.759
No reason for CPC update specified.
2022-03-09 10:59:14 +00:00
CloudBuilder
3f1e663543 Imported 2.751
No reason for CPC update specified.
2022-01-14 19:59:15 +00:00
CloudBuilder
b74f47f0cd Imported 2.748
No reason for CPC update specified.
2021-12-15 22:59:13 +00:00
CloudBuilder
24daa1af63 Imported 2.747
No change rebuild
2021-12-14 15:25:44 +00:00
Chloé Smith
ffab8ceac4
Add a serial port to OVF template (LP: #1895104)
groovy hangs during boot on ESXi when the version is greater than
10. Adding a serial port by default fixes this specific bug - increasing
the HW version will be for another branch.

This is because more investigation is needed into whether it is possible to
increment ddb.virtualHWVersion without disrupting Oracle VirtualBox images.
2021-06-21 21:29:47 +01:00
Dimitri John Ledkov
d5a8116428
Add support for generic preinstalled images. LP: #1923832 2021-04-26 11:04:37 +01:00
Dimitri John Ledkov
4428dbbf8f
riscv64: generalise slightly how preinstalled server images are built, to allow using subarch to pick u-boot binaries to install. 2021-03-11 17:08:15 +00:00
Gauthier Jolly
76330897dc ubuntu-cpc: make /etc/fstab consistent with other ubuntu images
Modify the mount options in fstab to make the Cloud images consistent
with the default we have elsewhere.

LP: #1902103
LP: #1881006
2021-03-02 14:21:36 +00:00
Łukasz 'sil2100' Zemczak
1b0212a76c Use the full name of the 'boot' flag in parted calls 2021-02-24 12:58:08 +01:00
Dimitri John Ledkov
53b28d5f58
esp: perform fsck.
LP: #1912835
2021-01-22 19:16:47 +00:00
Dimitri John Ledkov
7c760864fd
esp: install grub in ubuntu bootloader id path, instead of removable.
Do not use removable uefi bootloader path in the cloud-images by
default, as that prevents upgrades of the bootloader.

LP: #1912830
2021-01-22 19:09:25 +00:00
Dimitri John Ledkov
6746d9fbd9
disk-image-uefi: fix riscv64 subarch user-data. 2020-12-08 09:15:09 +00:00
Dimitri John Ledkov
4881f5260a
qcow2-image: unbreak builds without subarch. 2020-12-05 15:17:16 +00:00
Dimitri John Ledkov
3e1e76b94a
riscv64: fixup subarch build, unbound variable 2020-12-03 16:17:32 +00:00
Dimitri John Ledkov
a808b28d47
riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA. 2020-12-01 17:14:40 +00:00
Dimitri John Ledkov
3962f4ac23
disk-image-uefi: riscv64 add ubuntu:ubuntu login, without expiry. 2020-11-24 18:40:40 +00:00
Dimitri John Ledkov
da578b2c6b
disk-image-uefi: riscv64 add u-boot spl
LP: #1905274
2020-11-24 18:40:34 +00:00
Dimitri John Ledkov
914997827d
disk-image-uefi.binary: build riscv64 image without a bootloader.
We want GPT image with ESP, however there is no bootloader for it
yet. Build without it.
2020-11-19 15:47:12 +00:00
Dimitri John Ledkov
122364df65
disk-image-uefi.binary: enable secureboot on the arm64 image. 2020-11-19 15:47:09 +00:00
Dimitri John Ledkov
e8f53aabdf
disk-image.binary: however still build MBR image on amd64.
It is used to derive vagrant and ec2 images. I do wonder, if those
could be converted to derive from uefi one.
2020-11-18 00:09:08 +00:00
Dimitri John Ledkov
8e548f37d9
disk-image.binary: skip building MBR image on riscv64. 2020-11-17 23:40:53 +00:00
Dimitri John Ledkov
ff175e3f4a
disk-image.binary: actually skip building MBR image on EFI platforms.
The case is for arch:subarch combo, not just arch alone even if
subarch is empty. Thus currently on adm64/arm64/armhf ubuntu-cpc
builds mbr image is created and then ignored, as the convert to qcow2
hook prefers the uefi image whenever available.

Skipping building these correctly, should speed up the build a little
bit and use slightly less disk space.
2020-11-17 23:37:52 +00:00
Dimitri John Ledkov
e2fd168f50
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.

LP: #1901906
2020-10-28 22:56:31 +00:00
Joshua Powers
b0c8b628b2
ubuntu-cpc: only install shim-signed, run autoremove
The CPC build hooks for amd64 incorrectly attempt to install shim-signed
in addition to grub-efi-amd64 and grub-pc. These latter two packages
conflict with each other. Instead shim-signed should install whatever
packages are required.

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.
2020-10-26 11:48:24 -07:00
John Chittum
1abc43a2d0
Remove virtualbox-guest-utils (LP: #1895862)
virtualbox-guest-utils kernel modules is included in linux-modules
starting in kernel 5.4.0-33 in focal-updates. The vagrant hook also
explicit installed virtualbox-guest-utils. An error occurred with the
version installed from the archives, however, with the inclusion in
linux-modules, there's no need to explicitly install
virtualbox-guest-utils. Removes the code for the explicit install.
2020-09-29 11:41:05 -05:00
Robert C Jennings
2be2a168ee
ubuntu-cpc: Fix spelling in vagrant file 2020-09-16 08:48:28 -05:00
John Chittum
fb33fe9026
Minor fixes to Vagrantfile comments 2020-08-27 15:46:36 -05:00