23004 Commits

Author SHA1 Message Date
Sayan Chowdhury
acee1f96d7 app-shells/bash: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-01 08:34:29 +00:00
Sayan Chowdhury
7e69564aef app-shells/bash: Sync with Gentoo upstream; updates to 5.1_p8
gentoo ref: 0ed05ce0a8f0d1c3dfa6151e7ebb25b67c4aae16

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-10-01 08:33:32 +00:00
Sayan Chowdhury
d0d372408b dev-util/meson-format-array: Add new package as meson dependency
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-01 07:40:40 +00:00
Sayan Chowdhury
07041260fd dev-util/meson: Sync with gentoo upstream; updates to 0.57.2
gentoo ref: 476cd2936d

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-01 07:40:40 +00:00
Sayan Chowdhury
1c6a2d831e dev-python/jinja: Add new package for systemd dependency
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-01 07:40:40 +00:00
Sayan Chowdhury
46b66f6236 eclass: Add meson-multilib, and sync meson with Gentoo upstream
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-10-01 07:40:39 +00:00
Sayan Chowdhury
c0ec35c1e0 acct-user/*: Add the needed acct-user package for systemd v249
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-10-01 07:40:39 +00:00
Sayan Chowdhury
332cc1ce6e acct-group/*: Add the needed groups for systemd v249
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-10-01 07:40:39 +00:00
Flatcar Buildbot
cf16fed72b sys-kernel: Upgrade Kernel 5.10.69 to 5.10.70 2021-10-01 07:22:32 +00:00
Sayan Chowdhury
21d252eb25 Merge pull request #220 from ArkaprabhaChakraborty/arkaprabha/update-libgcrypt
upgraded libgcrypt to 1.9.4
2021-09-30 20:08:36 +05:30
Sayan Chowdhury
a889538071 Merge pull request #1316 from ArkaprabhaChakraborty/arkaprabha/update-libgcrypt
upgraded libgcrypt to 1.9.4
2021-09-30 20:08:32 +05:30
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