3354 Commits

Author SHA1 Message Date
John Chittum
4c11d71655
add changelog entry 2024-08-28 07:57:46 -04:00
John Chittum
2db8a8fce8
feat(ubuntu-cpc): sbom generation everywhere
patch create_manifest to produce an sbom when called by an ubuntu-cpc
project. Patch all the ubuntu-cpc hooks and series files to include the
newly generated manifests, filelists, and sboms. Generates a number of
new artifacts in the builds. the snap utilized, cpc-sbom, is an open
source repo and a provided via a hidden snap. there is no intention of
publisizing the snap or how we generate sboms, however partners require
the ability to audit if required.

defensively checks if the snap is already installed, in the case of
multiple hooks being called in a single build (thus sharing a build
host), and only if called in an ubuntu-cpc project.

(cherry picked from commit 7c7b7df89dc96169db1f255d6bba901ebb63a43c)
2024-08-27 08:10:40 -04:00
Utkarsh Gupta
fd817a8775 Update d/ch for 2.765.46 release 2.765.46 2024-08-06 21:07:22 +05:30
Utkarsh Gupta
9228877e03 Merge remote-tracking branch 'ankushpathak/feat/apparmor_6_8_features' into ubuntu/jammy
* ankushpathak/feat/apparmor_6_8_features:
  d/changelog
  feat(apparmor): Add 6.8 kernel apparmor features' preseed
2024-08-06 21:06:41 +05:30
Chris Peterson
1620c2eebb changelog 2.765.45 2.765.45 2024-07-31 15:24:36 -07:00
Chris Peterson
b94a944e80 ubuntu-server: remove openssh-server (LP: #1974483)
ssh-import-id is part of the server-minimal task, which means it and
openssh-server are always installed by Subiquity regardless of user
choice. Since we can't update the Task headers post release,
ensure that openssh-server, openssh-sftp-server, and ssh-import-id
are not included in the minimal and full layers by purging them
in a dedicated hook.
2024-07-31 15:24:12 -07:00
Ankush Pathak
82fc6a9211 d/changelog 2024-07-26 20:01:20 +05:30
Ankush Pathak
da5880bf86 feat(apparmor): Add 6.8 kernel apparmor features' preseed
Failing CPC tests show that preseeded apparmor features for the 6.8
kernel are missing. This change adds the required preseeds.
(LP: #2074204)
2024-07-26 19:55:25 +05:30
Philip Roche
885edf6be3
d/ch change to uploader for 2.765.44 jammy
I can then sign and upload
2.765.44
2024-06-27 14:12:12 +01:00
Loïc Minier
42281654ae Backport support for building tegra-igx Core
Backport support for building tegra-igx Server and Core images;
LP: #2070070.

From https://code.launchpad.net/~rmartin013/livecd-rootfs/+git/livecd-rootfs/+merge/466187
2024-06-21 18:43:43 +00:00
Simon Poirier
56b9302992 changelog for 2.765.43 2.765.43 2024-06-07 12:29:14 -04:00
Simon Poirier
236e1d68c4 Add udev to buildd/disk-image-uefi hook to satisfy grub-probe. (LP: #2064175) 2024-06-07 12:26:26 -04:00
Philip Roche
c668946c66 fix: Update d/ch for 2.765.42 as I am uploader sponsoring Ankush Pathak changes
I do not have keys to sign changes for Ankush Pathak
2.765.42
2024-05-22 12:40:37 +01:00
Philip Roche
5a9959098d Merge ankushpathak-feat/add_apparmor_unconfined_restrictions_policy_6_5_kernel into ubuntu/jammy [a=ankushpathak] [r=kajiya,philroche]
feat: Update d/ch for 2.765.42

feat(apparmor): Add policy:unconfined_restrictions feature to 6.5 kernel

MP: https://code.launchpad.net/~ankushpathak/livecd-rootfs/+git/livecd-rootfs/+merge/464663
2024-05-22 12:39:01 +01:00
Loïc Minier
a692ec8549
Add support for tegra-igx (similar to tegra) 2024-05-21 18:36:59 +02:00
Ankush Pathak
085f574ed4 feat: Update d/ch for 2.765.42 2024-04-22 08:43:35 -05:00
Ankush Pathak
9b088d458f feat(apparmor): Add policy:unconfined_restrictions feature to 6.5 kernel
Failing CPC tests show that the preseeded apparmor features don't
include policy:unconfined_restrictions for the 6.5 kernel. This change
adds the feature preseed.
Fixes LP: #2062929
2024-04-19 15:48:23 -05:00
Philip Roche
94236b73ca releasing package livecd-rootfs version 2.765.41
Updates to d/ch
2.765.41
2024-03-25 14:31:49 +00:00
Philip Roche
91f112908e Merge bugfix/add_apparmor515_jammy into ubuntu/jammy [a=philroche] [r=brian-murray,jessica-youjeong]
fix: Missing apparmor feature for generic kernel (LP: #2052789)

ipc has been added to apparmor feature in generic (5.15)
kernel and this feature should be seeded during image
build[0].

[0] https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2052789

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/460929
2024-03-25 12:27:20 +00:00
Philip Roche
2b520e7e43 feat: Update d/ch for 2.765.41
Add description for changes proposed in 2.765.41

(cherry picked from commit 8daf75cd35807afbfbfe2a2e0ef82b8f0b9bbd3e)
2024-02-21 11:37:27 +00:00
Jess Jang
ba397a0e02 fix: Missing apparmor feature for generic kernel (LP: #2052789)
ipc has been added to apparmor feature in generic (5.15)
kernel and this feature should be seeded during image
build[0].

[0] https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2052789

(cherry picked from commit 4833221e4b5b3af1e76e6cd8818ef85565358ade)
2024-02-21 11:34:28 +00:00
Łukasz 'sil2100' Zemczak
41f4ccf0a6 releasing package livecd-rootfs version 2.765.40 2.765.40 2024-02-20 11:01:13 +01:00
Łukasz 'sil2100' Zemczak
ef87b2b2d5 Handle the allwinner kernel in the same way as we handle generic 2024-02-20 09:54:14 +01:00
Michael Hudson-Doyle
43133764fd releasing package livecd-rootfs version 2.765.39 2.765.39 2024-02-19 09:25:24 +13:00
Michael Hudson-Doyle
11b5162b14 Use flock to avoid races with systemd-udevd that cause loop device partitions to briefly disappear. (LP: #2045586) 2024-02-19 06:55:19 +13:00
Łukasz 'sil2100' Zemczak
eb987eae64 releasing package livecd-rootfs version 2.765.38 2.765.38 2024-01-25 12:10:52 +01:00
Łukasz 'sil2100' Zemczak
071611b708 Merge branch 'jammy-64k' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/jammy 2024-01-25 12:06:16 +01:00
Philip Roche
79432bfc4d fix: d/changelog debian-changelog-line-too-long line 3 for version 2.765.37
This fixes lintian error

```
W: livecd-rootfs: debian-changelog-line-too-long line 3
```
2.765.37
2024-01-22 16:25:52 +00:00
Philip Roche
8b83212372 Merge bugfix/unminimize-no-lxd-installer-package-jammy into ubuntu/jammy [a=philroche] [r=utkarsh,vorlon]
fix: Fix calls to `unminimize` if lxd-installer package not present (LP: #2049723)

The unminimize script will try to install the lxd snap using the shim script
`/usr/sbin/lxd` from the lxd-installer package.

Previously `unminimize` was using `snap`
to install `lxd` directly which was being diverted by diverting the `snap` command.

This is no longer the case so we can remove `/usr/sbin/lxd` from the lxd-installer package
if it exists and then redirect any calls to `/usr/sbin/lxd` to `/bin/true`

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/458910
2024-01-22 15:58:26 +00:00
Łukasz 'sil2100' Zemczak
e8f7935ffa Add changelog. 2024-01-22 16:54:24 +01:00
Łukasz 'sil2100' Zemczak
7d5a370ffe Add a largemem subarch that ships a 64k kernel variant by default. 2024-01-22 16:46:37 +01:00
Philip Roche
8f8415e1dc fix: Always use dpkg-divert instead of altering files maintained by packages
Altering a file maintained by a package can lead to unexpected behaviou expecially in
this case where packages are being removed and added.

Instead use `dpkg-divert` to allow us to mock `lxd` to `true` to allow `unminimize` to work
without error and to avoid installing of the `lxd` snap.
2024-01-22 13:27:12 +00:00
Philip Roche
6ad70d64a5 fix: When using rm do not use --force when not required
`--force` implies that we wish not to fail `rm` even if the file is not present.

This was not our intention and as such can be removed.

Also use short option `-v` for verbose output as per the test of the code base.
2024-01-22 13:27:12 +00:00
Philip Roche
d97514cba0 fix: Improve comments for case when lxd-installer package is not installed
Improve confusing comments for case when lxd-installer package is not installed.

This was worded confusingly
2024-01-22 13:27:12 +00:00
Philip Roche
c09d4c1652 fix: Only use single brackets for if statements
Double brackets are not required and do not follow the uses elsewhere in this code base
2024-01-22 13:27:12 +00:00
Philip Roche
34dea62ef0 fix: Fix calls to unminimize if lxd-installer package not present (LP: #2049723)
The unminimize script will try to install the lxd snap using the shim script
`/usr/sbin/lxd` from the lxd-installer package.

Previously `unminimize` was using `snap`
to install `lxd` directly which was being diverted by diverting the `snap` command.

This is no longer the case so we can remove `/usr/sbin/lxd` from the lxd-installer package
if it exists and then redirect any calls to `/usr/sbin/lxd` to `/bin/true`.
2024-01-22 13:27:12 +00:00
Utkarsh Gupta
8a59f9d4ee Update d/ch for 2.765.36 release 2.765.36 2024-01-19 18:09:10 +05:30
Thomas Bechtold
373b5b6338 Update d/changelog 2024-01-19 09:39:31 +01:00
Thomas Bechtold
434b21e202 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.
2024-01-19 09:29:52 +01:00
Utkarsh Gupta
26342a6e15 Change UNRELEASED -> jammy as it has been uploaded 2.765.35 2024-01-18 16:18:21 +05:30
Łukasz 'sil2100' Zemczak
e117bfdfee Merge branch 'ubuntu/jammy' of git+ssh://git.launchpad.net/livecd-rootfs into jammy-pi-fix 2024-01-15 16:52:58 +01:00
Łukasz 'sil2100' Zemczak
154ff7d44e releasing package livecd-rootfs version 2.765.34 2.765.34 2024-01-15 16:43:29 +01:00
Łukasz 'sil2100' Zemczak
3b4c889c3d Remove comments in the debian/control dependencies as it was causing the package build to fail. 2024-01-15 16:42:05 +01:00
Łukasz 'sil2100' Zemczak
33362993d1 For raspi preinstalled builds, use a per-series dedicated gadget branch. 2024-01-15 11:39:33 +01:00
Utkarsh Gupta
c558aa3653 Update d/ch for 2.765.33 release 2024-01-11 16:50:45 +05:30
Utkarsh Gupta
1a05e8298a unminimize: Use lxd-installer to install LXD itself (LP: 2036725)
By invoking LXD, lxd-installer will install LXD from the right
place, thereby make it simpler for us to not hardcode the
channel and manually snap install it.

(cherry picked from commit 795927c48cf2e763e8f222e8c27c63e71d966a5f)
2024-01-11 16:50:20 +05:30
Steve Langasek
74cdef3a14 Merge branch 'no-kpartx-on-jammy' into ubuntu/jammy 2023-12-06 23:55:41 -08:00
Brian Murray
a319c1fe80 releasing package livecd-rootfs version 2.765.32 2023-12-06 11:03:27 -08:00
Brian Murray
c70fbe0a15 arm: fix console parameter for ARM cloud-images (LP: #2036730) 2023-12-06 11:02:58 -08:00
Steve Langasek
f45bf21636 Include bug ref in changelog.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2045797
2023-12-06 10:59:00 -08:00