2965 Commits

Author SHA1 Message Date
Steve Langasek
908042dbc9 The chroot tmpfs mount should only be /var/lib/apt/lists, not /var/lib/apt; the latter breaks changes to /var/lib/apt/extended_states. LP: #2036195.
(cherry picked from commit 1deccc2edd7f139b84a6cb3d0a4dfe5ebaff50c7)

# Conflicts:
#	debian/changelog
2023-10-19 18:17:46 +01:00
Utkarsh Gupta
9a2056d7cb Update d/ch for 2.664.50 release debian/2.664.50 2023-10-09 16:03:30 +01:00
Thomas Bechtold
02c759d3bc Add debian/changelog 2023-09-28 13:19:50 +02:00
Thomas Bechtold
84c182ac44 fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)
Modifying directly /etc/ssh/sshd_config creates "problems" when
upgrading eg. from Focal to Jammy because the upgrade will ask the
user what to do with the modified config. To avoid that, put the
custom configuration into /etc/ssh/sshd_config.d/ so the upgrade of
openssh-server can just replace /etc/ssh/sshd_config without asking
the user.

(cherry picked from commit b54d24ff3310f7ace00ab08e0dacfdc89e026f1c)
2023-09-28 13:18:25 +02:00
Steve Langasek
2203488f7e releasing package livecd-rootfs version 2.664.49 2.664.49 2023-09-13 09:15:06 -07:00
Steve Langasek
c367959d58 squash the changelog, instead of detailing revert-revert-revert history 2023-09-13 09:15:05 -07:00
John Chittum
d598b12ad5
doc: Changelog entry 2023-09-08 08:40:20 -05:00
John Chittum
0f4c895b95
fix: GRUB_DISTRIBUTOR and grub install rectification
LP: 2034253 and LP: 2027686 both deal with buildd vm images failing to
boot when removing `--removable` and the stanzas copying EFI around. We
need to remove those stanzas for launchpad builder compatibility. even
though focal and jammy weren't failing, keeping everything aligned is
important. LP: 2034253 further showed that GRUB_DISTRIBUTOR being set by
default in grub requires lsb_release, which isn't in buildd images.
That's the root of why removing the stanzas failed. Since the only image
we know of where this bug is hit with grub is buildd (because everything
else has lsb_release), rather than adding a new dependency into buildd,
or backporting grub if we don't need to, setting GRUB_DISTRIBUTOR in the
buildd hook solves the immediate issue
2023-09-08 08:36:14 -05:00
Steve Langasek
eb66cea8ba Revert previous change; the image builds did not fail in focal, and this change introduced a regression (LP #2027686). 2023-07-14 09:32:23 -07:00
Steve Langasek
83667afe02 Revert "Drop use of --removable flag to grub-install from buildd/hooks"
This reverts commit e55a349683cb140e6a4437149db31bd28c42e5cb.
2023-07-14 09:31:52 -07:00
Steve Langasek
b94cc086a1 releasing package livecd-rootfs version 2.664.48 2.664.48 2023-05-19 00:09:04 -07:00
Steve Langasek
e55a349683 Drop use of --removable flag to grub-install from buildd/hooks
This now matches the cloud images (7c760864fdcb278ca37396f06f5e3f297428d63d)
fixing bootloader updates in the buildd images, but also fixing
compatibility with using devtmpfs for losetup.
2023-05-19 00:06:20 -07:00
Simon Poirier
561ce5b633 Changelog entry 2.664.47 2023-03-21 09:27:15 -04:00
Simon Poirier
9fd491886e fix: Bump armhf to 3.5G in disk-image-uefi (LP: #2011739)
This increase should cover the growth of packages, notably linux-firmware.
2023-03-21 09:26:49 -04:00
Łukasz 'sil2100' Zemczak
f86653ccd9 releasing package livecd-rootfs version 2.664.46 2.664.46 2023-03-16 14:04:44 +01:00
Łukasz 'sil2100' Zemczak
9d18e5d2e3 Backport hack from jammy for fixing offline installs. 2023-03-16 14:04:25 +01:00
Utkarsh Gupta
0c08fc269d Update d/ch for 2.664.45 release 2.664.45 2022-12-12 15:34:59 +05:30
Utkarsh Gupta
8be7e4ff50 Clean up whitespaces 2022-12-12 15:34:38 +05:30
Samir Akarioh
aa1c6d9e19 feat: Add metadata on ubuntu-oci image
Add a file build.info on etc/cloud
with the serial information

Signed-off-by: Samir Akarioh <samir.akarioh@canonical.com>
(cherry picked from commit 105acdebc783291f740294b5c317f3e6d2da9de4)
2022-11-22 12:21:40 +01:00
Michael Hudson-Doyle
901a79fcca releasing package livecd-rootfs version 2.664.44 2.664.44 2022-07-29 09:58:05 +12:00
Michael Hudson-Doyle
66e9dc03d9 fix changelog whitespace 2022-07-29 09:57:54 +12:00
John Chittum
796554befe
open 2.664.44 release 2022-07-18 10:32:16 -05:00
Michał Sawicz
0b01d8451c
Add arm64 buildd bootable image
(cherry picked from commit 997fd08e628219a277c0e67a9af5bf7dc0031c7f)
2022-07-18 10:23:53 -05:00
Utkarsh Gupta
60dc192e42 Update d/ch for 2.664.43 release 2.664.43 2022-07-04 13:51:47 +05:30
Utkarsh Gupta
fded2787e5 Merge remote-tracking branch 'ikapelyukhin/focal-backport-arm64-secureboot' into ubuntu/focal
* ikapelyukhin/focal-backport-arm64-secureboot:
  Update debian/changelog
  disk-image-uefi.binary: enable secureboot on the arm64 image.
2022-07-04 13:50:09 +05:30
Łukasz 'sil2100' Zemczak
37663a7d89 releasing package livecd-rootfs version 2.664.42 2.664.42 2022-06-30 17:30:16 +02:00
Ivan Kapelyukhin
0c9dd96849
Update debian/changelog 2022-06-30 16:27:19 +02:00
Dimitri John Ledkov
c8dd849261
disk-image-uefi.binary: enable secureboot on the arm64 image.
(cherry picked from commit 122364df65ad4ecf768b6a488058bf37a023ab55)
2022-06-29 07:22:22 +02:00
Łukasz 'sil2100' Zemczak
9b7111ac6a Add bug numbers 2022-06-28 10:40:38 +02:00
Łukasz 'sil2100' Zemczak
e1d51ec263 Adjust the PROJECT name in the live-server hooks for SUBARCH. 2022-06-10 17:53:21 +02:00
Łukasz 'sil2100' Zemczak
7410fc4a3e Additional changes were needed for the server-live hooks, since those were exiting early for SUBARCH images. 2022-06-10 16:46:10 +02:00
Łukasz 'sil2100' Zemczak
f59dad4ce9 Some missing pieces. 2022-06-10 12:18:42 +02:00
Łukasz 'sil2100' Zemczak
8b0cd96803 Add intel-iot server images, build intel-iot with the 5.15 kernel. 2022-06-09 16:52:08 +02:00
Utkarsh Gupta
b9dfc7dec7 Update d/ch for 2.664.41 release 2.664.41 2022-03-10 14:52:14 +05:30
Utkarsh Gupta
55dad01adc Merge remote-tracking branch 'toabctl/focal-backport-optional-allow-core-snaps' into ubuntu/focal
* toabctl/focal-backport-optional-allow-core-snaps:
  Update debian/changelog
  Allow to install core snap optionally
2022-03-10 14:51:51 +05:30
Thomas Bechtold
4ec6cefabe Update debian/changelog 2022-03-09 10:49:17 +01:00
Thomas Bechtold
edc244249a Allow to install core snap optionally
Commit 245f7772bdb74 added code to abort the build if a snap wants to
install "core" (the 16.04 runtime). That's great but there are still
some CPC maintained image builds that use snaps based on "core". So
make it possible to continue the build if the "ALLOW_CORE_SNAP" env
variable is set.

(cherry picked from commit 34735684d5208981b2413047f67ee4c363d718d8)
2022-03-09 10:48:08 +01:00
Ivan Kapelyukhin
d45d1544f4
Update changelog 2022-03-03 15:57:39 +01:00
Ivan Kapelyukhin
e64406f4f8
perf(cpc): split disk-image-uefi out of disk-image series file
Due to how `disk-image` file is structured, it builds BIOS and UEFI
images at the same time. However, certain images (e.g., GCE images)
require only UEFI image to be built, BIOS image is being simply
discarded. This results in longer build times.

Splitting out `disk-image-uefi` would allow images to use it instead of
`disk-image` and thus avoid building unused BIOS images.

`disk-image` now depends on `disk-image-uefi` for backward
compatibility.

(cherry picked from commit b40ce74fd67bbaa7f9ec94463d8da759724f9fec)
2022-03-03 15:57:11 +01:00
Utkarsh Gupta
febe9e3f8b Update d/ch for 2.664.40 release 2.664.40 2022-02-23 14:14:29 +05:30
Ivan Kapelyukhin
442dbd4af4
Update changelog 2022-02-22 07:08:33 +01:00
Ivan Kapelyukhin
9eb9d89a60
fix: unset initrdless_boot_fallback_triggered instead of setting it to 0
This fixes GCE shielded VM instances integrity monitoring failures on
focal and later. Our images are built with an empty /boot/grub/grubenv
file, however after the first boot `initrdless_boot_fallback_triggered`
is set to 0. This change in `grubenv` results in integrity monitoring
`lateBootReportEvent` error.

It seems that the only thing that's checking for this `grubenv` variable
is `grub-common.service`, and it is looking specifically for a `1`
value:

  if grub-editenv /boot/grub/grubenv list | grep -q
  initrdless_boot_fallback_triggered=1; then echo "grub:
  GRUB_FORCE_PARTUUID set, initrdless boot paniced, fallback triggered.";
  fi

Unsetting this variable instead of setting it to 0 would prevent issues
with integrity monitoring.
2022-02-22 07:06:07 +01:00
Łukasz 'sil2100' Zemczak
fed7c9d481 releasing package livecd-rootfs version 2.664.39 2.664.39 2022-02-15 19:44:15 +01:00
Łukasz 'sil2100' Zemczak
fe5576194e Use the classic gadget for raspi images 2022-02-15 19:43:50 +01:00
Brian Murray
1b96055b31 releasing package livecd-rootfs version 2.664.38 2022-02-10 15:42:04 -08:00
John Chittum
0fbafa9dbe Add sleep to workaround e2fsck errors
LP: 1960537 illustrates an issue where the calls to e2fsck in the
umount_partition call are failing due to an open file handle. At this
time, we are unable to find a root cause, and it's causing many builds
to fail for CPC. Adding a sleep 30 as a workaround as the file handle
releases within  that timeframe. This does not address root cause.
2022-02-10 15:39:25 -08:00
Steve Langasek
14c13d16b2 releasing package livecd-rootfs version 2.664.37 2.664.37 2022-01-18 16:16:22 -08:00
Steve Langasek
bf889e33e4 Treat it as a fatal error if we are asked to install a snap that would pull in the core snap. Ubuntu 20.04 and Ubuntu 22.04 official images should never require snaps that depend on an Ubuntu 16.04 runtime, this indicates a misconfiguration that will bloat the install. 2022-01-11 19:26:38 -08:00
Steve Langasek
83953bd041 We don't pipe grep to awk in this house, young man 2022-01-11 19:26:31 -08:00
Steve Langasek
dc629f4114 Do not look for a base snap on snaps of type base, because recursive dependencies are not allowed for snaps. LP: #1957123. 2022-01-11 19:26:27 -08:00