6345 Commits

Author SHA1 Message Date
Margarita Manterola
21e3dd302b coreos-devel/mantle: update to v0.15.0 2020-09-09 21:57:57 +02:00
Kai Lüke
0e7039eceb Merge pull request #572 from flatcar-linux/kai/update-update_engine
coreos-base/update_engine: Point to latest flatcar-master
2020-09-09 21:32:28 +02:00
Marga Manterola
ea32f00966 Merge pull request #559 from flatcar-linux/rust-1.46.0-main
Upgrade Rust in main from 1.44.1 to 1.46.0
2020-09-08 14:03:43 +02:00
Dongsu Park
0af204196a Merge pull request #571 from flatcar-linux/dongsu/github-action-fix-go115
.github: fix regexp to get correct semver from Go ebuilds
2020-09-08 10:02:51 +02:00
Kai Lüke
331b877958 coreos-base/update_engine: Point to latest flatcar-master
This pulls in
https://github.com/flatcar-linux/update_engine/pull/6
for rollback detection.
2020-09-07 18:52:45 +02:00
Dongsu Park
01ee4dd82f .github: fix regexp to get correct semver from Go ebuilds
Github Action for Go has had a bug when parsing the current Go version
from `dev-lang/go/Manifest`, only when the current ebuild file has only
major + minor versions, without patchlevel. For example, it could parse
well `1.13.15`, but not `1.15`. We need to make it deal with both
versions, `x.y.z` and `x.y`.

With this PR, for example, when `VERSION_SHORT` is `1.15` and the
Manifest includes a tarball `go1.15.src.tar.gz`, we can confirm the new
regexp works well like below:

```
$ sed -n "s/^DIST go\(1\.15\.*[0-9]*\)\.src.*/\1/p" dev-lang/go/Manifest
1.15
```
2020-09-07 16:23:29 +02:00
Dongsu Park
54cd827f05 Merge pull request #561 from flatcar-linux/dongsu/flatcar-install-multipath
coreos-base: Allow installation to multipath target
2020-09-07 15:08:32 +02:00
Krzesimir Nowak
fddbd9defe .github: Update KV_MAIN to 5.8 2020-09-07 12:58:11 +02:00
Krzesimir Nowak
36cf4b16e9 sys-kernel/coreos-firmware: Update to 20200817
Also sync with upstream.
2020-09-04 21:10:21 +02:00
Krzesimir Nowak
4e7dfb9c50 sys-kernel/coreos-modules: Drop OPTIMIZE_INLINING - removed upstream
Dropped in commit 889b3c1245de48ed0cacf7aebb25c489d3e4a3e9.
2020-09-04 21:10:08 +02:00
Krzesimir Nowak
5ad0aa9055 sys-kernel/coreos-modules: Drop NF_TABLES_SET - removed upstream
Dropped in commit e32a4dc6512ce3c1a1920531246e7037896e510a.
2020-09-04 21:10:01 +02:00
Krzesimir Nowak
a6d811b5ca sys-kernel/coreos-modules: Add deps for NETFILTER_XT_MATCH_PHYSDEV
Not sure what and when new deps were added, but adding those config
variables made the build move forward.
2020-09-04 21:09:50 +02:00
Krzesimir Nowak
92828c0a32 sys-kernel/coreos-modules: Drop INFINIBAND_CXGB3 - removed upstream
Dropped in commit 30e0f6cf5acb39cd04316d1eecbf4c6087c7ee02.
2020-09-04 21:09:38 +02:00
Krzesimir Nowak
c9ad088fe4 sys-kernel/coreos-modules: Drop HP100 - removed upstream
Dropped in commit a10079c6629068b906de5c944cb0e9bcc9517a7e.
2020-09-04 21:09:29 +02:00
Krzesimir Nowak
c330df0af0 sys-kernel/coreos-modules: Add deps for ACPI_APEI_PCIEAER
Not sure when and where things have changed, but adding those config
variables made the build move forward.
2020-09-04 21:09:18 +02:00
Krzesimir Nowak
15f137392b sys-kernel/coreos-modules: Add deps for HID_LOGITECH
The dependencies were added in commit
bdd08fff4915a9705ea3ec20c82ab8f745bdf225.
2020-09-04 21:09:01 +02:00
Krzesimir Nowak
2d5d0d8091 sys-kernel/coreos-modules: Add deps for AT803X_PHY
The dependency was added in commit
dddb318b9f989acba9ccca9babc4715a9075eae8. Earlier the regulator code
was only built for arm64, but since the CONFIG_AT803X_PHY variable is
specified in common config, the CONFIG_REGULATOR variables needed to
be moved to common config too.
2020-09-04 21:07:31 +02:00
Krzesimir Nowak
42bed4a985 sys-kernel/coreos-sources: Sort config files 2020-09-04 21:06:40 +02:00
Krzesimir Nowak
f75fb46b80 sys-kernel/coreos-sources: Add a script for sorting configs
The script sorts the lines in the config files and prints a messages
when some variable is being overridden (means that it is specified
twice in the config).

The script can be also used to check for such situations with full
configs like:

    cat commonconfig-* amd64_defconfig-* >amd64fullconfig
    ./sort_config.sh amd64fullconfig
    rm amd64fullconfig
2020-09-04 21:06:35 +02:00
Krzesimir Nowak
875b2bf18d sys-kernel/coreos-sources: Enable wireguard 2020-09-04 21:01:56 +02:00
Krzesimir Nowak
7969c25385 sys-kernel/coreos-sources: Drop duplicates from configs
Most of the duplicates happened to be within amd64 config. But some of
the duplicates were across the files (defined in both common and
amd64). Almost all of them were exact duplicates, so those could be
just dropped, favoring the config lines in common config to remain.

The CONFIG_CONNECTOR was different in common config (module) and in
amd64 config (builtin), so the config line was moved to arm64
config. Now amd64 has CONFIG_CONNECTOR as builtin and arm64 as a
module.
2020-09-04 21:01:56 +02:00
Krzesimir Nowak
7cd8610e48 sys-kernel/coreos-sources: Drop wireguard patches
Wireguard is already a part of the kernel.
2020-09-04 21:01:56 +02:00
Krzesimir Nowak
bdd4ca3686 sys-kernel/*: Bump kernel to 5.8
It's just a bunch of renames, I still need to review patches and
kernel config.
2020-09-04 21:01:56 +02:00
Kai Lüke
dd0138a9c8 sys-kernel: Include patch for overflow in tpacket_rcv
A memory corruption vulnerability in AF_PACKET causes the kernel to
panic or enter undefined behavior, tracked as CVE-2020-14386.
While the proposed patch is not included in an upstream release,
include it as downstream patch.
Further information and PoC:
https://www.openwall.com/lists/oss-security/2020/09/03/3
2020-09-04 18:33:16 +02:00
Margarita Manterola
938a2b6fee Revert "sys-kernel/coreos-sources: fix vdso32 build for arm"
This reverts commit 02a187d087c6425345e1b92bc09c1c4276651a4c.

This change is now applied upstream and we no longer need to carry a
separate patch.
2020-09-04 17:39:28 +02:00
Flatcar Buildbot
178427ca9e sys-kernel: Upgrade coreos-kernel 5.4.61 to 5.4.62 2020-09-04 07:23:07 +00:00
Dongsu Park
df48b74f45 coreos-base: Allow installation to multipath target
Allow `flatcar-install` to install Flatcar into a multipath target.

Pulls in https://github.com/flatcar-linux/init/pull/24
2020-09-02 16:44:36 +02:00
Dongsu Park
18f00becb5 .github: update Go version 1.15
Update the default Go version to 1.15.
2020-09-02 14:50:02 +02:00
Dongsu Park
c174819731 dev-lang/go: Update the default Go version to 1.15
Now that Go [1.15](Go://go.googlesource.com/go/+/refs/tags/go1.15) has
been released, we should update the default Go version to 1.15.
Since the [EINTR issue](https://github.com/golang/go/issues/38033) was
fixed in 1.15, we can simply move from 1.13 to 1.15.

On the other hand, we should not add 1.14, as the
[EINTR bug fix](https://go-review.googlesource.com/c/go/+/232862/) was
not backported to 1.14.
2020-09-02 14:50:02 +02:00
Thilo Fromm
3605185e08 coreos-init: add new subkey rsa4096/FCBEAB91
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-09-02 10:58:43 +02:00
Flatcar Buildbot
bc90a58988 dev-lang: Upgrade Rust 1.44.1 to 1.46.0 2020-09-01 07:30:45 +00:00
Vincent Batts
a73bf603f3 Revert "sys-kernel: allow fips mode to be enabled"
This reverts commit b5e1ce2bc48117bb56d9d992d5611da24c075b95.

Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
2020-08-31 13:00:52 -04:00
Kai Lüke
1f6a73511e Merge pull request #542 from flatcar-linux/kai/updating-packages
README.md: Document how	to update packages
2020-08-31 12:41:27 +02:00
Thilo Fromm
e88f0a0575 sys-kernel/coreos-sources: fix vdso32 build for arm
This change adds kernel 5.9 upstream patch
https://lore.kernel.org/linux-arm-kernel/20200827234012.19757-1-fllinden@amazon.com/
which fixes a vdso build error on ARM.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-08-31 10:24:26 +02:00
Vincent Batts
9eb0c12548 sys-kernel: allow fips mode to be enabled
With this kernel config, users can boot with fips=1 set in
`/usr/share/oem/grub.cfg`:
```
set linux_append="fips=1"
```

Which triggers various behaviors, for FIPS 200 certification.

with this config compiled in, and that boot parameter, users can can
that fips is enabled with:
```
flatcar ~ # cat /proc/sys/crypto/fips_enabled
1
```

Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
2020-08-27 22:12:26 -04:00
Thilo Fromm
8df0c7ae3d Merge pull request #550 from flatcar-linux/linux-5.4.61-main
Upgrade Linux Kernel in main from 5.4.59 to 5.4.61
2020-08-27 19:12:16 +02:00
Thilo Fromm
117c872148 Merge pull request #552 from flatcar-linux/dongsu/open-vm-tools-11.1.5
app-emulation/open-vm-tools: update to 11.1.5
2020-08-27 19:11:25 +02:00
Krzesimir Nowak
63813d3706 Merge pull request #546 from flatcar-linux/krnowak/fix-rules
Fix udev rules in mdadm and lvm2
2020-08-27 16:11:57 +02:00
dongsu@kinvolk.io
ccaf2d76b8 app-emulation/open-vm-tools: bump to 11.1.5
Update open-vm-tools 11.1.5,
https://github.com/vmware/open-vm-tools/releases/tag/stable-11.1.5 .
Update also the build number to 16724464.
2020-08-27 13:37:41 +02:00
dongsu@kinvolk.io
ff384ca963 coreos-base/oem-vmware: update to 11.1.5
Update oem-vmware to 11.1.5, corresponding to the update of
open-vm-tools to 11.1.5.
Update URL to flatcar-linux.
2020-08-27 13:37:41 +02:00
Sayan Chowdhury
07dbbcdf9d Merge pull request #551 from flatcar-linux/sayan/bump-etcd-etcdctl-to-3.3.25
Bump etcdctl and etcd-wrapper to 3.3.25
2020-08-27 15:29:38 +05:30
Sayan Chowdhury
b4f9aba6fd dev-db/etcdctl: Bump to 3.3.25
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-08-27 13:18:02 +05:30
Flatcar Buildbot
e2c3b2cd9a sys-kernel: Upgrade coreos-kernel 5.4.59 to 5.4.61 2020-08-27 07:22:04 +00:00
Sayan Chowdhury
a5e0e43ea3 app-admin/etcd-wrapper: Bump to 3.3.25
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-08-27 12:44:49 +05:30
Kai Lüke
dc0f618168 README.md: Document how to update packages
The best practice established in this repository is to reset the
package	folder and import a new	version	from upstream without
modifications. In a separate commit the downstream changes are applied.
This makes it clear which downstream changes need to be	ported when
updating to a newer version in the future. Unfortunately this is not
always done which causes confusion and more work. As first step
document the process before we later look into more automation.
2020-08-26 14:10:37 +02:00
Thilo Fromm
6fac33fd7a toolbox: point to flatcar-master to add bpf fs support
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-08-26 14:03:31 +02:00
Thilo Fromm
3387908122 sys-apps/baselayout: point CROS_WORKON to latest flatcar-master merge commit
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-08-26 13:13:36 +02:00
Thilo Fromm
786e51a3d1 sys-apps/baselayout: update CROS_WORKON comment
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-08-26 13:13:36 +02:00
Thilo Fromm
dbb097a35d sys-apps/systemd: don't depend on acct-group, use GID 30 for "render"
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-08-26 13:13:36 +02:00
Thilo Fromm
eb9c81ee47 baselayout, systemd: add group "render" for udev
This commit adds a dependency on acct-group/render to systemd.
The respective group is provided by portage-stable
(https://github.com/flatcar-linux/portage-stable
 commit ID db2ed1e74a89944b1500dba1471072e8da3dddc9).

Furthermore, the baselayout commit ID is bumped to include a
change from https://github.com/flatcar-linux/baselayout - to
1d32bea2c0e4335d4a8f7e0ccd6a7b41da15e4a7 - which includes
this group in the baselayout used by initramfs.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-08-26 13:13:30 +02:00