diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-09-03 20:03:43 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-08 18:02:39 +0100 |
| commit | 64857a709bcccd0f6738633e313f36d96219de54 (patch) | |
| tree | f9a52d2b1629bda7b16d67966d96eec922cbf477 /meta/lib/oeqa/runtime | |
| parent | 468bcd19506ea20082cafaaa5f53909c802dc19a (diff) | |
| download | poky-64857a709bcccd0f6738633e313f36d96219de54.tar.gz | |
apt: upgrade 2.6.1 -> 3.0.3
Changelog:
https://metadata.ftp-master.debian.org/changelogs/main/a/apt/apt_3.0.3_changelog
Dropped patches which are included in this release, or became obsolete:
0001-Fix-compilation-error-with-clang-libc-18.patch - included in this release
0001-Fix-musl-build.patch - included in this release
0001-Raise-cmake_minimum_required-to-3.13-to-avoid-warnin.patch - included in this release
0001-Remove-using-std-binary_function.patch - became obsolete, fixed upstream
0001-aptwebserver.cc-Include-array.patch - became obsolete, fixed upstream
0001-strutl-Add-missing-include-cstdint-gcc-15.patch - included in this release
Added a new patch to avoid compilation error with musl:
error: 'basename' was not declared in this scope; did you mean 'rename'?
Adapted DEPENDS list - gnutls and gcrypt dependencies were dropped in favor of openssl
in version 2.9.19.
Added a new PACKAGECONFIG, 'usrmerge', which displays a gentle warning if the system
isn't a usrmerge system during package installation.
Added new COMMON_ARCH CMake argument - if it is not defined, CMake is trying to
determine the value of this variable by running dpkg, which is usually a futile
endeavour. It is used in config creation, and to print some system info.
Also adapt a self test: the apt-key command has been deprecated since a while,
and in this release it was completely removed. Instead sources.list file
contains the signature data, on a per-repository basis.
(From OE-Core rev: 1413a6144679a8347a3487f1950612ee20ff382c)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
| -rw-r--r-- | meta/lib/oeqa/runtime/cases/apt.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/apt.py b/meta/lib/oeqa/runtime/cases/apt.py index 8000645843..c6b62987f1 100644 --- a/meta/lib/oeqa/runtime/cases/apt.py +++ b/meta/lib/oeqa/runtime/cases/apt.py | |||
| @@ -54,7 +54,14 @@ class AptRepoTest(AptTest): | |||
| 54 | def setup_key(self): | 54 | def setup_key(self): |
| 55 | # the key is found on the target /etc/pki/packagefeed-gpg/ | 55 | # the key is found on the target /etc/pki/packagefeed-gpg/ |
| 56 | # named PACKAGEFEED-GPG-KEY-poky-branch | 56 | # named PACKAGEFEED-GPG-KEY-poky-branch |
| 57 | self.target.run('cd %s; apt-key add P*' % ('/etc/pki/packagefeed-gpg')) | 57 | # copy it to /etc/apt/keyrings/PACKAGEFEED-GPG-KEY-poky-branch.asc, and |
| 58 | # set it as the signing key for the repos | ||
| 59 | cmd = "KEY_FILE_PATH=`realpath /etc/pki/packagefeed-gpg/P*`; " | ||
| 60 | cmd += "KEY_FILE_NAME=`basename $KEY_FILE_PATH`; " | ||
| 61 | cmd += "mkdir -p /etc/apt/keyrings; " | ||
| 62 | cmd += "cp $KEY_FILE_PATH /etc/apt/keyrings/${KEY_FILE_NAME}.asc; " | ||
| 63 | cmd += 'sed -i "s|^deb |deb \[signed-by=/etc/apt/keyrings/${KEY_FILE_NAME}.asc\] |g" /etc/apt/sources.list' | ||
| 64 | self.target.run(cmd) | ||
| 58 | 65 | ||
| 59 | @skipIfNotFeature('package-management', | 66 | @skipIfNotFeature('package-management', |
| 60 | 'Test requires package-management to be in IMAGE_FEATURES') | 67 | 'Test requires package-management to be in IMAGE_FEATURES') |
