2976 Commits

Author SHA1 Message Date
Philip Roche
57bdb9f6bd Update d/ch for 2.664.53 release
* Marking 2.664.53 unlreleased->focal as it has now been uploaded
* Fixing chanelog entry line too long
2024-02-13 18:07:13 +00:00
Philip Roche
081a251efd Merge bugfix/add_apparmor515_focal into ubuntu/focal [a=philroche] [r=ankushpathak,jessica-youjeong,vorlon]
feat(apparmor): Add kernel apparmor check to snap validation (LP: #2052789)

For jammy and later, snap validation verifies that the kernel
version matches the livecd-rootfs version, if available.  This
change bring focal in line with that paradigm.  This is necessary
due to the linux-$CLOUD-5.15 kernels requiring a different
apparmor feature set that generic.

feat: add 5.15 apparmor directory (LP: #2052789)

After the kernel roll to linux-gcp-5.15-5.15.0-1051.59_20.04.1,
basic_ubuntu::test_snap_preseed_optimized began failuring due to
a preseed mismatch.  This change adds a 5.15 apparmor configuration
to the focal branch.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/460323
2024-02-13 16:41:23 +00:00
Philip Roche
e51e89423d Update d/ch for 2.664.53 release 2024-02-09 10:17:58 +00:00
Catherine Redfield
e4fa9ef18d feat(apparmor): Add kernel apparmor check to snap validation (LP: #2052789)
For jammy and later, snap validation verifies that the kernel
version matches the livecd-rootfs version, if available.  This
change bring focal in line with that paradigm.  This is necessary
due to the linux-$CLOUD-5.15 kernels requiring a different
apparmor feature set that generic.

(cherry picked from commit b2f25256707373537ce6c6f37fa5d456f1958edc)
2024-02-09 10:17:58 +00:00
Catherine Redfield
2c3cab4f9d feat: add 5.15 apparmor directory (LP: #2052789)
After the kernel roll to linux-gcp-5.15-5.15.0-1051.59_20.04.1,
basic_ubuntu::test_snap_preseed_optimized began failuring due to
a preseed mismatch.  This change adds a 5.15 apparmor configuration
to the focal branch.

(cherry picked from commit 76628691f5e584bde009f71d05c2057a624445d5)
2024-02-09 10:17:58 +00:00
Utkarsh Gupta
83d1496ca8 Update d/ch for 2.664.52 release debian/2.664.52 2024-01-30 20:59:56 +05:30
Utkarsh Gupta
bcf11eaff6 Fix the LP bug 2024-01-22 17:12:39 +05:30
Utkarsh Gupta
36a30189c4 Update d/ch for 2.664.52 -- UNRELEASED 2024-01-22 17:09:41 +05:30
Thomas Bechtold
85fa04c107 fix: use correct sshd_config.d/ ordering
Commit 3b2eeb017153cbb wrongly backported a change to not modify
/etc/ssh/sshd_config . The correct fix from ubuntu/master is
3b2eeb017153c where the file is named 60-cloudimg-settings.conf
instead of 10-cloudimg-settings.conf.

This fixes problems with cloud-init which does write
50-cloud-init.conf which should have higher priority than the provided
file from the image.

(cherry picked from commit 434b21e2023c3c3e5261fbd78e2eefee9aac5b1e)
2024-01-19 15:48:46 +01:00
Philip Roche
31730b7f6c Fix d/ch formatting for 2.664.51 2.664.51 2023-10-27 12:04:31 +01:00
Philip Roche
05e4d0bec0 Merge bugfix/ubuntu-cpc-LP-2036195-auto-installed-packages-focal into ubuntu/focal [a=philroche] [r=andrew-cloke,vorlon]
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.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/454066
2023-10-26 16:57:56 +01:00
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