2373 Commits

Author SHA1 Message Date
John Chittum
03a990188a
Backport vmtools version in vmdk (LP: #1893898)
Backport
LP: #1893898 describes missing vmtools version from the vmdk headers.
The version should be added as ddb.toolsVersion = "2147483647" however
the sed was no longer replacing a ddb.comment field with the tools
version. Rather than subbing ddb.comment with toolsVersion, this commit
deletes ddb.comment (which the comment mentions could cause errors),
and adds the correct value. There was no visibility into the descriptor
during hook creation, so debug statements were added. This allows us to
quickly verify in the logs that bad statements are removed (the possibly
offending comments), as well as ensuring that the toolsVersion is added
2020-11-18 08:49:16 -06:00
Łukasz 'sil2100' Zemczak
275c5294f6 releasing package livecd-rootfs version 2.525.47 2020-08-13 15:06:12 +02:00
Łukasz 'sil2100' Zemczak
70d675e5ab Apparently the lxd appliance needs to use a custom track, so hack it in. 2020-08-13 14:52:30 +02:00
Steve Langasek
a4a696053b releasing package livecd-rootfs version 2.525.46 2.525.46 2020-08-10 14:17:19 -07:00
Steve Langasek
2c7aed242e Add dist-upgrade to bootable-buildd hook to ensure the built image doesn't contain vulnerable kernels or other packages. LP: #1891061. 2020-08-10 14:17:11 -07:00
Steve Langasek
a61cfb6668 Merge remote-tracking branch 'codyshepherd/bootable-buildd/dist-upgrade/bionic' into ubuntu/bionic 2020-08-10 13:38:38 -07:00
Łukasz 'sil2100' Zemczak
5938663078 releasing package livecd-rootfs version 2.525.45 2.525.45 2020-07-28 20:37:10 +02:00
Łukasz 'sil2100' Zemczak
a93faf9008 Add bug number 2020-07-28 12:31:19 +02:00
Łukasz 'sil2100' Zemczak
07c17a8258 Merge branch 'feature/move-to-raspi-hwe-18.04' of https://git.launchpad.net/~fginther/livecd-rootfs into ubuntu/bionic 2020-07-28 12:30:27 +02:00
Michael Hudson-Doyle
ecc146ea5d Merge branch 'no-maas-squashfs' into lp-1883156 2020-07-23 14:28:25 +12:00
Dimitri John Ledkov
d0f81ae08a Subiquity: install linux-firmware in the installer layer, to make firmware blobs available in the live session. LP: #1847835 2020-07-22 22:47:18 +12:00
Michael Hudson-Doyle
b4ceae03d5 update changelog 2020-07-22 22:43:16 +12:00
Dimitri John Ledkov
d278984cbf Use snap-tool to seed subiquity snap. 2020-07-22 22:43:15 +12:00
Michael Hudson-Doyle
570fcb79ff Stop building and mounting the mass-rack and maas-region squashfses for the server-live build as subiquity does not use them any more. 2020-07-22 22:11:40 +12:00
Dimitri John Ledkov
7bc4c77a03 Run snap info on the downloaded snap, rather than against the store. First of all snap info doesn't have --channel argument, thus queries the wrong channel, and depening on the cohort, a different snap might be visible too. Thus seed the base of the snap revision we dowanloaded, rather than some random one from the store. 2020-07-22 14:47:05 +12:00
Robert C Jennings
e4952519b3 Do not unconditionally install the core snap
Seeing any snap via snap_preseed will evaluate the base for each snap
and seed the appropriate base.  There should be no reason to explicitly
seed the 'core' snap and with snaps moving to 'core18' this will add
'core' without need.
2020-07-22 14:19:37 +12:00
Robert C Jennings
622adfc4eb Fix logic to ensure snapd is seeded in core18-only images
The _snap_post_process function is meant to install snapd if core18 is the
only core snap installed or removed snapd if core is installed and snapd
was not explicitly installed.  But the current logic in _snap_preseed
will never call _snap_post_process.  $core_name will never be empty
with the existing logic, but even if it were that would only be for the
'core' snap and we'd miss using the 'core18' logic that pulls in snapd.
Given the case statement in _snap_post_process can handle doing the
right thing given any snap we can just call it unconditionally.
2020-07-22 14:19:31 +12:00
Francis Ginther
5e442437fa Update changelog
Use the linux-raspi-hwe-18.04 kernel for raspi3 classic image builds.
2020-07-20 20:58:45 -05:00
Francis Ginther
db2e54491a Switch raspi3 builds to the linux-raspi-hwe-18.04 kernel
As part of the backport of the 5.4 kernel for Raspberry Pi, the kernel
flavour name is changing to match that in Focal. This is to provide a
consistent name for the 5.4 kernel in both Bionic and Focal.
This effectively rolls the kernel from 5.3 to 5.4 for raspi classic
images.
2020-07-20 16:13:03 -05:00
Łukasz 'sil2100' Zemczak
6e37b05312 releasing package livecd-rootfs version 2.525.44 2.525.44 2020-07-17 14:47:02 +02:00
Łukasz 'sil2100' Zemczak
1c4a376ced Remove unneeded change. 2020-07-15 16:16:24 +02:00
Łukasz 'sil2100' Zemczak
1c27c6a88a Add bug number 2020-07-15 16:15:23 +02:00
Cody Shepherd
64ca75261f
Remove explicit install of grub-efi-* package as it is not necessary,
and potentially overexplicit
2020-07-13 09:08:33 -07:00
Cody Shepherd
75a1408d0e
Perform a dist-upgrade prior to installing packages for bootable-buildd
image in order to pull in package updates
2020-07-08 13:59:04 -07:00
Łukasz 'sil2100' Zemczak
294db12c82 We need to handle appliance images first before everything else. 2020-06-05 01:52:46 +02:00
Łukasz 'sil2100' Zemczak
037c4e4ac6 Do it even better. 2020-06-04 21:48:05 +02:00
Łukasz 'sil2100' Zemczak
61eae75d5e Support building arbitraty named appliance images. 2020-06-04 21:18:05 +02:00
Łukasz 'sil2100' Zemczak
467065461b The appliance model names have changed and we now use 'pi' instead of 'pi-arm64' 2020-05-26 19:20:43 +02:00
Łukasz 'sil2100' Zemczak
650cced79e Add support for uc18 appliance images. 2020-05-07 18:39:32 +02:00
Robert C Jennings
eb708c9ab6
Releasing package livecd-rootfs version 2.525.43 2.525.43 2020-03-30 09:40:48 -05:00
Robert C Jennings
6430ba477e
Merge buildd-bootable/bionic into ubuntu/bionic
Backports to enable building of bootable buildd images LP: #1863024

MP: https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/380908
2020-03-30 09:37:13 -05:00
Robert C Jennings
bb6c17545f
Releasing package livecd-rootfs version 2.525.42 2.525.42 2020-03-27 14:32:46 -05:00
Robert C Jennings
a00ac033d9
Merge buildd-bootable/bionic into ubuntu/bionic
Backports to enable building of bootable buildd images LP: #1863024

MP: https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/380908
2020-03-27 14:27:30 -05:00
David Krauser
77cb232e8b Safely set /etc/resolv.conf to an empty file in buildd images
In bionic buildd image chroot, /etc/resolv.conf is a symbolic link to
a configuration file in the /run directory. A call to truncate will
modify that file, which we should not do. Instead, we want to remove
the symbolic link and replace it with an empty file.
2020-03-25 18:24:27 -04:00
David Krauser
f60c01ef0b Don't install live packages in buildd images. 2020-03-25 18:23:10 -04:00
Cody Shepherd
9ad6d93a2f Updating changelong for bootable buildd image changes. LP: #1863024 2020-03-23 13:27:19 -04:00
Cody Shepherd
127ed59fb1 Only build bootable buildd images for amd64. 2020-03-23 13:27:19 -04:00
Cody Shepherd
68e8afd528 Properly setup the chroot before using the network in buildd hook. 2020-03-23 13:27:19 -04:00
Cody Shepherd
f5c65024a3 Fix broken DNS in buildd image builds.
Instead of injecting an empty resolv.conf with an includes.chroot, we'll
inject it in late with a hook. The empty resolv.conf breaks DNS early in
the build, and causes some binary hooks to fail
2020-03-23 13:27:19 -04:00
Cody Shepherd
d74b68f9aa Include empty resolv.conf only in buildd lxd tarballs. 2020-03-23 13:27:19 -04:00
Cody Shepherd
075d1e85bf Add hooks to build bootable buildd images
Only install policyrd-script-zg2 in lxd tarball
2020-03-23 13:27:19 -04:00
Cody Shepherd
0cd622e863 Enable building buildd artifacts with an ext4 image target 2020-03-23 13:27:09 -04:00
Cody Shepherd
7d5a52d8f2 Updating changelong for bootable buildd image changes. LP: #1863024 2020-03-19 13:44:49 -04:00
Cody Shepherd
15a0b598d1 Only build bootable buildd images for amd64. 2020-03-19 13:43:33 -04:00
Cody Shepherd
a668e09ac4 Properly setup the chroot before using the network in buildd hook. 2020-03-19 13:43:33 -04:00
Cody Shepherd
6fed316068 Fix broken DNS in buildd image builds.
Instead of injecting an empty resolv.conf with an includes.chroot, we'll
inject it in late with a hook. The empty resolv.conf breaks DNS early in
the build, and causes some binary hooks to fail
2020-03-19 13:43:33 -04:00
Cody Shepherd
b628d90ef8 Include empty resolv.conf only in buildd lxd tarballs. 2020-03-19 13:43:33 -04:00
Cody Shepherd
58962d67d0 Add hooks to build bootable buildd images
Only install policyrd-script-zg2 in lxd tarball
2020-03-19 13:43:33 -04:00
Cody Shepherd
686425a634 Enable building buildd artifacts with an ext4 image target 2020-03-19 13:43:33 -04:00
Steve Langasek
6b8bcf00ad changelog fixup 2.525.41 2020-02-28 09:18:14 -08:00