22893 Commits

Author SHA1 Message Date
Aniruddha Basak
c3dc9f20e5 Remove util-linux entry from package.accept_keywords 2021-09-30 13:57:19 +00:00
Dongsu Park
1cdf93de4d .github: split git repo init part into prepare_git_repo
We need to split the beginning of setting up the top-level git repo into
a new function prepare_git_repo, and call it in the beginning of each
script. That is to prevent some corner cases, where applying multiple
patches does not work because the latter overwrites the former patch.
So we should not set up the git repo again in each apply_patch, but only
in the beggining, prepare_git_repo.
2021-09-30 14:15:24 +02:00
Dongsu Park
b1e2d22d03 .github: clean up an unnecessary patch file
After applying a patch file, we should clean up the unnecessary patch
file, to avoid conflicts when applying multiple patches in one PR.
2021-09-30 14:13:10 +02:00
Kai Lüke
0de747c971
Merge pull request #156 from flatcar-linux/kai/jenkins-cl-internet
jenkins/kola/packet.sh: fix check for skipping machine type tests
2021-09-30 11:53:29 +02:00
Kai Lueke
e24c456889 jenkins/kola/packet.sh: fix check for skipping machine type tests
The cl.basic and cl.internet tests are different tests which wasn't
clear before. Also, the grep process returns an exit code of 1 if it
didn't find a match, causing the job to cancel. The list of tests is
space separated and should not be quoted but on the other hand, we
do have to handle a literal *.
Look for the right test and handle the grep exit code, and disable
globs for the subshell for preserving a literal *.
2021-09-30 11:50:30 +02:00
Mathieu Tortuyaux
1003d2e225 Merge pull request #1315 from flatcar-linux/tormath1/bump-afterburn
coreos-base/afterburn: bump commit ID
2021-09-30 11:24:17 +02:00
ArkaprabhaChakraborty
8586f45325 Add plocale.eclass 2021-09-30 08:39:22 +00:00
ArkaprabhaChakraborty
bb597c8f0b Upgrade git 2.32.0-r1 2021-09-30 08:38:02 +00:00
Aniruddha Basak
faf115acde Update util-linux to 2.37.2 2021-09-30 08:05:27 +00:00
Mathieu Tortuyaux
526bf189a5 coreos-base/afterburn: bump commit ID
this pulls the following PR:
- https://github.com/flatcar-linux/afterburn/pull/11
- https://github.com/flatcar-linux/afterburn/pull/14

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-09-30 09:59:06 +02:00
Flatcar Buildbot
22e11ed796 sys-kernel: Upgrade Linux Firmware 20210818 to 20210919 2021-09-30 07:13:13 +00:00
Aniruddha Basak
3ca09a0ab0 Update app-editors/vim to cat 8.2.0814 2021-09-29 15:30:43 +00:00
Dongsu Park
7ecc6e2c3a Merge pull request #1314 from flatcar-linux/dongsu/audit-fix-patch-hash
sys-process/audit: fix hash of patch 017e6c6ab95d
2021-09-29 14:41:14 +02:00
Kai Lüke
3bbd7221c7
Merge pull request #153 from flatcar-linux/kai/test-more-hw
jenkins: run simple network test on different hardware
2021-09-29 13:55:27 +02:00
ArkaprabhaChakraborty
232a9f4261 Add Upgrade curl 7.79.1 to package.accept_keywords 2021-09-29 11:23:59 +00:00
ArkaprabhaChakraborty
0751cb1939 Upgrade curl 7.79.1 2021-09-29 11:03:56 +00:00
ArkaprabhaChakraborty
2d7cd3b77e Add Upgrade libgcrypt 1.9.4 to package.accept_keywords 2021-09-29 11:01:31 +00:00
ArkaprabhaChakraborty
5c6b9c65e0 Upgrade libgcrypt 1.9.4 2021-09-29 10:58:35 +00:00
Dongsu Park
fb44a0c9c3 sys-process/audit: fix hash of patch 017e6c6ab95d
`ebuild audit-2.8.5-r1.ebuild manifest` fails like that:

```
>>> Downloading
'017e6c6ab9.patch'
--2021-09-29 04:05:09--
017e6c6ab9.patch
Resolving github.com... 140.82.121.3
Connecting to github.com|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 854 [text/plain]
Saving to: /mnt/host/source/.cache/distfiles/audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch.__download__

2021-09-29 04:05:09 (57.3 MB/s) -
/mnt/host/source/.cache/distfiles/audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch.__download__ saved [854/854]

!!! Fetched file:
audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      854
!!! Expected: 852
Refetching... File renamed to
'/mnt/host/source/.cache/distfiles/audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch._checksum_failure_.o2889wwd'
!!! Couldn't download 'audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch'. Aborting.
```

That happens because the upstream audit patch
017e6c6ab9.patch
silently changed, so it could have a git commit of 8-bytes instead 7.

Fix the hash in Manifest for now, until we could update
sys-process/audit to 3.0. Upstream Gentoo already has 3.0, dropped 2.8.
However, updating to 3.0 might not so trivial due to Flatcar changes in
audit.
2021-09-29 10:14:30 +02:00
Krzesimir Nowak
8215daa1c5
Merge pull request #154 from flatcar-linux/krnowak/ignore-more-categories
build_library: Ignore more categories in write_licenses
2021-09-29 09:20:19 +02:00
Kai Lueke
6a04b54f0b jenkins: run simple network test on different hardware
The Linux 5.10 stable kernel introduced a regression that we didn't
catch because we only run kola on one hardware type in Equinix Metal.
Validate that a simple network test works on various instance types of
the current hardware generation.
2021-09-28 18:10:24 +02:00
Krzesimir Nowak
ba29a29717 build_library: Ignore more categories in write_licenses
acct-user and acct-group categories aren't licensed too.
2021-09-28 17:55:17 +02:00
Dongsu Park
14f3f5eb8f Merge pull request #1312 from flatcar-linux/dongsu/gnupg-2.2.29
app-crypt/gnupg: update to 2.2.29
2021-09-28 17:13:38 +02:00
Krzesimir Nowak
caa74dfaf8 common: Do not warn on listing the nonexistent files
The subshell was printing the error backtrace, but apparently it was
of no consequences. Just assume that listing may fail, so we don't get
any confusing backtraces.
2021-09-28 16:35:21 +02:00
Krzesimir Nowak
d801ecccdf build_library/board_options: Fix pkg_version function
The documentation says it always returns zero, which is not true -
portageq could return a non-zero return value and that would be the
return value of the function. Fix the function to actually follow the
documentation - apparently the function should just return an empty
string in case of failure (like package not found).
2021-09-28 16:32:30 +02:00
Krzesimir Nowak
5415cf771d virtual/os-headers: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.

We bumped sys-kernel/linux-headers. Then also bump the virtual package
for it.
2021-09-28 16:04:49 +02:00
Krzesimir Nowak
707aa2f758 sys-kernel/linux-headers: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.

kernel-2 eclass dropped support for old EAPIs, so the linux-headers
package needs refreshing.
2021-09-28 15:55:10 +02:00
Krzesimir Nowak
5400affa86 eclass/kernel-2: Support python3.6 too 2021-09-28 15:55:09 +02:00
Krzesimir Nowak
ca04ebdb73 eclass/kernel-2: Sync with gentoo 2021-09-28 15:55:09 +02:00
Dongsu Park
9ce9483b92 Merge pull request #1310 from flatcar-linux/dongsu/fix-ga-firmware-ebuild
.github: get correct ebuild file name from old version
2021-09-28 15:55:08 +02:00
Krzesimir Nowak
6efc0de2bc Merge pull request #219 from flatcar-linux/krnowak/drop-pyopenssl
*: Drop dev-python/openssl and its dependencies
2021-09-28 15:54:46 +02:00
Dongsu Park
e1bb951444 .github: get correct ebuild file name from old version
The bug fix https://github.com/flatcar-linux/coreos-overlay/pull/1129
caused a regression that Github Actions cannot determine a correct
$VERSION_OLD if the old ebuild file has a suffix like `-r1`.
We need to create a function to get a correct ebuild file name, by
falling back to the most similar name, in case the expected ebuild
file does not exist.
2021-09-28 12:50:28 +02:00
Krzesimir Nowak
35979152e7 Merge pull request #1309 from flatcar-linux/linux-5.10.69-main
Upgrade Linux Kernel in main from 5.10.68 to 5.10.69
2021-09-28 10:16:57 +02:00
Krzesimir Nowak
b797cdb723 build_torcx_store: Fix pipeline error handling 2021-09-27 20:18:22 +02:00
Krzesimir Nowak
69d0f05b44 build_torcx_store: Make a variable local 2021-09-27 20:18:22 +02:00
Krzesimir Nowak
eee6b50aa5 *: Do not use RETURN traps
It has some weird semantics that seem to trip us up after updating
bash to 5.1. We tried to use it inside functions to clean up some
stuff after function returns. This can be emulated with an EXIT trap
within a subshell. Fortunately all the users of the RETURN trap were
not setting any global variables - modifications of such variables are
local to the subshell and are lost when the subshell exits.
2021-09-27 20:18:22 +02:00
Dongsu Park
20449e0f4d profiles: delete app-crypt/gnupg from accept_keywords
Since app-crypt/gnupg is already stablilized for both amd64 and arm64,
we do not need gnupg in accept_keywords.
2021-09-27 15:37:57 +02:00
Dongsu Park
4ab9a38e02 app-crypt/gnupg: use EAPI=7
We should stay with EAPI=7, until EAPI 8 could be fully supported
by the Flatcar code base.
2021-09-27 15:37:57 +02:00
Dongsu Park
8617b30cb6 app-crypt/gnupg: add patches for accepting without UIDs
When the GnuPG keyserver is set to `keys.openpgp.org`, `gpg --recv-keys`
occasionally fails with the following error:

```
gpg: key E52F0DB391453C45: no user ID
```

We need to make GnuPG accept keys even without UIDs.
Original patches come from
f292beac11/debian/patches/import-merge-without-userid .
See also https://dev.gnupg.org/T4393 .

Based on commit 3d9a9c9c3654c6b8c073e306636bf8dc64cfb657 .
2021-09-27 15:37:43 +02:00
Dongsu Park
0c0f91e48d app-crypt/gnupg: update to 2.2.29
Update app-crypt/gnupg to 2.2.29.
One of the key purposes for the update is to be able to use the new
default keyserver `keyserver.ubuntu.com`, which is provided by default
since 2.2.29. It is due to the shutdown of the SKS keyserver pools.

See also https://bugs.gentoo.org/811828 .
2021-09-27 15:33:24 +02:00
Krzesimir Nowak
6af2ebf647 *: Drop dev-python/openssl and its dependencies 2021-09-27 15:24:17 +02:00
Krzesimir Nowak
dcb3622206 Merge pull request #212 from flatcar-linux/krnowak/python-transition
Initial steps for python3 transition
2021-09-27 14:56:35 +02:00
Krzesimir Nowak
9f7e2623ff Merge pull request #1269 from flatcar-linux/krnowak/python-transition
Initial steps for python3 transition
2021-09-27 14:56:34 +02:00
Krzesimir Nowak
31736e3638 app-portage/gentoolkit: Bring back from overlay
This is from gentoo commit 8e426ccff148220423503c9a1c6c512c9b63ddfa.
2021-09-27 14:55:47 +02:00
Krzesimir Nowak
9450a14ac2 dev-python/setuptools: Bring back from overlay
This comes from gentoo commit fe13784be44e5167f67315bf280690004aae885e.
2021-09-27 14:55:47 +02:00
Krzesimir Nowak
8682ce1bad sys-libs/talloc: Bring back from overlay
This comes from gentoo commit
3e3fc100e5298bae3ef766d10144dac5c46218c3, so it's a bit older than the
version in overlay, but the differences are small: the newer version
dropped "multilib" from inherit and has more stable keywords. We will
need to add accept_keywords to overlay for this package.
2021-09-27 14:55:47 +02:00
Krzesimir Nowak
a62a2153f7 sys-apps/coreutils: Bring back from overlay
Comes from commit 644f513293168d45627a987fe44ff49a09167219. Could be
updated later, when we update python3.
2021-09-27 14:55:47 +02:00
Krzesimir Nowak
f0b36f19e1 eclass: Accept one parameter only
It's backported from gentoo, some newer packages in gentoo started to
use python_gen_cond_dep with one parameter only, so when we updated
them in portage stable, we don't want them to fail to build.
2021-09-27 14:55:47 +02:00
Krzesimir Nowak
2eb1ab3779 eclass: Support python3 3.8 to 3.10
That way, we will stop getting errors about invalid python
implementation after updating some package that declares compatibility
with a python version we haven't yet packaged.

This could also be done by simply taking the updated version of the
eclass files from gentoo, but they also drop support for older EAPIs
that we unfortunately still use in some places.
2021-09-27 14:55:47 +02:00
Krzesimir Nowak
cd2ce59b72 dev-util/catalyst: Revert one Flatcar modification
We have added a keyworded ebuild for python3.8, so now there is one
less reason for keeping this package in overlay.
2021-09-27 14:52:21 +02:00