3368 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
a3c8499517 add changelog entry 2024-12-04 05:54:55 +13:00
Cody Shepherd
681ff948be
fix: add packge list and manifest creation in early break stanza
this fixes missing manifests for riscv64, which
causes problems subsequent hooks that expect the uefi manifest to exist
2024-11-21 09:10:12 -08:00
Jess Jang
315f3aef42 d/changelog 2.765.52 2024-10-16 10:57:34 -05:00
Jess Jang
95a1b69f18 feat(apparmor): Add 6.8 kernel apparmor component under permstable32
Failing CPC tests show that preseeded apparmor component for 6.8 kernel is missing
with permstable32.
(LP: #2084698)
2024-10-16 10:56:53 -05:00
Michael Hudson-Doyle
a870c45621 Merge branch 'jammy-cpc-sbom-everywhere' into ubuntu/jammy 2.765.51 2024-09-26 21:27:47 +12:00
Michael Hudson-Doyle
27cc166f58 update version number 2024-09-26 21:27:35 +12:00
Didier Roche
83f7cafe26
releasing package livecd-rootfs version 2.765.50 2.765.50 2024-09-12 08:18:21 +02:00
Didier Roche
cd5f41550a
Replace some functionalities done by the windows launcher
The windows launcher is going to be retired.
We need to move those functionalities to rootfs build side: (LP: #2080223)
- enable systemd by default
- ship up to 3 rootfs tarballs, differentiating by the upgrade policy
2024-09-10 15:46:23 +02:00
Łukasz 'sil2100' Zemczak
f2a83e8731 releasing package livecd-rootfs version 2.765.49 2.765.49 2024-09-10 12:31:13 +02:00
Łukasz 'sil2100' Zemczak
66d8622dc0 Another attempt to get images building. 2024-09-10 12:28:10 +02:00
Steve Langasek
ed89ea74c8 releasing package livecd-rootfs version 2.765.48 2.765.48 2024-09-06 14:09:37 -07:00
Łukasz 'sil2100' Zemczak
bd2839a928 Attempt manual removal. 2024-09-06 14:54:53 +02:00
Łukasz 'sil2100' Zemczak
b19cbd50af releasing package livecd-rootfs version 2.765.47 2.765.47 2024-09-06 10:52:41 +02:00
Łukasz 'sil2100' Zemczak
c9829dd5c7 First attempt on a workaround. 2024-09-06 10:51:44 +02:00
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