22893 Commits

Author SHA1 Message Date
Dongsu Park
7a418b4212 Merge pull request #1088 from kinvolk/dongsu/libpcre-8.44
profiles,app-crypt: fixes needed by libpcre 8.44
2021-07-05 14:19:20 +02:00
Dongsu Park
b7609c8644 Merge pull request #184 from kinvolk/dongsu/libpcre-8.44
dev-libs/libpcre: update to 8.44
2021-07-05 14:19:07 +02:00
Mathieu Tortuyaux
377d68fbc3 Merge pull request #1087 from kinvolk/t-lo/update-to-glibc-2.33
Upgrade to glibc-2.33
2021-07-05 14:05:57 +02:00
Dongsu Park
e91efef4ff app-crypt/mit-krb5: add warn-crossbuild.patch
Set PYTHON_COMPAT to python 3.6 and 3.7 to be suitable for the current
code base.

Add a custom patch to replace error with warning when running autoconf
for cross builds, because libkrb5 is not able to detect
cross-compilation.

See also https://github.com/kinvolk/Flatcar/issues/369 .
2021-07-05 13:08:35 +02:00
Dongsu Park
c4e7fd6fca app-crypt/mit-krb5: move from portage-stable
To add a custom patch, move mit-krb5 from portage-stable to
coreos-overlay, and update it to 1.18.2-r4.
2021-07-05 13:08:35 +02:00
Flatcar Buildbot
b9c3e25d51 Upgrade virtual Rust in main from 1.52.1 to 1.53.0 2021-07-05 12:59:59 +02:00
Flatcar Buildbot
fc048ca53c dev-lang: Upgrade dev-lang/rust 1.52.1 to 1.53.0 2021-07-05 12:59:07 +02:00
Mathieu Tortuyaux
bf5d5b62a7 Merge pull request #183 from kinvolk/t-lo/update-to-glibc-2.33
app-misc/pax-utils: update to upstream 1.3.1
2021-07-05 11:19:56 +02:00
Mathieu Tortuyaux
bc3a810671 Merge pull request #1089 from kinvolk/tormath1/356-fix-misleading-message
coreos-base/update_engine: bump commit ID
2021-07-05 11:18:29 +02:00
Dongsu Park
bfc8d0ef5f app-crypt/mit-krb5: move to coreos-overlay
To add a custom patch to mit-krb5, move it to coreos-overlay.
2021-07-05 11:06:26 +02:00
Dongsu Park
659f32a73b dev-libs/libverto: update to 0.3.1-r1
Update dev-libs/libverto to 0.3.1-r1, to avoid failures like below:

```
!!! All ebuilds that could satisfy "=dev-libs/libverto-0.3.1-r1" for
/usr/aarch64-cros-linux-gnu/ have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-libs/libverto-0.3.1-r1::portage-stable (masked by: ~arm64 keyword)
```
2021-07-05 11:06:26 +02:00
Dongsu Park
a28f63378d dev-libs/libev: update to 4.33
Update dev-libs/libev to 4.33, needed by libpcre 8.44.
2021-07-05 11:06:26 +02:00
Dongsu Park
ac81c59212 virtual/acl: update to acl-0-r2
Update virtual/acl to 0-r2.
Otherwise build will fail on arm64 due to missing keywords.
2021-07-05 11:06:26 +02:00
Dongsu Park
6904a001b1 dev-libs/libpcre: update to 8.44
Update dev-libs/libpcre to 8.44, mainly to address security issues
like CVE-2019-20838, CVE-2020-14155 .
2021-07-05 11:06:26 +02:00
Mathieu Tortuyaux
a26bcc0184 coreos-base/update_engine: bump commit ID
related to: https://github.com/kinvolk/update_engine/pull/10,
https://github.com/kinvolk/Flatcar/issues/356

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-02 17:15:54 +02:00
Thilo Fromm
7427f5de87 sys-apps/glibc-(2.32|2.33): add Flatcar changes
2.33
- unmask amd64 and arm64
- remove tmpfiles from ebuild inherit so we don't run into a circular
  dep with systemd, use systemd_tmpfilesd instead
- take care of nscd.conf via systemd_tmpfilesd,
  add files/nscd-conf.tmpfiles.
- Don't run sanity checks in pkg_pretend to prevent gcc checks when
  only the binary package is installed.
- comment out 'dostrip -x' to force the OS image binaries to be stripped
- remove everything glibc wants to put under /etc since we use
  baselayout to provide that

2.32
sys-libs/glibc-2.32,targets/sdk: backport to EAPI6, add Flatcar changes

Backport the glibc recipe to EAPI6 to work around BDEPEND emerge
issue, add flatcar specific changes to the build recipe.
Move PYTHON_DEPS to DEPEND so things can build.

Don't run sanity checks in pkg_pretend
(similar change as in glibc-2.29) to prevent
gcc checks when only the binary package is installed.

Also, force the "crypt" use flag for all builds so libcrypt is built.
(Upstream gentoo does the same)

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-07-01 16:42:39 +02:00
Thilo Fromm
bd723baccd sys-libs/glibc upstream sync: add 2.33 remove 2.29
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-07-01 16:42:10 +02:00
Thilo Fromm
a29b87a4c6 app-misc/pax-utils: update to upstream 1.3.1
This change syncs pax-utils to 1.3.1, bringin it on par with Gentoo
upstream. A minor change is incuded in the ebuild (commented on in the
file) to work around a build issue with our (outdated)
python-single-r1.eclass.

The workaround may be removed after we updated to a python version
supported by upstream, and updated our eclasses respectively.

The update fixes an issue with scanelf and glibc-2.33:

     /usr/lib/portage/python3.6/estrip: line 393: 1628751 Bad system call (core dumped) scanelf -yqRBF '#k%F' -k '.symtab' "$@"

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-07-01 12:43:10 +02:00
Thilo Fromm
c2822ccc78 Merge pull request #1081 from kinvolk/t-lo/mask-glibc-2.33
sys-libs/glibc-2.33: mask for now to un-break build
2021-06-30 18:03:03 +02:00
Thilo Fromm
37f572461a sys-libs/glibc-2.33: mask for now to un-break build
We experience an issue with glibc-2.33 which causes all binaries in the
OS image to end up not stripped, which would increase the size of the OS
image threefold.

The change masks glibc-2.33 for all architectures, so the build will
default on glibc-2.32 until we have fixed the issue.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-06-30 17:26:01 +02:00
Kai Lüke
8eaef708be jenkins: move all inline bash scripts to flatcar-scripts
The logic of the inline bash scripts of each job was sometimes
separated into the flatcar-scripts/jenkins/*.sh helpers but mostly
part of the Groovy file. This coupling had its advantages but also
downsides when special cases needed to be added for different release
versions. Other issues were that the inline scripts needed the
backslash character to be escaped twice and Jenkins was not good in
terminating the child processes when stopping a job. Having inline
bash scripts in Groovy also mandated the use of Jenkins to build and
release Flatcar Container Linux which hinders test builds in other CI
platforms.
Move the inline bash scripts fully to to the files in
flatcar-scripts/jenkins/ and create new ones for job that didn't have
a script there yet. Also invoke them through a systemd-run wrapper
script which ensures that all child processes are terminated and also
sets up /opt/bin as additional path for the static lbzcat binary.
A workaround for bash 4 was needed to use a temporary file instead of
the <(cmd) bash feature which caused a strange syntax error, otherwise
the bash commands are moved as they are.
2021-06-30 16:31:58 +02:00
Sayan Chowdhury
ce55cb0736 Merge pull request #1078 from kinvolk/sayan/add-nvidia-aws-pro
coreos-base/oem-ec2-compat: Add NVIDIA support for AWS Pro
2021-06-29 21:54:40 +05:30
Sayan Chowdhury
6db75ee456 Merge pull request #1073 from kinvolk/linux-5.10.46-main
Upgrade Linux Kernel in main from 5.10.45 to 5.10.46
2021-06-29 21:52:46 +05:30
Sayan Chowdhury
81598d97bb coreos-base/oem-ec2-compat: Add NVIDIA support for AWS Pro
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-06-29 20:45:08 +05:30
Thilo Fromm
250642de96 Merge pull request #1067 from kinvolk/t-lo/update-to-glibc-2.33
Update to glibc 2.33
2021-06-29 14:21:04 +02:00
Thilo Fromm
6b20fe0f08 Merge pull request #177 from kinvolk/t-lo/update-to-glibc-2.33
Unmasks for arm64 required by glibc-2.33 upgrade
2021-06-29 14:20:54 +02:00
Thilo Fromm
0ec82836ad
Merge pull request #126 from kinvolk/t-lo/update-to-glibc-2.33-simple
catalyst_toolchains: don't touch the SDK
alpha-2920.0.0
2021-06-29 14:20:23 +02:00
Dongsu Park
fa4d20829d Merge pull request #1077 from kinvolk/dongsu/intel-microcode-20210608
sys-firmware/intel-microcode: update to 20210608
2021-06-29 10:01:36 +02:00
Sayan Chowdhury
a321cc9fd3 sys-firmware/intel-microcode: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-06-29 09:43:17 +02:00
Dongsu Park
06a1783030 sys-firmware/intel-microcode: update to 20210608
Sync with Gentoo to update intel-microcode to 20210608,
mainly to address CVE-2020-24489, CVE-2020-24511, CVE-2020-24513.

Gentoo ref: 66c8a60ea74e8ed2391c9fdff749c65eb0f398ff
2021-06-29 09:43:17 +02:00
Thilo Fromm
33e49eaeec sys-apps/glibc-(2.32|2.33): add Flatcar changes
2.33
- unmask amd64 and arm64
- remove tmpfiles from ebuild inherit so we don't run into a circular
  dep with systemd
- take care of nscd.conf via tmpfiles, add files/nscd-conf.tmpfiles.
- Don't run sanity checks in pkg_pretend to prevent gcc checks when
  only the binary package is installed.
- comment out 'dostrip -x' to force the OS image binaries to be stripped
- remove everything glibc wants to put under /etc since we use
  baselayout to provide that

2.32
sys-libs/glibc-2.32,targets/sdk: backport to EAPI6, add Flatcar changes

Backport the glibc recipe to EAPI6 to work around BDEPEND emerge
issue, add flatcar specific changes to the build recipe.
Move PYTHON_DEPS to DEPEND so things can build.

Don't run sanity checks in pkg_pretend
(similar change as in glibc-2.29) to prevent
gcc checks when only the binary package is installed.

Also, force the "crypt" use flag for all builds so libcrypt is built.
(Upstream gentoo does the same)

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-06-29 09:27:59 +02:00
Thilo Fromm
3fc8747b60 unmask arm64 for pax-utils, libev, libverto, acl
To un-break the toolchain build for arm64 for the glibc-2.33 update, a
few packages require un-masking for arm64.

This change unmasks arm64 for
  * app-misc/pax-utils
  * dev-libs/libev, libverto
  * virtual/acl

Unmasking this here instead of overriding the masks in
package.accept_keywords because our ebuild versions are outdated, newer
upstream versions are unmasked for arm64 already. I.e. when we update to
current upstream these packages will remain available on ARM64, no need
to use custom overrides via package.accept_keywords.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-06-29 09:22:30 +02:00
Dongsu Park
53773c875b Merge pull request #180 from kinvolk/dongsu/lz4-1.9.3
app-arch/lz4: update to 1.9.3-r1
2021-06-29 08:58:34 +02:00
Dongsu Park
605cd2c0ef Merge pull request #1076 from kinvolk/dongsu/lz4-1.9.3
sys-apps/systemd: depend on lz4 >= 1.9.3-r1
2021-06-29 08:58:19 +02:00
Thilo Fromm
3baf9c2c44 sys-libs/glibc upstream sync: add 2.33 remove 2.29
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-06-28 17:31:39 +02:00
Dongsu Park
1b1a15e76f sys-apps/systemd: depend on lz4 >= 1.9.3-r1
Now that lz4 was updated to 1.9.3-r1, systemd has to depend on
lz4 >= 1.9.3-r1, so that its dependency graph during the SDK stage3
could be generated correctly.

Without that change, the preclean of SDK stage3 could fail because of
an inverted dependency order between systemd and lz4, like following:

```
 emerge --depclean --with-bdeps=y
 ...
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   >=app-arch/lz4-0_p131:0/r131=[abi_x86_64(-)] pulled in by:
 *     sys-apps/systemd-247.6
```

Stage3 first runs `emerge --quiet --usepkg --buildpkg
--binpkg-respect-use=y --newuse -e --update --deep --with-bdeps=y @system`,
which works well.
After that, only the stage3 (no other stages) runs preclean, which in fact
runs `emerge --depclean --with-bdeps=y` to clean up unnecessary ebuilds.
That's where it fails.

That happens because systemd still depends on lz4 0_p131. As a result, the
main installation step of stage3 seems to first install systemd 247, and
after that it updates lz4 to 1.9.3-r1. Then systemd thinks it still depends
on 0_p131. When doing it the other way around, the dependency graph is
correctly generated, first lz4 1.9.3-r1, then systemd 247.
2021-06-28 16:52:45 +02:00
Thilo Fromm
10400c4341 Merge pull request #181 from kinvolk/t-lo/gentoo-functions-switch-to-github
sys-apps/gentoo-functions: use tarball from github
2021-06-28 14:50:51 +02:00
Thilo Fromm
085fea2a81 sys-apps/gentoo-functions: use tarball from github
This one-line change pulls the gentoo-functions source tarball from
github instead from gentoo's own gitweb, to stabilise the build process.
We assume github to have higher availability than gentoo gitweb.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-06-28 13:33:42 +02:00
Mathieu Tortuyaux
8bcde7c7ed Merge pull request #179 from kinvolk/tormath1/gptfdisk-1.0.7
sys-apps/gptfdisk: sync with ::gentoo upstream
2021-06-25 15:06:02 +02:00
Thilo Fromm
d1e2f6d1f2 catalyst_toolchains: don't touch the SDK
This change removes 8 years old code from the toolchains build which
tries to update SDK libraries for unknown reasons, breaking the
toolchains build in the glibc-2.33 update.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-06-25 10:37:21 +02:00
Mathieu Tortuyaux
de5afb0109 Merge pull request #1075 from kinvolk/runc-1.0.0-main
Upgrade Runc in main from 1.0.0_rc95 to 1.0.0
2021-06-25 09:55:47 +02:00
Mathieu Tortuyaux
a85e4af09b sys-apps/gptfdisk: sync with ::gentoo upstream
this commit addresses the following CVE:
- CVE-2021-0308

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-06-25 08:05:52 +02:00
Mathieu Tortuyaux
f28dd3815e Merge pull request #178 from kinvolk/tormath1/gettext-0.21
sys-devel/gettext: sync with gentoo upstream
2021-06-24 17:29:22 +02:00
Mathieu Tortuyaux
f8c416ef1d net-dialup/lrzsz: sync with gentoo upstream
the version stays the same (0.12.20) but we add some patches
to fix compatibility issues with autoconf.

See: https://bugs.gentoo.org/685696

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-06-24 14:31:04 +02:00
Flatcar Buildbot
99dca5debb app-emulation: Upgrade Runc 1.0.0_rc95 to 1.0.0 2021-06-24 08:01:13 +00:00
Flatcar Buildbot
8c36038ece sys-kernel: Upgrade Kernel 5.10.45 to 5.10.46 2021-06-24 07:10:02 +00:00
Mathieu Tortuyaux
83374bc5b7 sys-devel/gettext: sync with gentoo upstream
this commit addresses the following CVE:
- CVE-2020-12825

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-06-23 17:47:16 +02:00
Dongsu Park
ba832d25bd app-arch/lz4: update to 1.9.3-r1
Update app-arch/lz4 to 1.9.3-r1, mainly to address CVE-2021-3520.
2021-06-23 12:13:16 +02:00
Mathieu Tortuyaux
aae132d3de Merge pull request #1069 from kinvolk/tormath1/curl-7.77
Revert "profiles: Update the accept keywords for curl 7.76.1"
2021-06-23 10:46:25 +02:00
Mathieu Tortuyaux
c0c6904c0d Merge pull request #175 from kinvolk/tormath1/curl-7.77
net-misc/curl: sync with gentoo upstream
2021-06-23 10:44:37 +02:00