2594 Commits

Author SHA1 Message Date
David Krauser
065c823144 Produce buildd kernel and initrd as separate artifacts
Multipass on Mac OS X requires standalone kernel and initrd artifacts
to boot.

Also call update-initramfs on all installed kernels. We only have one
kernel installed, so we don't need to specify an explicit version.
2020-10-20 15:00:23 -04:00
Łukasz 'sil2100' Zemczak
a3d6f34970 releasing package livecd-rootfs version 2.694 2020-10-20 19:57:11 +02:00
Łukasz 'sil2100' Zemczak
f4f4fec5dc Add the pi desktop oem user to the adm and sudo groups 2020-10-20 17:26:40 +02:00
John Chittum
4f5eacbfae
Fixup Debian Changlog
Rebase, fixedup changelog, opened new release
2020-10-19 10:54:59 -05:00
John Chittum
24ee4b8c4d
vmtools version in vmdk header (LP: #1893898)
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 commetns), as well as ensuring that the toolsVersion is added
2020-10-19 10:51:44 -05:00
Łukasz 'sil2100' Zemczak
81eba8db72 releasing package livecd-rootfs version 2.693 2020-10-19 13:06:02 +02:00
Łukasz 'sil2100' Zemczak
49a0243465 Changelog 2020-10-19 13:03:59 +02:00
Łukasz 'sil2100' Zemczak
fdef469af0 releasing package livecd-rootfs version 2.692 2020-10-19 12:56:12 +02:00
Łukasz 'sil2100' Zemczak
af0356e402 Add changelog entry. 2020-10-15 11:24:30 +02:00
Michael Hudson-Doyle
cb4e8cec58 releasing package livecd-rootfs version 2.691 2020-10-15 08:56:20 +13:00
Michael Hudson-Doyle
b677bdbcc6 Remove 68-del-part-nodes.rules from installer squashfs to work around it breaking curtin. (LP: #1893818) 2020-10-15 08:33:23 +13:00
Łukasz 'sil2100' Zemczak
66621a8aed releasing package livecd-rootfs version 2.690 2020-10-07 17:06:12 +02:00
Łukasz 'sil2100' Zemczak
6fe2354261 Add changelog entry. 2020-10-07 10:51:55 +02:00
Steve Langasek
dd81544956 releasing package livecd-rootfs version 2.689 2020-09-30 15:57:25 -07:00
Steve Langasek
394abc17ea Include bug reference in changelog 2020-09-30 15:57:11 -07:00
John Chittum
953857c8f9
Uprev and update changelog 2020-09-29 13:00:05 -05:00
Pat Viafore
78ced6b26e
Rename function to be shorter 2020-09-21 12:10:08 -05:00
Robert C Jennings
76f9f34177
releasing package livecd-rootfs version 2.688 2020-09-16 08:49:06 -05:00
Robert C Jennings
2be2a168ee
ubuntu-cpc: Fix spelling in vagrant file 2020-09-16 08:48:28 -05:00
Robert C Jennings
3a23df1711
releasing package livecd-rootfs version 2.687 2020-09-15 15:26:26 -05:00
John Chittum
cfd43992a8
Reorder comments to ensure clarity
Long history comment moved to the end with short clarifying comments
before the relevant code. Update changelog with proper attribution
2020-08-27 15:11:15 -05:00
Steve Langasek
10dae25655 releasing package livecd-rootfs version 2.685 2020-08-27 12:18:19 -07:00
Steve Langasek
08c09dc42a changelog 2020-08-27 12:17:22 -07:00
Steve Langasek
ff6116a5c8 use python3-launchpadlib directly instead of python3-software-properties 2020-08-27 12:17:20 -07:00
Dan Streetman
82f206190d use python3-launchpadlib directly instead of python3-software-properties 2020-08-27 12:16:48 -07:00
Robert C Jennings
a17961a974
Release package livecd-rootfs version 2.685 2020-08-27 11:10:15 -05:00
Robert C Jennings
5b32b7e373
Release package livecd-rootfs version 2.684 2020-08-12 13:48:51 -05:00
Steve Langasek
a2a0ec7d7c releasing package livecd-rootfs version 2.683 2020-08-12 11:35:49 -07:00
Steve Langasek
484c5fa8b1 Changelog entry 2020-08-12 11:35:29 -07:00
Robert C Jennings
b907a03f54
Release package livecd-rootfs version 2.682 2020-08-12 04:53:17 -05:00
Steve Langasek
c39b9b2d54 releasing package livecd-rootfs version 2.681 2020-08-10 14:54:28 -07:00
Steve Langasek
57d487b11d Use the Azure kernel for the HyperV gallery images. 2020-08-10 14:54:21 -07:00
Steve Langasek
fa8398d671 releasing package livecd-rootfs version 2.680 2020-08-04 12:30:37 -07:00
Steve Langasek
e1c745e193 Merge remote-tracking branch 'codyshepherd/bootable-buildd/dist-upgrade/groovy' into ubuntu/master 2020-08-04 12:29:52 -07:00
Robert C Jennings
e3dce0ab17
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized
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=*'.
2020-07-29 14:56:26 -05:00
Dimitri John Ledkov
c69c79ea75
releasing package livecd-rootfs version 2.678 2020-07-27 17:38:35 +01:00
David Krauser
83499f1a95 Add mechanism to detect initrdless boot fallback
In v2.672 the default boot behavior of cloud images changed:

- Prior to v2.672, cloud images with the linux-generic kernel attempt
  to boot without an initramfs, would fail, and then retry with an
  initramfs.

- After v2.672, cloud images with the linux-generic kernel boot with
  an initramfs on the first try.

While the behavior is different between the two, they both result in
an instance that has booted with an initramfs. To ensure the changes
in v2.672 do not regress, we need an automated way to check if we are
attempting to boot without an initramfs and failing.

With this change, when we attempt to boot with an initramfs and fail,
initrdless_boot_fallback_triggered is set to non-zero in the grubenv.
This value can be checked after boot by looking in /boot/grub/grubenv
or by using the grub-editenv list command.
2020-07-22 16:41:10 -04:00
Robert C Jennings
84397b5098
Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)
Builds in LP with the Xenial kernel were happy with the recursive mount of
/sys inside the chroot while performing snap-preseeding but autopkgtests
with the groovy kernel failed.  With the groovy kernel the build was
unable to unmount sys/kernel/slab/*/cgroup/* (Operation not permitted).

This patch mounts /sys and /sys/kernel/security in the chroot in the
same way we've added for binary hooks.  This provides the paths under
/sys needed for snap-preseed while avoiding issues unmounting other
paths.
2020-07-18 16:52:18 -05:00
Dimitri John Ledkov
b22d7dc38c
releasing package livecd-rootfs version 2.676 2020-07-18 01:18:18 +01:00
Dimitri John Ledkov
3694cf3f75
releasing package livecd-rootfs version 2.675 2020-07-17 21:19:57 +01:00
Steve Langasek
2513613002 releasing package livecd-rootfs version 2.674 2020-07-16 15:40:22 -07:00
David Krauser
4c504f6781 Fix broken minimal cloud image boot on amd64
I recently pulled initramfs logic out of the base build hook, and
dropped that into the `replace_kernel` function. Any cloud image that
does not leverage the generic virtual kernel was expected to call
`replace_kernel` to pull in a custom kernel. That function will
disable initramfs boot for images that use a custom kernel.

Minimal cloud images on amd64 use the linux-kvm kernel, but the build
hook does not utilize the `replace_kernel` function. Instead, the
kernel flavor is set in `auto/config`. I pulled that logic out of
`auto/config` and am now calling `replace_kernel` in the build hook.

I also moved a call to generate the package list so that it will pick
up the change to the linux-kvm kernel.
2020-07-16 17:25:46 -04:00
Michael Hudson-Doyle
83ce5e32a8 releasing package livecd-rootfs version 2.673 2020-07-14 14:58:45 +12:00
Michael Hudson-Doyle
f277d1f355 update changelog 2020-07-14 14:57:16 +12:00
Robert C Jennings
a6a7be7c18
Release package livecd-rootfs version 2.672
* Boot with an initramfs by default in cloud images, except when using a non-generic kernel.
   MP: https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/386913
2020-07-10 07:48:22 -05:00
Dimitri John Ledkov
2976a99f29 Fix-up seeding snaps with tracks. 2020-07-10 01:56:10 +01:00
Dimitri John Ledkov
c60421ae57 releasing package livecd-rootfs version 2.670 2020-07-09 18:35:03 +01:00
David Krauser
5a4541b01e Add changelog entry for initramfs changes 2020-07-08 17:29:15 -04:00
Dimitri John Ledkov
4f11f40c96 releasing package livecd-rootfs version 2.669 2020-06-25 18:02:57 +01:00
Dimitri John Ledkov
04c2fda36c releasing package livecd-rootfs version 2.668 2020-06-23 15:05:15 +01:00