8379 Commits

Author SHA1 Message Date
Krzesimir Nowak
8f5411b63f sys-kernel/coreos-sources: Regenerate patches against 5.9.1 2020-11-03 12:13:44 +01:00
Dongsu Park
57d56fa2c0 dev-libs/dbus-glib: Fix cross compile build error
Use host tool when building cross.
Bump revision to -r1.
Adjust the patch on top of dbus-glib 0.110.

Original-by: Geoff Levand <geoff@infradead.org>
  6d7756b77b10 ("dev-libs/dbus-glib: Fix cross compile build error")
2020-11-02 11:58:11 +01:00
Dongsu Park
e4cb197be5 dev-libs/dbus-glib: update to 0.110, sync with Gentoo
To fix build issues from glib 2.64.5, we need to update dbus-glib
to 0.110.
2020-11-02 11:57:28 +01:00
Dongsu Park
bd00506a48 dev-db/sqlite: move to portage-stable
Now that `dev-lang/tcl` is included in SDK, we do not need to keep
third-party patches in coreos-overlay. So move sqlite to portage-stable.
2020-10-30 16:06:05 +01:00
Krzesimir Nowak
1d7053e8a1 sys-apps/systemd: Add Manifest
Otherwise the build fails at the verification stage.
2020-10-26 15:03:48 +01:00
Krzesimir Nowak
e9b2cee708 sys-apps/systemd: Rename the ebuild to pick the patch release
With this change `PV` variable will become 246.6, thus it will try to
download the archive from the systemd-stable repo.
2020-10-26 14:43:28 +01:00
Krzesimir Nowak
cfd6c15d51 sys-apps/systemd: Bring the rest of missing patches
We have these patches in v245 too. I have missed them when doing the
update to v246, because apparently I have assumed that our flatcar
branches are more or less some upstream branch/tag + our patches on
top. That assumption was wrong and it surfaced when I rebased the
v245-flatcar branch to the v245.8 tag.
2020-10-26 14:40:04 +01:00
Krzesimir Nowak
37c8517551 sys-apps/systemd: Move away from cros-workon
Our current cros-workon setup was awkward to use when a new patch
release happened on upstream. In this case we would go to our
`v<VERSION>-flatcar` branch and merge/cherry-pick the commits from
upstream that appeared between the release we have been using so far
and the new release. In such case, our non-upstreamed patches were
hidden somewhere in history. To fix that, I proposed having a branch
for each patch release, so the branch would always be based on an
upstream tag and have our patches on top of that. An alternative
proposition was to just use the Gentoo workflow for patches, and this
is what we are doing here.

This also slightly minimizes the difference between the Gentoo recipe
and ours.
2020-10-26 14:33:54 +01:00
Krzesimir Nowak
c4f0e7e437 sys-apps/systemd: Sync with Gentoo
This brings in a dependency on app-arch/zstd, which will be pulled
into portage-stable.
2020-10-26 14:17:20 +01:00
Dongsu Park
17eb4d5b5e Merge pull request #658 from flatcar-linux/dongsu/gdbus-codegen
profiles: gdbus-codegen only for python 3.6
2020-10-23 15:06:31 +02:00
Dongsu Park
aa4d60f031 Merge pull request #652 from flatcar-linux/linux-5.8.16-main
Upgrade Linux Kernel in main from 5.8.14 to 5.8.16
2020-10-23 14:08:05 +02:00
Dongsu Park
bfc6c92db0 Merge pull request #655 from flatcar-linux/dongsu/go-1.12.17
dev-lang/go: update Go to 1.12.17, remove Go 1.10
2020-10-22 15:14:31 +02:00
Dongsu Park
ed12f4b269 profiles: gdbus-codegen only for python 3.6
To be able to update `dev-util/gdbus-codegen` to 2.64.5, we need to
specify a single target python3.6 for gdbus-codegen.
Without it, it is not possible to emerge gdbus-codegen, because
it thinks there are multiple python single targets for the package.
2020-10-22 14:59:45 +02:00
Dongsu Park
496708438f coreos-base/hard-host-depends: remove Go 1.10, add Go 1.15
Now that Go 1.10 has been removed, we can remove `dev-lang/go:1.10`
from the SDK dependencies list.

Instead add `dev-lang/go:1.15` to the SDK dependencies list.
2020-10-20 15:15:34 +02:00
Dongsu Park
77457125e6 dev-lang/go: remove Go 1.10
Since Go 1.10 has not been used by packages, we can completely remove
Go 1.10.
2020-10-20 15:14:57 +02:00
Dongsu Park
8b31f9032f dev-lang/go: upgrade Go 1.12.12 to 1.12.17
Make Go 1.12.x runtime up-to-date with its latest release 1.12.17,
to fix numerous bugs.

See also https://golang.org/doc/devel/release.html#go1.12.minor .
2020-10-20 15:13:20 +02:00
Dongsu Park
91c34a5dcd Merge pull request #654 from flatcar-linux/go-1.15.3-main
Upgrade Go in main from 1.15.2 to 1.15.3
2020-10-20 10:32:56 +02:00
Flatcar Buildbot
0848f68c08 dev-lang: Upgrade Go 1.15.2 to 1.15.3 2020-10-19 07:34:35 +00:00
Flatcar Buildbot
9f517ac649 sys-kernel: Upgrade coreos-kernel 5.8.14 to 5.8.16 2020-10-17 07:26:08 +00:00
Kai Lüke
88c828b8de Merge pull request #648 from flatcar-linux/kai/afterburn-networkd
coreos-base/afterburn: Point to latest commit
2020-10-15 22:44:13 +09:00
Kai Lüke
82b2e5c1e5 coreos-base/afterburn: Point to latest commit
This pulls in
https://github.com/flatcar-linux/afterburn/pull/10
to fix systemd-networkd-wait-online on Equinix Metal (fka Packet).
2020-10-15 22:43:15 +09:00
Dongsu Park
8cb9909d1e Merge pull request #649 from flatcar-linux/dongsu/kernel-remove-ip-conntrack-ipv4
sys-kernel: remove blank kernel module nf-conntrack-ipv4
2020-10-15 11:36:50 +02:00
Dongsu Park
bb699ff491 sys-kernel: remove blank kernel module nf-conntrack-ipv4
So far Flatcar has kept a third-party patch to add a blank kernel
module `nf-conntrack-ipv4.ko` to avoid regression around Kubernetes.
The issue was that kube-proxy with ipvs started using `nf-conntrack.ko`,
which does not exist in Kernel < 4.19. The patch was originally added by
a24dbb6cb6.

However, Kubernetes 1.13 or newer already deals with the issue. It
automatically loads a different Kernel module according to Kernel
versions: `nf-conntrack-ipv4` for Kernel < 4.19, and `nf-conntrack`
for Kernel >= 4.19.
See 4b90559369 .

We can simply remove the Kernel module, as since then all production
systems have updated Kubernetes to the newer versions than 1.13.
2020-10-15 11:34:47 +02:00
Kai Lüke
ebd08b4ac7 Merge pull request #643 from flatcar-linux/kai/azure-mlx5_core
coreos-base/coreos-init, sys-kernel/bootengine: Update to latest state
2020-10-14 20:04:39 +09:00
Kai Lüke
04e402cd1b coreos-base/coreos-init, sys-kernel/bootengine: Update to latest state
This pulls in https://github.com/flatcar-linux/bootengine/pull/19
and https://github.com/flatcar-linux/init/pull/29
to exclude the bonded interface from networkd in Azure because only
the parent eth0 interface is managed.
2020-10-14 19:56:53 +09:00
Kai Lüke
b26b3f771e Merge pull request #642 from flatcar-linux/kai/diff-cmp
coreos-base/coreos: Add diffutils to the base packages
2020-10-14 15:01:27 +09:00
Kai Lüke
b21f805cdf coreos-base/coreos: Add diffutils to the base packages
The diffutils package provides the "cmp" and "diff" tools which are
essential commands in shell scripts. They used to be pulled in by
audit but the update in
https://github.com/flatcar-linux/coreos-overlay/pull/537
caused them to be dropped.
Add them to the explicit list of base packages to ensure they are
installed.
2020-10-14 14:41:28 +09:00
Kai Lüke
3a7c4f07c0 Merge pull request #641 from flatcar-linux/kai/etc-coreos-symlink-for-ct
sys-apps/baselayout, coreos-base/coreos-init: Point to lastest state
2020-10-13 23:55:38 +09:00
Kai Lüke
623f35ed31 sys-apps/baselayout, coreos-base/coreos-init: Point to lastest state
This pulls in
https://github.com/flatcar-linux/init/pull/28 and
https://github.com/flatcar-linux/baselayout/pull/7
to ensure that the /etc/coreos to /etc/flatcar symlink always exists.

Fixes https://github.com/flatcar-linux/Flatcar/issues/190
2020-10-13 23:20:54 +09:00
Sayan Chowdhury
13af8ea91d Merge pull request #635 from flatcar-linux/linux-5.8.14-main
Upgrade Linux Kernel in main from 5.8.13 to 5.8.14
2020-10-13 17:36:56 +05:30
Dongsu Park
e0833c73e2 dev-lang/rust: adjust patches for rust 1.47.0
Remove unnecessary patches, add new patches for rust 1.47.0.
2020-10-13 13:45:01 +02:00
Dongsu Park
3e05d786bf dev-lang/rust: update to 1.47.0
Update rust version to 1.47.0.
2020-10-13 13:44:39 +02:00
Dongsu Park
935ba7c5cf dev-lang/rust: fix patchlevel for stage0 to rust-1.46.0
Rust stage0 tarballs should not be based on a patchlevel release like
`1.45.1`. It might work in case of the previous version 1.45.1, which
already exists. However, it will not work in case of x.y.1 is missing.

So the build rust 1.47.0, should pull tarballs for rust 1.46.0, instead
of 1.46.1, which does not exist.
2020-10-13 13:41:06 +02:00
Kai Lüke
e5bde0a027 Merge pull request #637 from flatcar-linux/kai/revert-stub-resolver
Revert "sys-apps/systemd: Drop the resolv.conf workaround"
2020-10-13 13:46:52 +09:00
Kai Lüke
879b0c4eb5 sys-apps/systemd: Document why resolv.conf contains real IP addresses 2020-10-13 13:45:27 +09:00
Kai Lüke
6e833e6847 Merge pull request #639 from flatcar-linux/kai/baselayout-sdk
sys-apps/baselayout: Ensure to create core home folder in the SDK
2020-10-13 13:41:47 +09:00
Kai Lüke
b613789a7c sys-apps/baselayout: Ensure to create core home folder in the SDK
Because the --root option restricts systemd-tmpfiles to the passwd
database file in the package chroot it can't resolve the core user
and fails to set up the home folder from the baselayout-home.conf
directives.
Create the folder manually because creating a /etc/passwd file in
the package chroot would at installation overwrite the SDK user.
2020-10-12 21:23:30 +09:00
Sayan Chowdhury
e50834938d Merge pull request #636 from flatcar-linux/sayan/add-qemu-oem
oem-qemu: Add OEM package for QEMU
2020-10-09 13:14:45 +05:30
Kai Lüke
cd71c131dd Revert "sys-apps/systemd: Drop the resolv.conf workaround"
This reverts commit c414b38c7c56dafb05a86040443c634763527f05.
The real DNS server IP addresses should be in /etc/resolve.conf and not
just 127.0.0.53 because all cases that bind-mount /etc/resolve.conf
into a new network namespace can't reach the loopback interface that
resolved is listening on.
2020-10-09 14:57:29 +09:00
Krzesimir Nowak
19f8caf46b Merge pull request #582 from flatcar-linux/sayan/upgrade-systemd-to-v246
sys-apps/systemd: Bump to v246.6
2020-10-08 18:47:01 +02:00
Krzesimir Nowak
e927458503 sys-apps/baselayout: Drop the compatibility hack
This change was introduced over 6 years ago. No one should be using
such old SDKs now.
2020-10-08 18:44:35 +02:00
Krzesimir Nowak
fee62916ab sys-kernel/bootengine: Bump to include the fix for systemd v246 change in tmpfiles 2020-10-08 18:44:35 +02:00
Krzesimir Nowak
0d1f86c398 sys-apps/baselayout: Initialize the user/group database earlier
systemd-tmpfiles in systemd v246 requires the user/group databases in
the custom root if it gets passed with --root flag. This requires a
new version of baselayout to be pulled, so do so.
2020-10-08 18:44:35 +02:00
Krzesimir Nowak
4e86e2c3aa sys-apps/systemd: Drop the resolv.conf workaround
This was to work around an issue
https://github.com/systemd/systemd/issues/3826, which is now resolved
in https://github.com/systemd/systemd/pull/5276.
2020-10-08 18:44:35 +02:00
Sayan Chowdhury
c04efd7f22 sys-apps/systemd: Bump to v246.6
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
Signed-off-by: Krzesimir Nowak <krzesimir@kinvolk.io>
2020-10-08 18:44:35 +02:00
Sayan Chowdhury
278ff8b093 oem-qemu: Add OEM package for QEMU
Fix flatcar-linux/Flatcar#71

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-10-08 11:57:21 +05:30
Kai Lüke
7d4c909793 Merge pull request #631 from lht/kernel-enable-elastic-natwork-adapter-driver-for-arm64
sys-kernel: Enable elastic network adatper module for arm64
2020-10-07 14:34:01 +02:00
Dongsu Park
2472bbebc8 Merge pull request #623 from flatcar-linux/dongsu/containerd-shim-runc
app-emulation/containerd: add containerd-runc-shim-v*
2020-10-07 10:35:03 +02:00
Dongsu Park
a18a886e6f Merge pull request #622 from flatcar-linux/dongsu/exclude-dtc-archs
eclass: exclude unnecessary architectures from DTC in Kernel
2020-10-07 10:10:27 +02:00
Flatcar Buildbot
55ccff3f0d sys-kernel: Upgrade coreos-kernel 5.8.13 to 5.8.14 2020-10-07 07:26:03 +00:00