22893 Commits

Author SHA1 Message Date
Flatcar Buildbot
a4783897bc sys-kernel: Upgrade coreos-kernel 5.10.8 to 5.10.10 2021-01-24 07:58:24 +00:00
Marga Manterola
215583ff4d
Merge pull request #111 from kinvolk/marga-kinvolk/aws-pro
vm_image_util: Use new aws_pro flag for ec2-compat
beta-2765.1.0 alpha-2765.0.0
2021-01-22 18:30:23 +01:00
Marga Manterola
3da6f34a32 Merge pull request #794 from kinvolk/marga-kinvolk/eks
flatcar-eks: facilitate provisioning EKS workers
2021-01-22 18:30:02 +01:00
Margarita Manterola
9b18ee2ede flatcar-eks: facilitate provisioning EKS workers
This change adds a new flatcar-eks package, that ships with all scripts
needed to join a Flatcar instance to an EKS cluster.

It includes the bootstrap.sh script used on Amazon Linux, to keep
compatibility with existing provisioning tools.

The package is included from the oem-ec2-compat package, when the board
is aws_pro, and it's part of board-packages, so that it's built by the
os/board/packages job.
2021-01-22 17:22:46 +01:00
Dongsu Park
b759beaea8 dev-libs/nss: delete nss
As `dev-libs/nss` is not used anywhere, let's simply remove nss.
The only ebuild that pulls in is `net-misc/curl`, but only if the USE
flag `nss` is enabled. As the `nss` flag is disabled for curl, we do
not need to keep `dev-libs/nss` at all.
2021-01-22 16:59:57 +01:00
Dongsu Park
c7449edc42 coreos-base/oem-vmware: update to 11.2.5
Update oem-vmware to 11.2.5, corresponding to the update of
open-vm-tools to 11.2.5.
2021-01-22 16:38:27 +01:00
Dongsu Park
02dbb8e4b2 app-emulation/open-vm-tools: update to 11.2.5
Update open-vm-tools 11.2.5,
https://github.com/vmware/open-vm-tools/releases/tag/stable-11.2.5 .
Update also the build number to 17337674.
2021-01-22 16:37:41 +01:00
Margarita Manterola
ad8204af82 vm_image_util: Use new aws_pro flag for ec2-compat 2021-01-22 11:57:52 +01:00
Dongsu Park
7f89d06380 Merge pull request #140 from kinvolk/dongsu/dhcpcd-8.1.9
net-misc/dhcpcd: update to 8.1.9
2021-01-22 09:49:21 +01:00
Krzesimir Nowak
b7e28dd5a8 Merge pull request #139 from kinvolk/krnowak/drop-libnih
sys-libs/libnih: Drop unused package
2021-01-22 08:34:52 +01:00
Krzesimir Nowak
90a55e6aac Merge pull request #793 from kinvolk/krnowak/drop-libnih
Drop libnih
2021-01-22 08:34:40 +01:00
Dongsu Park
311fdd6f25 net-misc/dhcpcd: update to 8.1.9
Update dhcpcd to 8.1.9 to address the following security issues:

* CVE-2019-11577
* CVE-2019-11766

Note, dhcpcd is not a standard tool of Flatcar, because by default
networking is configured via systemd-networkd. We update the package
just for potential use cases that still depend on dhcpcd. However,
in the long term, we should not ship dhcpcd in the production images.
2021-01-22 07:52:52 +01:00
Krzesimir Nowak
82366dc61e profiles: Drop obsolete record on libnih 2021-01-21 17:57:37 +01:00
Krzesimir Nowak
2e849b27c5 coreos-base/hard-host-depends: Drop dependency on libnih
It used to be a dependency of upstart and ureadahead, both dropped
long long time ago. Also drop nih-dbus-tool, which was built from
upstart too.

Found this out when updated profiles in portage-stable masked the
library.
2021-01-21 17:57:37 +01:00
Krzesimir Nowak
e6c50ad9c0 Merge pull request #792 from kinvolk/sayan/systemd-247-fix-DefaultTasksMax-patch
sys-apps/systemd: Fix the DefaultTasksMax patch to default to 100%
2021-01-21 17:54:01 +01:00
Krzesimir Nowak
8aeedb1818 sys-libs/libnih: Drop unused package 2021-01-21 16:35:34 +01:00
Sayan Chowdhury
b24a61edf5 sys-apps/systemd: Fix the DefaultTasksMax patch to default to 100%
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-01-21 15:55:53 +05:30
Sayan Chowdhury
0a7ffd5229 Merge pull request #790 from kinvolk/sayan/update-systemd
sys-apps/systemd: Update to systemd v247
2021-01-21 12:49:13 +05:30
Kai Lüke
934e4e28b9
Merge pull request #110 from kinvolk/kai/find-license
Fall back to source repository license files if not in portage
2021-01-20 18:26:16 +01:00
Krzesimir Nowak
f455c8e08c Merge pull request #786 from kinvolk/krnowak/update-openvmdk
app-emulation/open-vmdk: Update
2021-01-20 17:30:56 +01:00
Kai Lüke
bd34d059f3 Fall back to source repository license files if not in portage
When a license file is newly added, portage may not yet have it in the
shared folder and the license inclusion step fails.
Fall back to the source repositories and look for the license file
there, too. Print a warning if not found instead of failing to build.
2021-01-20 17:03:05 +01:00
Sayan Chowdhury
f0c0fe10af sys-apps/systemd: Update to systemd v247
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-01-20 12:04:33 +00:00
Sayan Chowdhury
1cbe7c1fd2 sys-block/open-iscsi: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-01-20 10:04:27 +00:00
Sayan Chowdhury
c73b19d504 sys-block/open-iscsi: Sync from Gentoo
sync ref: 3e85eb9a786a79658e0abdb357f92f06ebf2a154

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-01-20 09:44:48 +00:00
Krzesimir Nowak
dac588de9e
Merge pull request #109 from kinvolk/krnowak/fix-urls
build_library: Fix git URLs
2021-01-19 17:56:49 +01:00
Dongsu Park
a731d78f5f Merge pull request #138 from kinvolk/dongsu/mit-krb5-CVE-2020-28196
app-crypt/mit-krb5; update to 1.18.2-r2
2021-01-19 17:35:52 +01:00
Krzesimir Nowak
45d3a0d9a9 build_library: Fix git URLs
The repos were moved to kinvolk. Redirects still work, but it's better
not to rely on them.
2021-01-19 17:31:17 +01:00
Dongsu Park
274a9830d4 app-crypt/mit-krb5; update to 1.18.2-r2
Update mit-krb5 to 1.18.2-r2, to address the security issue
CVE-2020-28196.
See also https://security.gentoo.org/glsa/202011-17.
2021-01-19 16:52:49 +01:00
Krzesimir Nowak
7992b94560 app-emulation/open-vmdk: Update
Replace the use of deprecated git eclass with git-r3 and bump the
commit version to latest version. This version dropped a dependency on
jq.

It is a breaking change for users of mkova.sh, since it has changed
the order of parameters to allow passing multiple vmdk files to it.
2021-01-19 12:58:00 +01:00
Dongsu Park
4ff2518ba3 Merge pull request #782 from kinvolk/dongsu/curl-7.74
profiles: disable cxx for net-libs/nghttp2
2021-01-19 12:41:33 +01:00
Dongsu Park
e7574eae5b Merge pull request #137 from kinvolk/dongsu/curl-7.74
net-misc/curl: update to 7.74.0
2021-01-19 12:41:25 +01:00
Dongsu Park
9375f927fc profiles: disable cxx for net-libs/nghttp2
When building `net-libs/nghttp2` needed by curl 7.74, build fails
when checking for prerequisites of boost libs.

```
configure:20402: checking whether the Boost::ASIO library is available
configure:20433: x86_64-cros-linux-gnu-g++ -std=c++14 -c -O2 -pipe
-mtune=generic -g   conftest.cpp >&5
configure:20433: $? = 0
configure:20447: result: yes
configure:20540: error: Could not find a version of the library!
```

To avoid such issues, we should disable the `cxx` USE flag for
`net-libs/nghttp2`.
2021-01-18 18:23:37 +01:00
Marga Manterola
c0e950abc9 Merge pull request #785 from kinvolk/linux-5.10.8-main
Upgrade Linux Kernel in main from 5.10.7 to 5.10.8
2021-01-18 12:21:29 +01:00
Kai Lüke
168c59752f Merge pull request #774 from kinvolk/kai/use-go-1.13-for-docker
app-emulation/(docker*|containerd): Revert to Go 1.13
2021-01-18 11:57:00 +01:00
Dongsu Park
c9afc48e35 net-libs/nghttp2: add new package nghttp2
As `net-misc/curl` 7.74 pulls in `net-libs/nghttp2`, we need to add
a new package for that.
2021-01-18 09:24:54 +01:00
Dongsu Park
88a3416c13 profiles: add curl to MISC-FREE license group
Now that curl has its own license file, it should be also added to
`MISC-FREE` license group, just like Gentoo.
Simply sync `license_groups` with Gentoo.
2021-01-18 09:24:36 +01:00
Flatcar Buildbot
ddc4dac853 sys-kernel: Upgrade coreos-kernel 5.10.7 to 5.10.8 2021-01-18 07:59:25 +00:00
Krzesimir Nowak
03d24ee62c Merge pull request #780 from kinvolk/krnowak/syslinux-url
sys-boot/syslinux: Update the SRC_URI to use kernel.org directly
2021-01-17 16:13:39 +01:00
Krzesimir Nowak
f39c42ea26 Merge pull request #781 from kinvolk/krnowak/openssl-restrict
dev-libs/openssl: Drop bindist from RESTRICT variable
2021-01-17 16:13:14 +01:00
Dongsu Park
399118dca6 licenses: add a new license curl
Now that curl >= 7.70 requires its own license file, we need to make
it included in the SDK, so that `/var/gentoo/repos/gentoo/licenses/curl`
can be available. Without that file, the image build step fails due to
a missing license file for curl.
2021-01-15 16:27:29 +01:00
Dongsu Park
2b2694a871 net-misc/curl: update to 7.74.0
We need to update net-misc/curl to 7.74.0, mainly to address the
following security issues:

* CVE-2020-8169
* CVE-2020-8231
* CVE-2020-8284
* CVE-2020-8285
* CVE-2020-8286
2021-01-15 16:21:19 +01:00
Krzesimir Nowak
0852e93c07 dev-libs/openssl: Drop bindist from RESTRICT variable
It's really a hindrance during bootstrap, and we would be looking into
ways of making an exception for openssl anyway. Using
package.accept_restrict file does not do the trick, apparently because
of catalyst using its own portage config.
2021-01-15 14:10:19 +01:00
Krzesimir Nowak
afae905dfa sys-boot/syslinux: Update the SRC_URI to use kernel.org directly
It seems that there is no "kernel" mirror specified in third party
mirrors files in profiles any more. And gentoo seems to have switched
to direct kernel.org URLs anyway, probably because kernel.org is using
also some mirroring system, so we don't have to. Also, this syslinux
version is quite old, so if its tarball ever was on distfiles mirror,
it's gone by now.
2021-01-15 14:08:00 +01:00
Marga Manterola
474ad08bb6 Merge pull request #779 from kinvolk/marga-kinvolk/fix-rust
dev-lang/rust: Fix patch name
2021-01-14 12:22:27 +01:00
Margarita Manterola
724a868e10 dev-lang/rust: Fix patch name 2021-01-14 12:19:05 +01:00
Marga Manterola
7d9f12861c Merge pull request #778 from kinvolk/marga-kinvolk/fix-rust
dev-lang/rust: Move TargetResult to Target in our local patch
2021-01-14 11:52:53 +01:00
Margarita Manterola
4ba48d93d3 dev-lang/rust: Move TargetResult to Target in our local patch
The target methods have undergone significant refactoring. The return
value is no longer a TargetResult, it's just a Target. And also the
vendor is now part of the options.
2021-01-14 11:50:24 +01:00
Kai Lüke
2aaec9f0f5 app-emulation/(docker*|containerd): Revert to Go 1.13
When Docker/containerd binaries are compiled with Go 1.15 the
containers generate many signal 23 (SIGURG) events which flood
monitoring systems:
  https://github.com/kubernetes/kops/issues/10388
The SIGURG signal does not kill the process but is generated by Go
runtime scheduling:
  https://go.googlesource.com/proposal/+/master/design/24543-non-cooperative-preemption.md)
Because the Go runtime does not know if the process expects external
SIGURG signals, the signal is not filtered out but reported to the
process: https://github.com/golang/go/issues/37942
The process has to filter this signal out itself before forwarding it
to, e.g,. children processes or logs.
This change was introduced with the Go 1.15 update (actually Go 1.14
but Flatcar skipped that for Stable), however, while containerd has
some workarounds in place, e.g., in
https://github.com/containerd/containerd/pull/4532 but there are still
areas where the signal is not handled correctly.
Until this is the case, downgrade to use the Go 1.13 compiler for
Docker/containerd binaries.

See https://github.com/kinvolk/Flatcar/issues/315
2021-01-13 15:27:24 +01:00
Marga Manterola
342178dc81 Merge pull request #136 from kinvolk/rust-1.49.0-main
Upgrade virtual Rust in main from 1.48.0 to 1.49.0
2021-01-13 10:46:57 +01:00
Marga Manterola
b3d97f7eb0 Merge pull request #765 from kinvolk/rust-1.49.0-main
Upgrade dev-lang/rust in main from 1.48.0 to 1.49.0
2021-01-13 10:46:29 +01:00