Commit Graph

8040 Commits

Author SHA1 Message Date
Flatcar Buildbot
e277aa133a sys-kernel: Upgrade Kernel 5.10.78 to 5.10.80 2021-11-19 07:24:19 +00:00
Mathieu Tortuyaux
46edd14fad Merge pull request #1426 from flatcar-linux/tormath1/selinux
sec-policy/selinux-base-policy: add capability to unlabeled_t
2021-11-18 16:57:53 +01:00
Mathieu Tortuyaux
5c25c3835c sec-policy/selinux-base-policy: add capability to unlabeled_t
with this patch, we allow `unlabeled_t` to associate to tmpfs
filesystem.
It aims to solve the AVC we have with `torcx` with the
`torcx-generator`:
```
Nov 15 09:45:43 localhost audit[688]: AVC avc: denied { associate } for pid=688 comm="torcx-generator" name="docker" dev="tmpfs" ino=2 scontext=system_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=filesystem permissive=0
```

It has been not been caught earlier because it occurs
when the system boots with `SELinux` in `enforcing` mode.

This denial was preventing torcx to finish correctly its setup and so
Docker was not able to start.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-11-18 16:56:55 +01:00
Flatcar Buildbot
b1f26fb9de app-misc: Upgrade ca-certificates 3.70 to 3.72 2021-11-17 16:03:23 +00:00
Dongsu Park
b65c369d0a .github: fix version delimiter of ca-certs workflow for main
Since every tag of the nss Github repo has `_` delimiters, we need to
first use `sort -t_` for sorting, then after that we need to replace `_`
with `.` by calling tr. Without that conversion, the input ebuild file
name will be wrong.
We fixed the issue in all other maintenance branches, but not in main.
Fix that also in main.
2021-11-17 16:25:41 +01:00
Dongsu Park
f561ec568c .github: add Github Actions for ca-certificates
Automatically update app-misc/ca-certificates , a derivative of
nss https://hg.mozilla.org/projects/nss . To make things easier,
we simply check for new releases on its Github mirror
https://github.com/nss-dev/nss . When the new latest tag is found,
simply bump the version of ca-certificates ebuild.
2021-11-16 15:30:13 +01:00
Krzesimir Nowak
e6897de5e4 sys-fs/btrfs-progs: Apply Flatcar modifications 2021-11-15 15:29:26 +01:00
Krzesimir Nowak
ed3e805682 sys-fs/btrfs-progs: Add from gentoo
It's from gentoo commit 638e02f491a1e37f2af31523490f00f8a118419d.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
f6b8a1ab88 sys-fs/lvm2: Fix detection of systemd util directory
There usually exists a way to tell the configure script to use certain
path, so the script won't try to autodetect things. This is a case for
the systemd system unit directory, but apparently not for systemd util
directory. So for the system unit directory, we can forward the path
we received from systemd.eclass' `systemd_get_systemunitdir`, but for
the util directory, we need to hack the script with `sed`. The reason
for this is that autodetected directory will have the sysroot path
prepended twice. The systemd eclass has a workaround for this issue.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
2cc885be59 app-crypt/p11-kit: Apply Flatcar modifications 2021-11-15 15:29:26 +01:00
Krzesimir Nowak
ce7cc55536 app-crypt/p11-kit: Add from gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
4cf37b6152 sys-auth/sssd: Set the conf dir path explicitly
Without passing the --with-systemdconfdir flag, the configure script
will query pkg-config for the directory itself. In the
cross-compilation setup that we have, this will result in a path
sysroot prepended to the path twice. systemd.eclass has a workaround
for this issue, but it does not provide an elegant getter of the
system configuration directory, thus we call `_systemd_get_dir`
ourselves.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
a4373a7c1b coreos-base/update_engine: Override path to glib-genmarshal
Normally we use pkg-config to query flags and libraries that are
needed to build things. These are specific to CHOST, and the build
system usually uses pkg-config on CHOST to get those flags and
libraries. But pkg-config is also used to query for the location of
the tools used during the build, and for those we need to use
pkg-config on CBUILD. But the build system is usually using the same
pkg-config for both flags and libs, and for build tools. Which works
fine for typical builds, but breaks for cross builds.

One of such build tools is glib-genmarshal. Fortunately the build
system allows us to override the detection results by passing
GLIB_GENMARSHAL="${some_path}" to the configure script. So do that.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
6c5f93d3ba dev-libs/dbus-glib: Apply Flatcar modifications 2021-11-15 15:29:26 +01:00
Krzesimir Nowak
f942b28dca dev-libs/dbus-glib: Sync with gentoo 2021-11-15 15:29:26 +01:00
Krzesimir Nowak
2172004803 sys-apps/systemd: Reimplement builddir_ functions
This is to avoid querying pkg-config for this information and
overriding the SYSROOT variable. These hacks seem to be broken with
the change of the pkgconfig implementation.

We know what will the path for the directory of the system units -
it's based on rootprefix that we pass to configure script. So use this
knowledge directly instead of getting it in a roundabout way from
pkg-config file.
2021-11-15 15:29:26 +01:00
Krzesimir Nowak
a1a8d57868 profiles: Drop dev-util/pkgconfig from package.use
The package is about to be replaced with dev-util/pkgconf.
2021-11-15 15:29:26 +01:00
Dongsu Park
b5ba085a8c Merge pull request #1411 from ArkaprabhaChakraborty/arkaprabha/upgrade-net-libs-rpcsvc-proto
Upgrade net-libs/rpcsvs-proto to 1.9.4
2021-11-15 10:24:46 +01:00
Dongsu Park
5c7eba1cca Merge pull request #1414 from aniruddha2000/aniruddha/update-accept-keyword-u-boot-tools
dev-embedded/u-boot-tools: Update to v2021.04_rc2 for arm64
2021-11-12 10:15:51 +01:00
Jeremi Piotrowski
39e7652a6d Merge pull request #1407 from flatcar-linux/jepio/arm64-sdk-keywords
profiles: add missing arm64 sdk keywords
2021-11-11 15:26:24 +01:00
Jeremi Piotrowski
25e996b555 profiles: add missing arm64 sdk keywords
The recent keyword cleanup removed two keywords that are necessary to
bootstrap an arm64 sdk: open-vmdk and virtual/cdrtools. Restore them.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-11-11 12:00:01 +01:00
Aniruddha Basak
c29a5a4a4f dev-embedded/u-boot-tools: Update to v2021.04_rc2 for arm64 2021-11-11 07:54:30 +00:00
Kai Lüke
194527c502 Merge pull request #1412 from flatcar-linux/kai/ignition-0.36.1
sys-apps/ignition: Update to v0.36.1
2021-11-10 20:33:36 +00:00
Krzesimir Nowak
c969e3d11e Merge pull request #1406 from flatcar-linux/krnowak/eapi-update
profiles: Changes related to package updates in portage-stable (getting rid of EAPI 3)
2021-11-10 17:58:39 +01:00
Kai Lueke
e7e53f7c32 sys-apps/ignition: Update to v0.36.1
This pulls in an update to the dataurl module and a rename to refer to
the flatcar-linux repository as name for the Go package.
2021-11-10 16:07:20 +01:00
Dongsu Park
1ff434429b Merge pull request #1410 from flatcar-linux/dongsu/use-flag-unicode
profiles: exclude unicode USE flag from app-editors/nano
2021-11-10 14:58:20 +01:00
ArkaprabhaChakraborty
a8a9084eb1 Upgrade net-libs/rpcsvs-proto to 1.9.4
Signed-off-by: ArkaprabhaChakraborty <chakrabortyarkaprabha998@gmail.com>
2021-11-10 12:36:55 +00:00
Dongsu Park
0d485ac2d7 profiles: exclude unicode USE flag from app-editors/nano
app-editors/nano with `USE=unicode` results in build failures in SDK
stage1, because ncurses >= 6.2_p20210619 which does not have the USE
flag at all.
To fix that, exclude the unicode USE flag from packages.use.force list,
which is defined in portage-stable. We can do that by setting the flag
in package.use.mask.
2021-11-10 11:01:53 +01:00
Sayan Chowdhury
1610899691 Merge pull request #1405 from flatcar-linux/linux-5.10.78-main
Upgrade Linux Kernel in main from 5.10.77 to 5.10.78
2021-11-10 14:26:33 +05:30
Aniruddha Basak
60878555ae coreos-base/coreos-init: Change commit hash for the lastest changes 2021-11-09 15:47:46 +00:00
Aniruddha Basak
770a3a48d4 app-admin/logrotate: Apply Flatcar modifications 2021-11-09 15:44:01 +00:00
Flatcar Buildbot
711c2f2cbd sys-kernel: Upgrade Kernel 5.10.77 to 5.10.78 2021-11-07 07:23:31 +00:00
Aniruddha Basak
49bcee9ae7 app-admin/logrotate: Sync with Gentoo upstream; updates to 3.18.1-r1 2021-11-06 07:07:05 +00:00
Krzesimir Nowak
92acd03aa2 profiles: Drop useless keyword for dev-lang/swig
The updated package is stable for arm64 too now.
2021-11-05 20:48:05 +01:00
Krzesimir Nowak
f03fe15be8 profiles: Update provided version of app-eselect/eselect-vi
Drop app-admin/eselect-vi too - there is no such package.
2021-11-05 20:47:13 +01:00
Dongsu Park
e0f030c4a0 Merge pull request #1399 from flatcar-linux/go-1.17.3-main
Upgrade Go in main from 1.17.2 to 1.17.3
2021-11-05 15:50:39 +01:00
Sayan Chowdhury
130c6e964f Merge pull request #1393 from flatcar-linux/linux-5.10.77-main
Upgrade Linux Kernel in main from 5.10.76 to 5.10.77
2021-11-05 16:44:34 +05:30
Flatcar Buildbot
ee642fdef6 dev-lang: Upgrade Go 1.17.2 to 1.17.3 2021-11-05 09:01:22 +00:00
Dongsu Park
2b2c1fcd9c Merge pull request #1384 from flatcar-linux/dongsu/delete-keywords
profiles: delete unnecessary accept_keywords
2021-11-05 09:50:50 +01:00
Krzesimir Nowak
0f2270e2b6 Merge pull request #1397 from flatcar-linux/krnowak/update-veritysetup-usage
sys-kernel/bootengine: Stop using deprecated actions in veritysetup
2021-11-04 17:46:35 +01:00
Krzesimir Nowak
0af0c91405 Merge pull request #1396 from flatcar-linux/krnowak/update-cryptsetup-deps
dev-libs/libgpg-error: Remove obsolete package
2021-11-04 12:11:52 +01:00
Krzesimir Nowak
430dba3f38 sys-apps/baselayout: Add sgx group
Systemd during the initrd stage was complaining about the missing
group, which resulted in ignoring some of the udev rules. Let's
placate it by adding sgx to baselayout, so the group is available
during the initrd stage too.

Pulls in https://github.com/flatcar-linux/baselayout/pull/20.
2021-11-04 12:07:37 +01:00
Krzesimir Nowak
827385b8bc sys-kernel/bootengine: Stop using deprecated actions in veritysetup
The "create" action became "open", and "remove" became "close". Also
reorder the parameters accordingly (it's a bit different for "open" vs
"create"). Also put the options before specifying the action.

Pulls in https://github.com/flatcar-linux/bootengine/pull/31.
2021-11-04 12:04:25 +01:00
Krzesimir Nowak
a3231aa995 dev-libs/libgpg-error: Remove obsolete package
We have a newer copy in portage-stable, which is being picked up
during build.
2021-11-03 18:12:18 +01:00
Dongsu Park
3ac7f1b357 profiles: delete unnecessary arm64 accept_keywords
Clean up unnecessary ebuilds from arm64 accept_keywords like below:

app-arch/bzip2 1.0.6-r12 is already stable.
app-crypt/mit-krb5 1.19.2 is already stable.
app-emulation/open-vmdk 1.0 is not needed by arm64.
app-eselect/eselect-rust is already stable.
dev-lang/perl 5.34.0-r2 is already stable.
dev-libs/ding-libs 0.4.0 is not needed by arm64.
dev-libs/elfutils 0.177 is already stable.
dev-libs/libpcre2 10.34 is already stable.
dev-libs/libpcre 8.44 is already stable.
dev-libs/libintl-perl 1.280.0 is already stable.
dev-util/meson 0.57.2 is already stable.
dev-util/re2c 2.0.3 is already stable.
net-analyzer/tcpdump 4.9.3 is already stable.
net-dns/bind-tools 9.16.6 is already stable.
net-dns/dnsmasq 2.85 is already stable.
net-firewall/ebtables 2.0.11-r3 is already stable.
net-libs/libmicrohttpd: move to base.
net-libs/libnfnetlink 1.0.1 is already stable.
net-libs/libnftnl 1.2.0-r1 is already stable.
net-nds/openldap 2.4.57 is already stable.
sys-apps/checkpolicy is already enabled in base.
sys-fs/btrfs-progs 4.10.2 is not needed by arm64.
sys-libs/binutils-libs 2.36.1-r2 is already stable.
virtual/perl-File-Path 2.130.0 is already stable.
virtual/cdrtools is not needed by arm64.

Add the following ebuilds to arm64 accept_keywords like below:

app-misc/jq 1.6-r3: move from base
cross-aarch64-cros-linux-gnu/gcc 9.3.0-r1: move from base
net-misc/curl 7.79.1: move from base
sec-policy/selinux-base 2.20200818-r2: move from base
sec-policy/selinux-base-policy 2.20200818-r2: move from base
sec-policy/selinux-unconfined 2.20200818-r2: move from base
sec-policy/selinux-virt 2.20200818-r2: move from base
sys-apps/checkpolicy 3.1: move from base
sys-apps/kexec-tools 2.0.17-r1 is needed by arm64
sys-firmware/edk2-ovmf 201905: move from base
sys-process/tini 0.18.0: move from base
2021-11-03 18:11:33 +01:00
Dongsu Park
543f8eb314 profiles: delete unnecessary base accept_keywords
Clean up unnecessary ebuilds from base accept_keywords like below.
Sort alphabetically.

app-crypt/efitools: move to sdk
app-misc/jq: move to arm64
cross-aarch64-cros-linux-gnu/gcc: move 9.3.0-r1 to arm64
dev-lang/spidermonkey is not needed any more.
dev-libs/protobuf 3.5.2 is already stable.
dev-libs/elfutils: specify explicit version 0.178
dev-python/boto: specify explicit keywords ~amd64, ~arm64.
dev-util/dwarves: specify explicit version 1.19
dev-util/perf 5.8 is already stable.
net-misc/curl: move 7.79.1 to arm64
net-nds/rpcbind: specify explicit keywords ~amd64, ~arm64.
net-libs/libnftnl 1.2.0-r1 is already stable.
net-libs/libmicrohttpd: move from arm64, specify explicit keywords.
sec-policy/selinux-base: move to arm64.
sec-policy/selinux-base-policy: move to arm64.
sec-policy/selinux-unconfined: move to arm64.
sec-policy/selinux-virt: move to arm64.
sys-apps/checkpolicy: move to arm64.
sys-apps/gptfdisk 1.0.7 is already stable.
sys-apps/iproute2 5.8.0 is already stable.
sys-apps/kexec-tools 2.0.17-r1 is already stable.
sys-auth/google-oslogin 20200910.00 is already stable.
sys-kernel/dracut 053-r1 is already stable.
sys-boot/gnu-efi 3.0.3 is already stable.
sys-firmware/edk2-ovmf: move to arm64
sys-fs/dosfstools: specify explicit keywords ~amd64, ~arm64.
sys-process/tini: move to arm64
sys-libs/libselinux: already configured in arm64
sys-libs/libsepol: already configured in arm64
2021-11-03 18:11:33 +01:00
Dongsu Park
ae2cf75cc5 profiles: delete unnecessary sdk accept_keywords
Delete dev-perl/Parse-Yapp, as 1.210.0 is already stable.
Move app-crypt/efitools from base to sdk.
2021-11-03 18:11:33 +01:00
Dongsu Park
624583efc4 profiles: delete unnecessary packages from systemd feature
Delete net-libs/libmicrohttpd, as 0.9.52 is already stable.
Delete virtual/udev, as 217 is already stable.
2021-11-03 18:11:33 +01:00
Dongsu Park
2eece26053 profiles: delete unnecessary spidermonkey from package.use
Delete unnecessary package spidermonkey from package.use.
2021-11-03 18:11:33 +01:00
Dongsu Park
d58c9dc799 coreos-devel/sdk-depends: delete autoconf 2.1 for spidermonkey
Now that we delete spidermonkey from portage-stable completely, we can
delete autoconf 2.1 as well.
2021-11-03 18:11:33 +01:00
Dongsu Park
5c1af6f015 Merge pull request #1394 from flatcar-linux/dongsu/github-https
*: *: use https instead of git for Github URLs (take 2)
2021-11-03 17:45:55 +01:00
Dongsu Park
e5790650a1 profiles: add ssl USE flag to make libcurl fetch from https://
Now that Github rejects access to an unauthenticated URL with `git://`,
we have to make git and libcurl work with `https://`. However, during
the SDK stage2, curl is not explicitly installed, but just inherited
from the stage1. As a result, curl is built without the `ssl` USE flag.
So installation of baselayout fails with:

```
git fetch https://github.com/flatcar-linux/baselayout.git --prune +HEAD:refs/git-r3/HEAD

fatal: unable to access 'https://github.com/flatcar-linux/baselayout.git/':
Protocol "https" not supported or disabled in libcurl
```

To resolve the issue, we need to install curl with `BOOTSTRAP_USE=ssl`
before trying to install baselayout.

Also we need to set `CURL_SSL=openssl` as required by curl.
Using a USE_EXPAND variable `curl_ssl_openssl` in `BOOTSTRAP_USE`, we
can specify the correct `CURL_SSL` variable in curl.
2021-11-03 17:44:53 +01:00
Mathieu Tortuyaux
6ca8235abe Merge pull request #1389 from flatcar-linux/tormath1/openssl-fips
`dev-libs/openssl`: enable `fips` support
2021-11-03 12:15:27 +01:00
Flatcar Buildbot
bcf4fe6c2e sys-kernel: Upgrade Kernel 5.10.76 to 5.10.77 2021-11-03 07:23:42 +00:00
Dongsu Park
20ef77de27 profiles: update dev-lang/yasm to 1.3.0-r1 for ~arm64 2021-11-03 07:16:50 +01:00
Dongsu Park
0a6e5d41f3 *: use https instead of git for Github URLs
Replace `git://` with `https://` for GITHUB URLs, because Github now
rejects an unauthenticated git access.

* app-admin/locksmith
* app-admin/mayday
* app-admin/sdnotify-proxy
* app-admin/toolbox
* app-admin/updateservicectl
* app-arch/torcx
* app-crypt/go-tspi
* app-emulation/acbuild
* app-emulation/actool
* coreos-base/afterburn
* coreos-base/coreos-cloudinit
* coreos-base/coreos-init
* coreos-base/emerge-gitclone
* coreos-base/nova-agent-watcher
* coreos-base/update-ssh-keys
* coreos-base/update_engine
* coreos-devel/fero-client
* coreos-devel/mantle
* sys-apps/baselayout
* sys-apps/ignition
* sys-apps/seismograph
* sys-boot/grub
* sys-boot/shim
* sys-kernel/bootengine
* sys-libs/nss-usrfiles

See also
https://github.blog/2021-09-01-improving-git-protocol-security-github/.
2021-11-03 07:16:37 +01:00
Dongsu Park
90bc60e15a Revert "*: use https instead of git for Github URLs"
This reverts commit c2c0d33ed7b3481ee9ce54fb4a1618d41c5eee53.
2021-11-02 18:31:17 +01:00
Dongsu Park
09be16c283 Revert "profiles: update dev-lang/yasm to 1.3.0-r1 for ~arm64"
This reverts commit b79b2bb0afedefbab9381473f994d2c7375f11a0.
2021-11-02 18:31:17 +01:00
Mathieu Tortuyaux
61b1e97237 profiles/base: enable fips for dev-libs/openssl
enabling `fips` support will compile `fips.so` provider for user who
wants to use `fips` as OpenSSL provider.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-11-02 18:28:10 +01:00
Mathieu Tortuyaux
b3a9d297ee dev-libs/openssl: apply flatcar changes
- drop `pkg_postint`
- create `/etc/ssl` with systemd-tmpfiles

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-11-02 18:25:55 +01:00
Mathieu Tortuyaux
ca192320b3 dev-libs/openssl: sync with upstream
it basically brings this commit: 895d71e3d1

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-11-02 18:24:35 +01:00
Sayan Chowdhury
10316541c9 Merge pull request #1379 from flatcar-linux/linux-5.10.76-main
Upgrade Linux Kernel in main from 5.10.75 to 5.10.76
2021-11-02 20:39:14 +05:30
Dongsu Park
95c2a8fe10 Merge pull request #1383 from flatcar-linux/dongsu/ncurses-6.2-20210619
sys-libs/ncurses: update to 6.2_p20210619
2021-11-02 15:15:35 +01:00
Dongsu Park
1f8a64c14c Merge pull request #1381 from flatcar-linux/dongsu/wget-1.21.2
profiles: accept keywords for wget 1.21.2.
2021-11-02 14:24:41 +01:00
Dongsu Park
6e3c5a85d6 profiles: update dev-lang/yasm to 1.3.0-r1 for ~arm64 2021-11-02 08:36:05 +01:00
Dongsu Park
68bc2f4d3c *: use https instead of git for Github URLs
Replace `git://` with `https://` for GITHUB URLs, because Github now
rejects an unauthenticated git access.

* app-admin/locksmith
* app-admin/mayday
* app-admin/sdnotify-proxy
* app-admin/toolbox
* app-admin/updateservicectl
* app-arch/torcx
* app-crypt/go-tspi
* app-emulation/acbuild
* app-emulation/actool
* coreos-base/afterburn
* coreos-base/coreos-cloudinit
* coreos-base/coreos-init
* coreos-base/emerge-gitclone
* coreos-base/nova-agent-watcher
* coreos-base/update-ssh-keys
* coreos-base/update_engine
* coreos-devel/fero-client
* coreos-devel/mantle
* sys-apps/baselayout
* sys-apps/ignition
* sys-apps/seismograph
* sys-boot/grub
* sys-boot/shim
* sys-kernel/bootengine
* sys-libs/nss-usrfiles

See also
https://github.blog/2021-09-01-improving-git-protocol-security-github/.
2021-11-02 08:27:25 +01:00
Flatcar Buildbot
03f98ebe38 dev-lang: Upgrade dev-lang/rust 1.56.0 to 1.56.1 2021-11-01 13:19:18 +00:00
Dongsu Park
d2e91b9a3d app-emulation/qemu: unicode(+) for sys-libs/ncurses
Now that sys-libs/ncurses 6.2_p20210619 dropped the USE flag 'unicode',
it is not possible to specify the flag in app-emulation/qemu.
Make the unicode flag optional, by specifying '(+)'.

See also https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ea02f40f21d21e584fe45c9d1c8cfb57f5acc6
2021-11-01 11:25:34 +01:00
Dongsu Park
fcf60d15ef profiles: delete unnecessary keywords for ncurses
Since ncurses 6.2_p20210619 does not have the USE flag `unicode`,
we should clean up from profiles.
2021-11-01 09:40:08 +01:00
Dongsu Park
b41edc4cf1 sys-libs/ncurses: Apply Flatcar patches
Add a symlink-usr USE flag for keeping a minimal set of terminfo
files in /usr/share/terminfo.

Also allow writes to /dev/ptmx, which sometimes causes the sandbox
to fail Jenkins builds.

Based on 9a6728f5f5d63626e4a806664c0c031e913fd758 and
380aa9c60af1e68911a479747d12b5fddaf2b1a2 .
2021-11-01 09:40:08 +01:00
Dongsu Park
da0f8fde32 sys-libs/ncurses: update to 6.2_p20210619
Update sys-libs/ncurses to 6.2_p20210619, mainly to address
CVE-2021-39537.
2021-11-01 09:40:08 +01:00
Jeremi Piotrowski
2497549aa9 Update sec-policy/selinux-base/selinux-base-2.20200818-r2.ebuild
Co-authored-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-29 12:43:04 +02:00
Jeremi Piotrowski
62a5205559 sec-policy/selinux-base: add missing BDEPEND=python[xml]
selinux-base requires python to generate xml files, but the dependency
is implicit (through policycoreutils). Flatcar made that dependency
conditional on USE=python in policycoreutils so that we don't include
python in our images, but this causes selinux-base to fail depending on
ordering in the bootstrap process.

Fix that failure by addin an explicit dependency.
2021-10-29 07:55:42 +00:00
Jeremi Piotrowski
3e548aca7e Revert "sec-policy/selinux-base: force sequential build in src_configure"
This is not the cause for the build failure - a missing build time
dependency is.

This reverts commit ee3a8514ebd144f081b679225b332ef13b010e26.
2021-10-29 07:54:25 +00:00
Dongsu Park
f6b3e2d375 sys-kernel/coreos-firmware: bump cxgb4 firmware version to 1.26.2.0
Since linux-firmware 20211027 has a new cxgb4 firmware version 1.26.2.0,
we have to bump CXGB_VERSION, to avoid build failures.
2021-10-28 12:39:27 +02:00
Dongsu Park
61fde6cbed profiles: accept keywords for wget 1.21.2.
Accept both keywords ~amd64 and ~arm64, mainly to address
CVE-2021-31879.
2021-10-28 10:19:38 +02:00
Flatcar Buildbot
ff345e0697 sys-kernel: Upgrade Kernel 5.10.75 to 5.10.76 2021-10-28 07:35:14 +00:00
Flatcar Buildbot
9fa19b06ac sys-kernel: Upgrade Linux Firmware 20210919 to 20211027 2021-10-28 07:11:13 +00:00
Jeremi Piotrowski
1507a314b4 Merge pull request #1372 from flatcar-linux/jepio/selinux-base-sequential
sec-policy/selinux-base: force sequential build in src_configure.
2021-10-27 20:22:54 +02:00
Dongsu Park
89a86a1bf1 Merge pull request #1373 from flatcar-linux/docker-20.10.10-main
Upgrade Docker in main from 20.10.9 to 20.10.10
2021-10-27 14:45:14 +02:00
Jeremi Piotrowski
986a4f6a2a sec-policy/selinux-base: force sequential build in src_configure
The build has been failing occasionally, due to some kind of race condition.
The last lines of log output look like this:

   Updating policy/booleans.conf and policy/modules.conf
   python3 -t -t -E -W error support/sedoctool.py -b policy/booleans.conf -m policy/modules.conf -x doc/policy.xml
   support/sedoctool.py exiting for: Error while parsing xml
   make: *** [Makefile:415: conf.intermediate] Error 1
    * ERROR: sec-policy/selinux-base-2.20200818-r2::coreos failed (configure phase):
    *   emake failed

Try to fix this by forcing a sequential build.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-10-27 10:54:00 +02:00
Flatcar Buildbot
d95a5d9826 app-emulation: Upgrade Docker 20.10.9 to 20.10.10 2021-10-27 07:47:22 +00:00
Dongsu Park
37b3325d0b dev-lang/rust: adjust ebuild for Rust 1.56.0
To fix build failures, adjust ebuild file for Rust 1.56.0,
syncing with Gentoo.

Gentoo ref: d4e208e91591026acece35da8445b27fa20d3d5f
2021-10-26 14:24:29 +02:00
Flatcar Buildbot
da6611987c dev-lang: Upgrade dev-lang/rust 1.55.0 to 1.56.0 2021-10-26 12:07:39 +00:00
Dongsu Park
4aa1a282d9 .github: update accept_keywords also for virtual/rust
PR https://github.com/flatcar-linux/coreos-overlay/pull/432 started
to replace `dev-lang/rust` in accept_keywords with its new version.
However, its corresponding `virtual/rust` has never been updated.
That issue had been hidden until
4463efcfd4
started adding `virtual/rust` to accept_keywords.
Unlike `dev-lang/rust`, keywords for `virtual/rust` stayed with old
versions. As a result, subsequent Github Actions PRs for rust become
all invalid, so build failures.

Fix the issue by replacing versions of `virtual/rust` with new versions.
Also try to match with version specifiers, not only `=` but also `>=`,
'<=', '~'.
2021-10-26 11:53:08 +02:00
Dongsu Park
739e98dc59 Merge pull request #1366 from aniruddha2000/aniruddha/remove-nmap-accept-keywords
Remove nmap keyword from arm64/package.accept_keywords
2021-10-25 17:27:00 +02:00
Dongsu Park
666787c9ee Merge pull request #1367 from aniruddha2000/aniruddha/update-cryptsetup-accept-keywords
Update accept keyword for cryptsetup 2.4.1
2021-10-25 17:26:44 +02:00
Aniruddha Basak
ec9c9714c0 Update accept keyword for cryptsetup 2.4.1 2021-10-25 07:06:19 +00:00
Sayan Chowdhury
5d0669763a Merge pull request #1363 from flatcar-linux/linux-5.10.75-main
Upgrade Linux Kernel in main from 5.10.74 to 5.10.75
2021-10-23 09:55:10 +05:30
Aniruddha Basak
da44b7c24d Remove nmap keyword from arm64/package.accept_keywords 2021-10-22 14:44:44 +00:00
Sayan Chowdhury
59a8112b65 Merge pull request #1365 from flatcar-linux/sayan/skip-tcsd-for-tpm2-v249
app-crypt/trousers: Skip tscd.service for TPM2 devices (using ConditionSecurity)
2021-10-22 16:26:24 +05:30
Sayan Chowdhury
33107d2047 Merge pull request #1364 from flatcar-linux/sayan/skip-tcsd-for-tpm2
app-crypt/trousers: Skip tscd.service for TPM2 devices
2021-10-22 16:21:14 +05:30
Sayan Chowdhury
0f2fde9beb app-crypt/trousers: Skip tscd.service for TPM2 devices
trousers supports TPM 1.2, and fails for TPM 2. This commits
skips the tcsd service if TPM 2 is detected.

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-22 12:28:24 +05:30
Mathieu Tortuyaux
6adcc5ab44 coreos-base/update_engine: remove -Werror flag
with the OpenSSLv3 upgrade, `update_engine` is not fully compatible yet.
See the associated issue for more details.

Let's keep the deprecated SHA functions in the meantime to run the
build.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00
Mathieu Tortuyaux
1d608a8560 app-crypt/sbsigntools: add patch to support opensslv3
See also: https://groups.io/g/sbsigntools/topic/patch_fix_openssl_3_0_issue/85903418?p=,,,20,0,0,0::recentpostdate/sticky,,,20,2,0,85903418,previd=1632756467394580924,nextid=1591489833755102589&previd=1632756467394580924&nextid=1591489833755102589

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00
Mathieu Tortuyaux
a6ad4cfba8 profiles/base: disable bindist useflag for openssh
there is an ongoing conversation about bindist patches for openssl:
https://marc.info/?l=gentoo-dev&m=163216172229772&w=2

Let's keep an eye on it.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00
Mathieu Tortuyaux
33d129daf9 profiles/coreos/base: add dev-libs/openssl-3.0.0
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00
Mathieu Tortuyaux
c83934f12e dev-libs/openssl: apply flatcar changes
- drop `pkg_postint`
- create `/etc/ssl` with systemd-tmpfiles

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00
Mathieu Tortuyaux
9e2cb8ebaa dev-libs/openssl: sync with ::gentoo
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-22 07:51:26 +02:00
Sayan Chowdhury
b857e562b5 app-crypt/trousers: Skip tscd.service for TPM2 devices
trousers supports TPM 1.2, and fails for TPM 2. This commits
skips the tcsd service if TPM 2 is detected.

Uses ConditionSecurity introduced in systemd v248

Fixes flatcar-linux/Flatcar#208

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-22 00:03:37 +05:30
Flatcar Buildbot
6da9c72dd8 sys-kernel: Upgrade Kernel 5.10.74 to 5.10.75 2021-10-21 07:23:01 +00:00
Guillaume Perrin
6bb6fc209e ca-certificates: update to NSS 3.70
For HTTPS to work and also for it to deliver the security promises we
need to ship the latest certificate database.
Update the package version symlink in oder to fetch the database from
the newest NSS release under
https://ftp.mozilla.org/pub/security/nss/releases/
and do a "ebuild ca-certificates-3.70.ebuild manifest" run.

Signed-off-by: Guillaume Perrin <guillaume28.perrin@gmail.com>
2021-10-20 15:48:20 +02:00
Krzesimir Nowak
47215146d1 Merge pull request #1354 from flatcar-linux/linux-5.10.74-main
Upgrade Linux Kernel in main from 5.10.71 to 5.10.74
2021-10-19 18:20:12 +02:00
Krzesimir Nowak
73794fb439 Merge pull request #1356 from flatcar-linux/krnowak/eapi-update2
profiles: Drop keywords for sys-fs/mtools
2021-10-19 15:40:17 +02:00
william light
76a5f89ca5 Merge pull request #1263 from flatcar-linux/wrl/polkit-0.119
sys-auth/polkit: bump to 0.119 and apply duktape patchset
2021-10-19 13:20:50 +02:00
Kai Lüke
e414c011ca Merge pull request #1355 from flatcar-linux/kai/update-ca-certs
ca-certificates: update to NSS 3.69.1
2021-10-19 13:03:00 +02:00
Mathieu Tortuyaux
1672cee3f3 profiles: remove introspection for both boards
it was already the case for ARM64, we just extend it to AMD64.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-19 12:51:48 +02:00
Mathieu Tortuyaux
7a2057149d sys-auth/realmd: remove polkit introspection use
we don't need to build realmd with introspection support for polkit.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-10-19 12:51:48 +02:00
William Light
94cda6bf05 sys-auth/polkit 0.119: re-apply downstream patches
commit 5c4d184e22fd93ab926878a131150047b54d0b6c
Author: Michael Marineau <michael.marineau@coreos.com>
Date:   Fri Aug 1 14:48:59 2014 -0700

    polkit: fix config install paths, use systemd-tmpfiles

    All configs should be installed to /usr and tmpfiles should be used to
    create and fix directory permissions instead of the ebuild's postinst.
2021-10-19 12:51:48 +02:00
William Light
03a4f3ce8a sys-auth/polkit 0.119: apply duktape patchset
https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/35

this should be re-fetched from the above MR when forward-porting to
updated polkit versions.
2021-10-19 12:46:58 +02:00
Kai Lueke
47acd798fd ca-certificates: update to NSS 3.69.1
For HTTPS to work and also for it to deliver the security promises we
need to ship the latest certificate database.
Update the package version symlink in oder to fetch the database from
the newest NSS release under
https://ftp.mozilla.org/pub/security/nss/releases/
and do a "ebuild ca-certificates-3.69.1.ebuild manifest" run.
2021-10-19 12:26:31 +02:00
Sayan Chowdhury
52a3eb0927 Merge pull request #1343 from flatcar-linux/sayan/update-systemd-249.4
sys-apps: Update systemd to 249.4
2021-10-19 12:01:15 +05:30
Krzesimir Nowak
0cdd439576 profiles: Drop keywords for sys-fs/mtools
We just updated this package to 4.0.35, which is declared stable for
both amd64 and arm64.
2021-10-18 18:33:14 +02:00
William Light
db987cbb1d sys-auth/polkit: bump to 0.119 2021-10-18 14:28:19 +02:00
Flatcar Buildbot
1b0b6b8dea sys-kernel: Upgrade Kernel 5.10.71 to 5.10.74 2021-10-18 07:23:32 +00:00
Dongsu Park
73f121d44b Merge pull request #1330 from oliwer/oliwer/toolbox-bump
app-admin/toolbox: bump to latest commit
2021-10-15 16:33:57 +02:00
Flatcar Buildbot
82b272f32b dev-lang: Upgrade Go 1.17.1 to 1.17.2 2021-10-14 08:40:59 +02:00
Dongsu Park
8e8dd33e3f Merge pull request #1317 from ArkaprabhaChakraborty/arkaprabha/upgrade-curl
Add Upgrade curl 7.79.1 to package.accept_keywords
2021-10-14 08:20:02 +02:00
Flatcar Buildbot
06126e5db3 app-emulation: Upgrade Containerd 1.5.5 to 1.5.7 2021-10-13 17:54:20 +02:00
Dongsu Park
d58c5b7e46 Merge pull request #1328 from flatcar-linux/docker-20.10.9-main
Upgrade Docker in main from 20.10.8 to 20.10.9
2021-10-13 17:46:19 +02:00
Dongsu Park
189714ccb7 Merge pull request #1320 from aniruddha2000/aniruddha/remove-util-linux-accept-keywords
Remove util-linux entry from package.accept_keywords
2021-10-13 08:15:31 +02:00
Dongsu Park
b00e903f4a Merge pull request #1331 from flatcar-linux/vmware-11.3.5-main
Upgrade open-vm-tools in main from 11.3.0 to 11.3.5
2021-10-12 10:18:43 +02:00
Sayan Chowdhury
e4fca5dcc4 sys-apps: Update systemd to 249.4
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-12 10:42:32 +05:30
Jeremi Piotrowski
52e44b5c54 app-emulation/open-vm-tools: refresh patch after upgrade to 11.3.5
Hgfs-mounter has been dropped from the repository and it let's make the
patch name independent of the package version so that the patch doesn't
have to be touched on every upgrade.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-10-08 14:46:48 +00:00
Krzesimir Nowak
aa25b49b7a Merge pull request #1336 from flatcar-linux/linux-5.10.71-main
Upgrade Linux Kernel in main from 5.10.70 to 5.10.71
2021-10-07 11:44:09 +02:00
Flatcar Buildbot
1c2eef84eb sys-kernel: Upgrade Kernel 5.10.70 to 5.10.71 2021-10-07 07:24:20 +00:00
Sayan Chowdhury
773908d59c sys-apps/baselayout: Fix the legend for failed systemd units
systemd v249 changes the usual failed units "●" to show "×".
This commit adapts accordingly to display the correct failed units

For compatibility with the longer-cadence channels, we continue to
support "●"

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-07 07:24:03 +00:00
Sayan Chowdhury
59a9ef8d0e profiles: Disable the cgroup-hybrid use for systemd
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-07 07:24:03 +00:00
Sayan Chowdhury
043ef47f5b sys-apps/systemd: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-10-07 07:24:03 +00:00
Sayan Chowdhury
ff243aa613 sys-apps/systemd: Sync with Gentoo upstream; updates to v249.2
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-10-06 12:31:31 +05:30
Flatcar Buildbot
88f4aa75e0 coreos-base: Upgrade oem-vmware 11.3.0 to 11.3.5 2021-10-05 16:43:59 +00:00
Flatcar Buildbot
acc8387bfb app-emulation: Upgrade open-vm-tools 11.3.0 to 11.3.5 2021-10-05 16:43:59 +00:00
Olivier Duclos
9bfe9d0997 app-admin/toolbox: bump to latest commit 2021-10-05 16:40:59 +02:00
Flatcar Buildbot
fcdaa45fb4 app-emulation: Upgrade Docker 20.10.8 to 20.10.9 2021-10-05 14:08:42 +00:00
Dongsu Park
223f17c66c profiles: accept keywords for vim/vim-core 8.2.3428
Now that we update vim to 8.2.3428, we need to accept keywords
`~amd64` and `~arm64` for both vim and vim-core.
2021-10-05 11:26:44 +02:00
Dongsu Park
617235dff1 app-editors/vim: delete unnecessary 8.2.0360-r1
Now that we updated vim to 8.2.0814 via
https://github.com/flatcar-linux/portage-stable/pull/223 , we do not
need to keep vim 8.2.0360-r1 in coreos-overlay. The vimdiff patch for
Flatcar was already merged to Gentoo.
2021-10-05 11:23:10 +02:00
Krzesimir Nowak
2c4f71d70b *: Do not use ROOT in src_ functions
The ROOT variable in EAPI 7 is available only in pkg_ functions, so
switch the uses of the ROOT variable in the src_ functions to SYSROOT.
2021-10-04 18:28:49 +02:00
Krzesimir Nowak
ac73ae991d *: Get rid of EAPI 5
Only partially - I didn't touch sys-auth/polkit, since it's slated to
be updated anyway.
2021-10-04 18:27:23 +02:00
Krzesimir Nowak
75ec7fbd42 *: Get rid of EAPI 4
Only partially - I didn't touch app-shells/bash, since it's slated to
be updated anyway.
2021-10-04 18:27:23 +02:00
Krzesimir Nowak
1f61b80842 *: Get rid of EAPI 2 2021-10-04 18:27:23 +02:00
Dongsu Park
66998b495a Merge pull request #1319 from flatcar-linux/dongsu/github-actions-ovt
.github: new Github workflow for open-vm-tools
2021-10-04 17:14:28 +02:00
Dongsu Park
4ac285d645 .github: add workflow_dispatch for every workflow
Add `workflow_dispatch` for every workflow, so we can manually test
individual workflows whenever we want.
2021-10-04 17:11:09 +02:00
Dongsu Park
2b84ad8efd .github: new Github workflow for open-vm-tools
Automatically update coreos/open-vm-tools as well as
coreos-base/oem-vmware.

Get the latest open-vm-tools release number, and get its build number
from the Github repo, and replace the old build number with the new one.

Also sync coreos-base/oem-vmware in line with open-vm-tools.
2021-10-04 17:10:47 +02:00
Sayan Chowdhury
892f76a9ca Merge pull request #1313 from flatcar-linux/sayan/update-bash-5.1
app-shells/bash: Sync with Gentoo upstream; updates to 5.1
2021-10-01 21:49:13 +05:30
Dongsu Park
9d0d4c6389 Merge pull request #1318 from flatcar-linux/firmware-20210919-main
Upgrade Linux Firmware in main from 20210818 to 20210919
2021-10-01 17:16:49 +02:00
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
Flatcar Buildbot
cf16fed72b sys-kernel: Upgrade Kernel 5.10.69 to 5.10.70 2021-10-01 07:22:32 +00:00
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
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
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
ArkaprabhaChakraborty
232a9f4261 Add Upgrade curl 7.79.1 to package.accept_keywords 2021-09-29 11:23:59 +00:00
ArkaprabhaChakraborty
2d7cd3b77e Add Upgrade libgcrypt 1.9.4 to package.accept_keywords 2021-09-29 11:01:31 +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
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
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
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
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
Dongsu Park
0c0f91e48d app-crypt/gnupg: update to 2.2.29
Update app-crypt/gnupg to 2.2.29.
One of the key purposes for the update is to be able to use the new
default keyserver `keyserver.ubuntu.com`, which is provided by default
since 2.2.29. It is due to the shutdown of the SKS keyserver pools.

See also https://bugs.gentoo.org/811828 .
2021-09-27 15:33:24 +02:00
Krzesimir Nowak
cd2ce59b72 dev-util/catalyst: Revert one Flatcar modification
We have added a keyworded ebuild for python3.8, so now there is one
less reason for keeping this package in overlay.
2021-09-27 14:52:21 +02:00
Krzesimir Nowak
d41402a80a app-portage/gentoolkit: Move back to portage-stable
We don't need to change the PYTHON_COMPAT field in ebuilds anymore,
which was the only reason for keeping this package in overlay.
2021-09-27 14:52:21 +02:00
Krzesimir Nowak
7533572c88 dev-python/setuptools: Move back to portage-stable
We don't need to change the PYTHON_COMPAT field in ebuilds anymore,
which was the only reason for keeping this package in overlay.
2021-09-27 14:52:20 +02:00
Krzesimir Nowak
d61cfb2e6b sys-libs/talloc: Move back to portage-stable
We don't need to change the PYTHON_COMPAT field in ebuilds anymore,
which was the only reason for keeping this package in overlay.
2021-09-27 14:52:20 +02:00
Krzesimir Nowak
9d108c8ce9 profiles: Accept unstable keywords for sys-libs/talloc
I think we still prefer to keep packages in portage-stable and
sometimes add an entry to the accept_keywords file instead of moving
the package to overlay just to edit a keyword. Or a PYTHON_COMPAT
field.
2021-09-27 14:52:14 +02:00
Krzesimir Nowak
f6efdbea46 sys-apps/coreutils: Move back to portage-stable
We don't need to change the PYTHON_COMPAT field in ebuilds anymore,
which was the only reason for keeping this package in overlay.
2021-09-27 14:51:25 +02:00
Krzesimir Nowak
778986fbdb profiles: Mask newer python versions
This changes comes together with the change made in portage-stable to
one of the python eclasses where we add support for python3 version
from 3.8 to 3.10. To make this change complete, we need to mask those
new versions, so building packages will not try to depend on python
version we haven't yet packaged.
2021-09-27 14:51:25 +02:00
Krzesimir Nowak
d1e3d46f30 net-misc/google-cloud-sdk: Update to 355.0.0 2021-09-27 14:48:18 +02:00
Flatcar Buildbot
0866432de1 sys-kernel: Upgrade Kernel 5.10.68 to 5.10.69 2021-09-27 07:23:37 +00:00
Krzesimir Nowak
0c4baf23fa Merge pull request #1302 from flatcar-linux/linux-5.10.68-main
Upgrade Linux Kernel in main from 5.10.67 to 5.10.68
2021-09-24 15:15:12 +02:00
Dongsu Park
371afe49a4 Merge pull request #1304 from flatcar-linux/dongsu/go-1.17
dev-lang/go,*: update Go to 1.17.1
2021-09-24 13:07:52 +02:00
Mathieu Tortuyaux
1a0f78f3b9 Merge pull request #1288 from flatcar-linux/tormath1/perl
profiles/base/use: add `minimal` useflag to `dev-lang/perl`
2021-09-24 09:38:20 +02:00
Dongsu Park
5525e14081 .github: update to Go 1.17
Update the default version of Go to 1.17 in the Github Actions as well.
2021-09-24 09:35:59 +02:00
Dongsu Park
e7956fb4c7 coreos-base/hard-host-depends: update Go to 1.17
Update dev-lang/go to 1.17 in the SDK dependency list,
and delete the unnecessary dev-lang/go 1.16 from the list.
2021-09-24 09:35:28 +02:00
Dongsu Park
6295868ffa dev-lang/go: Update to 1.17.1, delete 1.16
Update dev-lang/go to 1.17.1, mainly to address CVE-2021-29923.
Delete dev-lang/go 1.16, which is not needed any more.
2021-09-24 09:35:12 +02:00
Dongsu Park
97b3506e4f coreos-base/hard-host-depends: delete Go 1.15 from SDK
Now that Go 1.15 was deleted, we need to also remove it from the SDK
dependency list.
2021-09-24 09:34:41 +02:00
Dongsu Park
df58b799d7 dev-lang/go: delete Go 1.15
As Go 1.15 is not being used any more, we can clean it up completely.
2021-09-24 09:33:58 +02:00
Krzesimir Nowak
854fa83936 Merge pull request #1292 from flatcar-linux/krnowak/dev-libs-libdnet-update
dev-libs/libdnet: Sync with gentoo
2021-09-24 08:54:40 +02:00
Krzesimir Nowak
1e8e64a6db sys-apps/keyutils: Apply Flatcar modifications 2021-09-24 08:45:01 +02:00
Krzesimir Nowak
9eca6ea5c4 sys-apps/keyutils: Update from gentoo
This is to get rid of EAPI 5 in the package.
2021-09-24 08:45:01 +02:00
Krzesimir Nowak
2bbdb0ea62 Merge pull request #1296 from flatcar-linux/krnowak/sys-apps-texinfo-update
sys-apps/texinfo: Sync with gentoo
2021-09-24 08:30:03 +02:00
Krzesimir Nowak
2507be348f sys-apps/texinfo: Apply Flatcar modifications 2021-09-24 08:27:54 +02:00
Krzesimir Nowak
236c32b87d sys-apps/texinfo: Update from gentoo
This is to get rid of EAPI 5 in the package.
2021-09-24 08:27:54 +02:00
Krzesimir Nowak
8937934bb4 Merge pull request #1297 from flatcar-linux/krnowak/sys-auth-realmd-update
sys-auth/realmd: Update to 0.17.0
2021-09-24 08:22:09 +02:00
Krzesimir Nowak
753a6dd331 profiles: Drop nonexistent use flag 2021-09-24 07:42:23 +02:00
Krzesimir Nowak
7fcd98642d sys-fs/lvm2: Apply Flatcar modifications 2021-09-24 07:42:23 +02:00
Krzesimir Nowak
3e46fc087e sys-fs/lvm2: Sync with gentoo
This is to get rid of EAPI 5 in the package.
2021-09-24 07:42:23 +02:00
Mathieu Tortuyaux
a730b5bb46 bootstrap: add minimal useflag to BOOSTRAP_USE
with the recent update of `dev-lang/perl`, we added the `minimal`
useflag.

This one is not taken in account from `package.use` into the stage 2 of the boostraping,
because we do an `export USE=...`.

Following the precedence of the USE flag with Gentoo, the `export` will
be used in first, so the `package.use` with our `dev-lang/perl minimal`
won't be used.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-09-23 10:37:26 +02:00
Flatcar Buildbot
24b0f04732 sys-kernel: Upgrade Kernel 5.10.67 to 5.10.68 2021-09-23 07:23:06 +00:00
Krzesimir Nowak
186003ee41 Merge pull request #1295 from flatcar-linux/krnowak/sys-apps-net-tools-update
sys-apps/net-tools: Move back to portage-stable
2021-09-23 09:18:24 +02:00
Mathieu Tortuyaux
e1b6d08789 profiles/base: add minimal useflag for perl
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-09-23 09:15:36 +02:00
Krzesimir Nowak
61ee954e86 sys-auth/realmd: Update to 0.17.0
This seems to be still unpackaged by gentoo, so refresh it on our own
then and do some maintainance work on it:

- Update to the recent EAPI, replacing autotools-utils with autotools,
  and systemd_get_unitdir with systemd_get_systemunitdir.

- Add a patch from upstream fixing the pkg-config detection, so our
  hack during configure phase is not necessary any more.

- Patch the configure script to put the D-Bus policy files in
  /usr/share instead of /etc. This removes a need for a hack in the
  install step.

This is to get rid of EAPI 5 in the package.
2021-09-22 13:13:15 +02:00
Krzesimir Nowak
70236ec8de net-libs/libtirpc: Apply Flatcar modifications 2021-09-22 12:39:42 +02:00
Krzesimir Nowak
ae18bb3ded net-libs/libtirpc: Sync with gentoo
This is to get rid of EAPI 5.
2021-09-22 12:39:42 +02:00
Krzesimir Nowak
85f9944fb8 dev-libs/libdnet: Apply Flatcar modifications 2021-09-22 12:39:28 +02:00
Krzesimir Nowak
3a54f3922c dev-libs/libdnet: Sync with gentoo
This is to get rid of EAPI 5 in the package.
2021-09-22 12:39:28 +02:00
Krzesimir Nowak
f385014620 sys-apps/net-tools: Move back to portage-stable
We are going to update it to a newer version, which fixes the build
system issue that was a reason for putting the package in overlay.

This is to get rid of EAPI 5 in the package.
2021-09-22 12:39:04 +02:00
Sayan Chowdhury
85ad6e9aec Merge pull request #1291 from flatcar-linux/linux-5.10.67-main
Upgrade Linux Kernel in main from 5.10.66 to 5.10.67
2021-09-22 15:15:32 +05:30
Aniruddha Basak
80ef9035b7 Add alias for bcc tools to run in docker container (#1278)
Add alias for bcc tools to run through Docker
2021-09-21 21:00:15 +02:00
Sayan Chowdhury
acf6871237 Merge pull request #1079 from flatcar-linux/sayan/update-iptables-1.8.7
net-firewall/{ip,eb,nf}tables: Sync with Gentoo upstream; iptables 1.8.7; ebtables 2.0.11; nftables 0.9.9
2021-09-21 21:47:12 +05:30
Sayan Chowdhury
4c6359b9fb fixup! net-firewall/iptables: Apply the Flatcar patches
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-09-21 16:09:17 +00:00
Sayan Chowdhury
d174aaf2a2 fixup! net-firewall/iptables: Apply the Flatcar patches
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-09-21 16:02:37 +00:00
Sayan Chowdhury
8c8fe409d1 fixup! net-firewall/nftables: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-09-21 16:02:37 +00:00
Sayan Chowdhury
8a6d6f9011 fixup! net-firewall/nftables: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-09-21 16:02:37 +00:00
Sayan Chowdhury
42a36fb311 net-firewall/ebtables: Apply the Flatcar patches
- set ebtables to use xtables-nft-multi instead of legacy

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-09-21 16:02:37 +00:00
Sayan Chowdhury
351f85e1b2 net-firewall/ebtables: Move the package into coreos-overlay
Incase the ebtables tables are not set, the ebuilds links the
ebtables binaries to the legacy version instead of the nft version

Moving to coreos-overlay to link it to xtables-nft-multi.
The next step could be upstream the patches, incase of the usage of
nftables USE flag.

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2021-09-21 16:02:37 +00:00
Sayan Chowdhury
a6290e4217 profiles: Don't install eselect in the boards
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-09-21 16:02:37 +00:00
Sayan Chowdhury
e1c59c3f62 net-firewall/nftables: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-09-21 16:02:37 +00:00
Sayan Chowdhury
71577282ef net-firewall/nftables: Sync with Gentoo upstream; updates to 0.9.9
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-09-21 16:02:30 +00:00
Sayan Chowdhury
a00cc42b6b net-firewall/iptables: Apply the Flatcar patches
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-09-21 10:49:15 +00:00
Flatcar Buildbot
53c3f6811e sys-kernel: Upgrade Kernel 5.10.66 to 5.10.67 2021-09-19 07:22:01 +00:00
Flatcar Buildbot
3cc1afab92 sys-kernel: Upgrade Kernel 5.10.65 to 5.10.66 2021-09-17 07:23:22 +00:00
Krzesimir Nowak
30b831ca32 Merge pull request #1276 from flatcar-linux/rust-1.55.0-main
Upgrade dev-lang/rust in main from 1.54.0 to 1.55.0
2021-09-16 11:05:32 +02:00
Flatcar Buildbot
b3e25cc704 sys-kernel: Upgrade Kernel 5.10.64 to 5.10.65 2021-09-16 07:23:52 +00:00
Sayan Chowdhury
24c71442ab net-firewall/iptables: Sync with Gentoo upstream
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-09-15 18:24:14 +00:00
Krzesimir Nowak
d5a9c3acdf dev-lang/rust: Apply Flatcar modifications
- Change python compatibility to python3.6 only, which we still use.
- Apply crossdev patch.
2021-09-15 14:41:08 +02:00
Krzesimir Nowak
19d338203b dev-lang/rust: Drop unnecessary stuff 2021-09-15 14:41:08 +02:00
Krzesimir Nowak
0e1d4af0d4 dev-lang/rust: Sync with gentoo 2021-09-15 14:41:08 +02:00
Krzesimir Nowak
2310cb32ee profiles: Fix accept_keywords for rust
We had an accept_keywords for versioned rust in base profile already,
but it was outdated due to a bug in github action. So update it and
move the lines from sdk target to base profile. The accept_keywords
for virtual/cargo package are dropped, because there is no such
package.
2021-09-15 14:41:08 +02:00
Krzesimir Nowak
b7269c6e12 github: Fix the rust workflow
Replace any dev-lang/rust version with the current one, and make sure
that the modified files in the profiles directory is actually included
in the patch.
2021-09-15 14:41:08 +02:00
Flatcar Buildbot
87e65d16e5 dev-lang: Upgrade dev-lang/rust 1.54.0 to 1.55.0 2021-09-15 14:41:08 +02:00
Krzesimir Nowak
dd5b75ce96 Merge pull request #1275 from flatcar-linux/go-1.16.8-main
Upgrade Go in main from 1.16.7 to 1.16.8
2021-09-14 12:43:22 +02:00
Krzesimir Nowak
49faa0b1cd Merge pull request #1273 from flatcar-linux/linux-5.10.64-main
Upgrade Linux Kernel in main from 5.10.63 to 5.10.64
2021-09-14 12:42:48 +02:00
Sayan Chowdhury
c317eca484 Merge pull request #1147 from flatcar-linux/sayan/update-binutils-2.37
profiles: Add binutils-2.37 to the accept_keywords
2021-09-14 15:48:03 +05:30
Flatcar Buildbot
4911162e28 dev-lang: Upgrade Go 1.16.7 to 1.16.8 2021-09-13 07:25:50 +00:00
Flatcar Buildbot
5236173688 sys-kernel: Upgrade Kernel 5.10.63 to 5.10.64 2021-09-12 07:22:18 +00:00
Jeremi Piotrowski
c213631177 Merge pull request #1262 from kinvolk/jepio/ignition-fix-bootloop
sys-kernel/bootengine: prevent boot loop on ignition failure
2021-09-10 10:25:22 +02:00
Jeremi Piotrowski
453c346543 sys-kernel/bootengine: update commit for ignition-bootloop fix
This resolves an issue that causes the initramfs to boot loop when ignition
fails.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-09-10 10:12:50 +02:00
Jeremi Piotrowski
c2e842bed8 Merge pull request #1216 from kinvolk/jepio/sssd-cve-fix
sys-auth/sssd: fix CVE-2021-3621
2021-09-09 11:13:08 +02:00
Jeremi Piotrowski
90b316b6d0 sys-auth/sssd: add patch for CVE-2021-3621
This is a backport of https://github.com/SSSD/sssd/pull/5748 adapted to 2.3.1.
A change was necessary: src/tools/sssctl/sssctl_logs.c wasn't passing
'--no-create' to truncate in 2.3.1 yet.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-09-09 11:11:38 +02:00
Flatcar Buildbot
43caf03dad sys-kernel: Upgrade Kernel 5.10.62 to 5.10.63 2021-09-08 07:10:02 +00:00
Sayan Chowdhury
2e6287988b profiles: Add binutils-2.37 to the accept_keywords
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-09-07 15:51:41 +05:30
Krzesimir Nowak
123c3031e7 Merge pull request #1260 from kinvolk/krnowak/python-grub
sys-boot/grub: Drop python2 compatibility
2021-09-07 09:07:15 +02:00
Krzesimir Nowak
f49aa5cecc Merge pull request #1259 from kinvolk/linux-5.10.62-main
Upgrade Linux Kernel in main from 5.10.61 to 5.10.62
2021-09-07 08:28:49 +02:00
Krzesimir Nowak
f35b125ee3 sys-boot/grub: Drop python2 compatibility 2021-09-06 17:40:50 +02:00
Flatcar Buildbot
5952fc58dd sys-kernel: Upgrade Kernel 5.10.61 to 5.10.62 2021-09-04 07:10:32 +00:00
Dongsu Park
83fc14f479 sys-apps/systemd-sysv-utils: delete unnecessary package 2021-09-03 17:21:56 +02:00
Dongsu Park
c8210e51c2 dev-util/lcov: delete unnecessary package 2021-09-03 17:21:56 +02:00
Dongsu Park
86b9533b56 coreos-base/coreos-experimental: delete unnecessary package 2021-09-03 17:21:56 +02:00
Dongsu Park
0e27b92071 Merge pull request #1251 from kinvolk/dongsu/openssh-8.7
net-misc/openssh: update to 8.7_p1-r1
2021-09-03 15:09:00 +02:00
Krzesimir Nowak
311a0cf66b Merge pull request #1252 from kinvolk/krnowak/init-python3
coreos-base/coreos-init: Port to python3
2021-09-03 14:31:14 +02:00
Krzesimir Nowak
9b3a1c703d coreos-base/coreos-init: Port to python3 2021-09-03 14:30:39 +02:00
Krzesimir Nowak
61df4384ec Merge pull request #1250 from kinvolk/krnowak/update-xenstore
app-emulation/xenstore: Update to 4.14.2
2021-09-03 14:28:15 +02:00
Dongsu Park
4fb2be88fb Merge pull request #1246 from kinvolk/dongsu/ca-certificates-utf8
app-misc/ca-certificates: consider system encoding when opening file
2021-09-03 11:44:27 +02:00
Dongsu Park
e0e0620e2c profiles: accept ~arm64 keywords for openssh 8.7_p1-r1
Accept ~arm64 keywords for net-misc/openssh 8.7_p1-r1.
2021-09-03 10:35:28 +02:00
Kai Lüke
dcd8f8ae40 net-misc/openssh: Apply Flatcar changes
- Drop the init.d files.
- Remove the socket unit's rate limiting.

Instead of dropping bindist, enable it with the profiles now so it
doesn't need to be modified on future updates.

Imported commit 20d298fb282ec9d5a060f12aef64c47aede0904d .
2021-09-03 10:35:28 +02:00
Dongsu Park
e0e1ad29c3 net-misc/openssh: sync with Gentoo for 8.7_p1-r1
Update net-misc/openssh to 8.7_p1-r1, mainly to address CVE-2020-15778.

Goal of the package update is to add the support of a new option `-s`
of scp, i.e. "sftp mode of scp". Openssh 8.7 started to support the
flag, but it is disabled by default. So at the moment users need to
explicitly run `scp -s` to test the feature.

Gentoo ref: 11d6f23704e7ab84191e28e034816bfdb151d406
2021-09-03 10:35:24 +02:00
Dongsu Park
2db638d652 Merge pull request #1243 from kinvolk/dongsu/glibc-2.33-r7
sys-libs/glibc: update to 2.33-r7
2021-09-03 10:05:39 +02:00
Kai Lüke
adb5726979 Merge pull request #1245 from kinvolk/kai/enable-selinux-on-all-targets-v2
profiles: Enable selinux for all targets
2021-09-02 21:14:39 +02:00
Aniruddha Basak
9210fd5beb mdadm: migrate cron.weekly to systemd.timer (#1244)
Add mdadm timer and service files and remove the unused weekly cron
2021-09-02 21:10:57 +02:00
Krzesimir Nowak
00cad56908 Merge pull request #1248 from kinvolk/krnowak/update-sys-libs-ldb
Update sys-libs/talloc and sys-libs ldb to drop python2 dependency
2021-09-02 20:55:19 +02:00
Krzesimir Nowak
0c16d504b2 Merge pull request #1236 from raballew/main
coreos-modules: add GPIO support
2021-09-02 17:56:38 +02:00
Kai Lueke
f0f9617316 profiles: Enable selinux for all targets
Move the USE options out of the amd64 path, specify selinux
packages as explicit dependency, and add accept keywords.
2021-09-02 15:13:32 +02:00
Dongsu Park
142dc04fd4 app-misc/ca-certificates: ignore UnicodeEncodeError when opening file
Now that we started encoding strings to unicode by default,
we should also take care of corner cases, where LC_CYPTE is set to a
different value from the systemd default value in `/etc/locale.gen`.

For example, under a build environment with `LC_CTYPE=C`, when the UTF-8
file name is `AC_Ra�z_Certic�mara_S.A..pem`,
build fails like that.

```
Traceback (most recent call last):
  File "/var/tmp/portage/app-misc/ca-certificates-3.27.1-r2/files/certdata2pem.py",
line 127, in <module>
    f = open(fname, 'w')
UnicodeEncodeError: 'ascii' codec can't encode character '\xed' in position 5: ordinal not in range(128)
 * ERROR: app-misc/ca-certificates-3.27.1-r2::coreos failed (compile phase):
```

To fix that, encode filename with system encoding when opening the file.
2021-09-02 14:19:37 +02:00
Krzesimir Nowak
d4d10bceaa app-emulation/xenstore: Update to 4.14.2 2021-09-02 14:19:29 +02:00
Krzesimir Nowak
8cc524b15b sys-libs/ldb: Apply Flatcar modifications
Support python3 that we have packaged.
2021-09-02 10:22:30 +02:00
Krzesimir Nowak
d0aaf23418 sys-libs/ldb: Drop extra stuff 2021-09-02 10:22:30 +02:00
Krzesimir Nowak
c99f0113cd sys-libs/ldb: Copy from gentoo
Still contains extra stuff we are going to drop.
2021-09-02 10:22:30 +02:00
Krzesimir Nowak
8a32322830 sys-libs/ldb: Drop old
This package contained no Flatcar modifications, so in theory it could
be moved to portage-stable. But we also will want to update it to some
recent version that does not depend on python2. But the recent
versions in gentoo use python3.{7,9}, so we will need to change it for
now, since we still use python3.6.
2021-09-02 10:22:30 +02:00
Krzesimir Nowak
fd5bfc4907 sys-libs/talloc: Apply Flatcar modifications 2021-09-02 10:22:30 +02:00
Krzesimir Nowak
0c1e06d7a0 sys-libs/talloc: Drop unnecessary files 2021-09-02 10:22:30 +02:00
Krzesimir Nowak
ee50bff520 sys-libs/talloc: Add new package from gentoo
We need it for the updated sys-libs/ldb, but it depends on python we
haven't yet packaged.
2021-09-02 10:22:30 +02:00
Dongsu Park
0565e229ef .github: fetch the correct Flatcar image signing key
`Flatcar_Image_Signing_Key.asc` on https://www.flatcar-linux.org is
outdated, expired. That's why all Github Actions failed to run.
We need to fetch the image signing key from the correct URL,
https://kinvolk.io/flatcar-container-linux/...
2021-09-02 09:34:13 +02:00
Paul Wallrabe
262c16b427 amd64: enable missing kernel config options 2021-09-01 21:23:52 +02:00
Krzesimir Nowak
0eac3144d7 dev-python/distro-oem: Update some comments 2021-09-01 18:51:04 +02:00
Krzesimir Nowak
d6adffcdc3 app-emulation/wa-linux-agent: Update some comments 2021-09-01 18:50:49 +02:00
Krzesimir Nowak
fd0fa0b948 dev-python/distro-oem: Depend on specific version of python-oem 2021-09-01 18:46:49 +02:00
Krzesimir Nowak
357df4cebd app-emulation/wa-linux-agent: Depend on specific version of python-oem 2021-09-01 18:46:49 +02:00
Krzesimir Nowak
fe69e51906 app-emulation/wa-linux-agent: Make DIST entry in Manifest a single line 2021-09-01 18:46:49 +02:00
Krzesimir Nowak
55d5630340 app-emulation/wa-linux-agent: Patch to support flatcar 2021-09-01 18:46:49 +02:00
Krzesimir Nowak
4827507851 app-emulation/wa-linux-agent: Add dependency on dev-python/distro-oem
WALinuxAgent falls back to using the `distro` module to figure out the
distribution details in case the `get_linux_distribution` function
from the builtin `platform` module is not able to do it. With the
update of python-oem to python3, the distribution detection broke,
because we stopped carrying a patch that implemented fetching the
distribution information from `/etc/os-release`. It does not make
sense to backport that patch though, because
`platform.get_linux_distribution` is deprecated and removed in python
3.7 or 3.8. So when we update python3 to the newer version, we would
need to add the `distro` module anyway.

Maybe we can drop `distro-oem` module in future, when python-oem will
use version 3.10 and WALinuxAgent starts using the newly added
functionality in 3.10 to figure out the distribution information.
2021-09-01 18:46:49 +02:00
Krzesimir Nowak
8ff3d67fcb dev-python/distro-oem: Add new package
See README.md for details on why we add this package instead of
importing dev-python/distro from gentoo.
2021-09-01 18:46:49 +02:00
Krzesimir Nowak
0f54150fdf app-emulation/wa-linux-agent: Update the python path 2021-09-01 18:46:49 +02:00
Krzesimir Nowak
00ae3b5203 dev-lang/python-oem: Apply Flatcar modifications 2021-09-01 18:46:49 +02:00
Krzesimir Nowak
28efd0f33a dev-lang/python-oem: Copy ebuild of python 3.6.5 from portage-stable
It's the build file we are using now.
2021-09-01 18:46:49 +02:00
Krzesimir Nowak
d5283e2a11 dev-lang/python-oem: Drop old stuff 2021-09-01 18:46:49 +02:00
Krzesimir Nowak
3c1ed84ecd Merge pull request #1235 from kinvolk/krnowak/bump-git-emerge
coreos-base/git-emerge: Update links and bump commit
2021-09-01 18:03:42 +02:00
Dongsu Park
229ab50bb0 coreos-devel/mantle: update to v0.16.0
Update mantle to 8957a93e17c7c6491ff5e95e226832032ceea576, v0.16.0,
mainly to address CVE-2021-29482 (xz), CVE-2020-27813 (websocket), and
CVE-2020-26160 (jwt).

Pulls in https://github.com/kinvolk/mantle/pull/206 and
https://github.com/kinvolk/mantle/pull/207 .
2021-09-01 13:38:18 +02:00
Thilo Fromm
35b465ad63 sys-apps/glibc: add Flatcar changes for 2.33-r7
- 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

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.

Based on commit f7a8cd5f1fcc.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
Signed-off-by: Dongsu Park <dongsupark@microsoft.com>
2021-09-01 13:35:06 +02:00
Dongsu Park
6c0154f285 sys-libs/glibc: sync with Gentoo for 2.33-r7
Update sys-libs/glibc to 2.33-r7, mainly to address CVE-2021-38604.

Gentoo ref: 8c150cdb5bc5d9fc84079cc764957b7823c3bf43
2021-09-01 13:34:55 +02:00
Dongsu Park
9eabfa5aeb profiles: accept keyword ~arm64 for selinux
Now that sys-apps/policycoreutils is pulled in explicitly for both
architectures, we should be able to pull in its dependencies, e.g.
sys-apps/semodule-utils, sys-libs/libselinux, sys-libs/libsemanage,
sys-libs/libsepol. In case of arm64, however, all the ebuilds have
only `~arm64`. So we need to enable the keywords for the ebuilds.

Without the changes, build fails like:

```
!!! All ebuilds that could satisfy
">=sys-libs/libselinux-3.1:=[python?,python_targets_python3_6(-)?,-python_single_target_python3_6(-)]"
for /build/arm64-usr/ have been masked.
!!! One of the following masked packages is required to complete your
request:
- sys-libs/libselinux-9999::coreos (masked by: missing keyword)
- sys-libs/libselinux-3.2::coreos (masked by: ~arm64 keyword)
- sys-libs/libselinux-3.1-r1::coreos (masked by: ~arm64 keyword)
```
2021-09-01 07:42:05 +02:00
Dongsu Park
ebf22560ee sys-kernel/coreos-firmware: fix symlink to Intel ICE firmware
Now that Kernel config `CONFIG_ICE` is enabled, its corresponding
firmware file needs to be also in place. However, upstream
linux-firmware tarball does not contain a correct symlink to
`intel/ice/ddp/ice-1.3.26.0.pkg`, but `modinfo ice.ko` shows it
requires `ice.pkg`. So we need to create the symlink to avoid failures
at the firmware scanning stage like below:

```
Missing firmware: intel/ice/ddp/ice.pkg (ice.ko.xz)
```
2021-08-31 18:19:33 +02:00
Kai Lueke
46c86fa000 coreos-base/coreos/coreos: add user binaries to explicit list
The image contents are defined by the list in this package and the
dependencies pulled in. Once we would lose some dependency due to
a package change, that would also meant that this dependency's
binaries are not available to the user anymore. To prevent user
binaries from being lost we have to explicitly list them in this
package.
Add the packages that have binaries relevant to the user and are
currently installed (seen in flatcar_production_image_packages.txt
and checked manually). Also add sys-apps/acl which got lost when
removing rkt.
2021-08-31 17:26:01 +02:00
Krzesimir Nowak
646c9dc747 coreos-base/emerge-gitclone: Bump version 2021-08-31 17:18:21 +02:00
Krzesimir Nowak
97e416212f coreos-base/emerge-gitclone: Bump commit 2021-08-31 17:13:05 +02:00
Krzesimir Nowak
b2c3b8b235 coreos-base/emerge-gitclone: Update links 2021-08-31 17:13:05 +02:00
Kai Lueke
f675979cf9 coreos-base/coreos-init: flatcar-install random OEM FS UUID if duplicate
This pulls in
https://github.com/kinvolk/init/pull/47
to randomize OEM filesystem UUID if mounting fails, and to avoid trying
to install the QEMU qcow2 images.
2021-08-31 14:25:37 +02:00
Sayan Chowdhury
52e49c4b2b Merge pull request #1227 from kinvolk/linux-5.10.61-main
Upgrade Linux Kernel in main from 5.10.59 to 5.10.61
2021-08-31 16:39:57 +05:30
Jeremi Piotrowski
b3d81cfc90 Merge pull request #1238 from kinvolk/jepio/fix-cross-perl
coreos/config: add fix for perl cross-compilation
2021-08-31 12:52:07 +02:00
Jeremi Piotrowski
1db644bcf9 Merge pull request #1233 from kinvolk/jepio/pam-tty-audit
profiles: enable 'audit' use flag for sys-libs/pam
2021-08-31 11:40:37 +02:00
Thilo Fromm
b61a60487e Merge pull request #1237 from cybozu/add-ice-driver
sys-kernel/coreos-modules: add Intel E800 series network adapter driver
2021-08-31 10:50:39 +02:00
Dongsu Park
f1ff6f7945 Merge pull request #1220 from kinvolk/runc-1.0.2-main
Upgrade Runc in main from 1.0.1 to 1.0.2
2021-08-31 10:38:50 +02:00
Krzesimir Nowak
f4d351a962 Merge pull request #1229 from kinvolk/krnowak/certdata-py3
app-misc/ca-certificates: Port the python script to python3
2021-08-31 10:21:52 +02:00
UMEZAWA Takeshi
6e6a916870 sys-kernel/coreos-modules: add Intel E800 series network adapter driver
Fixes https://github.com/kinvolk/Flatcar/issues/482

Signed-off-by: UMEZAWA Takeshi <takeshi-umezawa@cybozu.co.jp>
2021-08-31 16:26:05 +09:00
Krzesimir Nowak
5fe6c80c41 Merge pull request #1211 from kinvolk/krnowak/kill-cros-devutils-with-fire
Drop coreos-base/cros-devutils and dev-util/crosutils
2021-08-30 17:52:34 +02:00
Paul Wallrabe
ff031b51e5 coreos-modules: add GPIO support
CONFIG_GPIO_SYSFS=y so that /sys/class/gpio/... is present, and /dev/gpiomem is present
2021-08-30 16:28:15 +02:00
Flatcar Buildbot
a2207ae23f app-emulation: Upgrade Runc 1.0.1 to 1.0.2 2021-08-30 16:28:04 +02:00
Jeremi Piotrowski
a72dc751fb coreos/config: add fix for perl cross-compilation
Current cross builds of perl segfault on simple operations such as `perl -V`.
This appears to be due to the cross-build not getting `-fwrapv -fno-strict-aliasing`
passed from the configure script. While we try to get this fixed upstream, we
can monkeypatch our old version of perl to fix this.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-30 14:26:59 +00:00
Jeremi Piotrowski
c97f4f5e30 profiles: enable 'audit' use flag for sys-libs/pam
This change results in building the pam_tty_audit additionally, nothing else.
Related to https://github.com/kinvolk/Flatcar/issues/485.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-30 11:21:17 +02:00
Jeremi Piotrowski
e6285c77ad Merge pull request #1232 from kinvolk/jepio/remove-old-go-sdk-depends
coreos-base: hard-host-depends: remove unused go versions 1.7 & 1.8 & 1.13
2021-08-30 11:06:58 +02:00
Jeremi Piotrowski
bf0eb91df7 coreos-base: hard-host-depends: remove unused go versions 1.7,1.8,1.13
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-30 08:30:42 +00:00
Jeremi Piotrowski
6c4cefcb8a dev-lang/go: remove unused version 1.8.7
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-30 08:30:42 +00:00
Kai Lüke
a344257a50 Merge pull request #1221 from aniruddha2000/aniruddha2000/add-lbzip2
Add app-arch/lbzip2 to the coreos ebuild dependencies
2021-08-30 10:29:17 +02:00
Dongsu Park
eecd5906e3 Merge pull request #1201 from kinvolk/firmware-20210818-main
Upgrade Linux Firmware in main from 20210716 to 20210818
2021-08-30 09:54:24 +02:00
Krzesimir Nowak
9f63c9a0ec app-misc/ca-certificates: Port the python script to python3
It produces files with the same contents as the python2 version of the
script, but the filename handling is a bit different wrt. filenames
with weird, non-unicode characters. But overall, it does not affect
anything.
2021-08-30 08:19:23 +02:00
Thilo Fromm
5e45db79f3 Merge pull request #1231 from kinvolk/t-lo/add-qemu-user-networking
profiles/.../sdk/package.use: add qemu SLIRP
2021-08-27 18:18:00 +02:00
Dongsu Park
90cb6a00c7 Merge pull request #1230 from kinvolk/dongsu/c-ares-1.17.2
profiles: accept keyword ~arm64 for net-dns/c-ares 1.17.2
2021-08-27 18:02:49 +02:00
Mathieu Tortuyaux
631b924b9b Merge pull request #1161 from kinvolk/tormath1/update-locksmith-commit
app-admin/locksmith: bump commit ID
2021-08-27 17:17:08 +02:00
Aniruddha Basak
d3bde47383 Update CROS_WORKON_COMMIT to reflect the latest init changes 2021-08-27 15:13:14 +00:00
Thilo Fromm
f7049b250e profiles/.../sdk/package.use: add qemu SLIRP
This change adds the "slirp" use flag to qemu (SDK only), enabling
qemu's user networking. This fixes a bug where qemu is unable to start
the Flatcar qemu image:

$ ./flatcar_production_qemu.sh
qemu-system-x86_64: Parameter 'type' expects a netdev backend type

The issue has been discussed on the qemu mailing list:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg786275.html

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-08-27 17:12:11 +02:00
Mathieu Tortuyaux
ea3830d83a app-admin/locksmith: bump commit ID
closes https://github.com/kinvolk/Flatcar/issues/407

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-08-27 16:27:40 +02:00
Krzesimir Nowak
1a13f841b1 profiles: Drop shflags from accept_keywords
We dropped this package from portage-stable.
2021-08-27 14:23:45 +02:00
Krzesimir Nowak
ee81b6b5eb dev-util/crosutils: Drop the package
It contained some chromium version of flatcar scripts, from which we
were using the common.sh script in the cros-workon script (from the
now-removed coreos-base/cros-devutils package). It's not used any more
- we updated flatcar scripts to call into its internal copy of
cros-workon.
2021-08-27 14:22:31 +02:00
Krzesimir Nowak
96f039baf1 coreos-base/cros-devutils: Drop the package
The package contained scripts that are not used in our workflow, are
unmaintained by us for a number of years now and it presents an
obstacle in porting the packages to python3.
2021-08-27 14:22:31 +02:00
Krzesimir Nowak
c8c766b05e hard-host-depends: Add app-crypt/{efitools,sbsigntools}
Our scripts are using cert-to-efi-sig-list and flash-var from
efitools, and sbsign from sbsigntools. Currently the cros-devutils
package is pulling in the efitools package, which in turn pull in the
sbsigntools package.

We plan to drop the cros-devutils package, so better be explicit about
the dependencies.
2021-08-27 14:22:31 +02:00
Jeremi Piotrowski
0596e6ec94 Merge pull request #1228 from a-wh/main
Fix path for amazon-ssm-agent in base-ec2.ign
2021-08-27 12:31:51 +02:00
Jeremi Piotrowski
9ec3df7f34 Merge pull request #1217 from kinvolk/jepio/switch-docker-pkgs-to-go1.16
switch docker pkgs to go1.16
2021-08-27 11:42:36 +02:00
Dongsu Park
c2d47d6b70 profiles: accept keyword ~arm64 for net-dns/c-ares 1.17.2
Now that net-dns/c-ares was updated to 1.17.2, accordingly update
accept keyword for ~arm64 as well.
2021-08-27 11:41:37 +02:00
Alex White
a24ca3a6e6 Correct path in base-ec2.ign
Fix ExecStart path for amazon-ssm-agent systemd service
2021-08-27 10:30:28 +01:00
Krzesimir Nowak
d79d579e1f Merge pull request #1222 from kinvolk/krnowak/rename-gmerge
coreos-base: Rename gmerge package to emerge-gitclone
2021-08-27 10:52:40 +02:00
Flatcar Buildbot
3565eecfe3 sys-kernel: Upgrade Kernel 5.10.59 to 5.10.61 2021-08-27 07:12:53 +00:00
Krzesimir Nowak
9640fe39f2 coreos-base: Rename gmerge package to emerge-gitclone
We dropped the installation of the gmerge script a while ago, because
it was not used anywhere and that made one script less to port to
python3 at the time of updating portage to a recent version. Now we
only install the emerge-gitclone script, so rename the package to
reflect this fact.
2021-08-27 07:13:28 +02:00
Sayan Chowdhury
e1c78efb86 Merge pull request #1218 from kinvolk/sayan/update-openssl-1.1.1l
dev-libs/openssl: Sync with Gentoo upstream; bump to 1.1.1l
2021-08-27 07:51:03 +05:30
Jeremi Piotrowski
2d0463fc82 sys-apps/ignition: handle Azure Generation 2 provisioning data
This pulls in https://github.com/kinvolk/ignition/pull/24.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-26 11:22:15 +00:00
Kai Lüke
9448c47f2e Merge pull request #1179 from kinvolk/kai/etcd-flannel-multiarch
bump etcd and flannel to the latest versions to get multiarch images for arm64 support
2021-08-26 10:30:41 +02:00
Kai Lueke
fdcc798ee8 dev-db/etcdctl: bump to 3.5.0 2021-08-26 10:29:51 +02:00
Sayan Chowdhury
59380e4011 dev-libs/openssl: Apply Flatcar changes
- Drop binddist from RESTRICT variable
- Drop pkg_postinst
- Create /etc/ssl with tmpfiles (and package it for the SDK).

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-08-26 13:30:20 +05:30
Sayan Chowdhury
6b5d115740 dev-libs/openssl: Sync with Gentoo upstream; bump to 1.1.1l
sync ref: fc60be21e78d4ad0b6a6cec375b66f6673965db6

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-08-26 13:20:40 +05:30
Krzesimir Nowak
ae7ff2c08f Merge pull request #1215 from kinvolk/krnowak/drop-nova-agent
app-emulation/nova-agent: Drop unused and outdated package
2021-08-26 09:26:04 +02:00
Flatcar Buildbot
0b72e38f67 sys-kernel: Upgrade Linux Firmware 20210716 to 20210818 2021-08-26 07:06:30 +00:00
Kai Lueke
0d699bb1d1 sys-apps/ignition: Fix null pointer deref crash for OEM FS
This pulls in
https://github.com/kinvolk/ignition/pull/25
2021-08-25 21:26:50 +02:00
Kai Lueke
a205f58f24 app-admin/etcd-wrapper: bump to 3.5.0 2021-08-24 17:53:46 +02:00
Kai Lueke
91e0a90a44 app-admin/flannel-wrapper: bump to 0.14 2021-08-24 17:53:46 +02:00
Jeremi Piotrowski
2062cbd480 dev-lang/go: remove go1.13 and go1.7 ebuilds
These are no longer used by anything in the tree, after removing old versions
of docker-runc/docker-proxy/containerd.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-24 13:24:00 +00:00
Jeremi Piotrowski
1bc53bf39c app-emulation/docker-runc: remove old version
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-24 13:24:00 +00:00
Jeremi Piotrowski
28f2b152e4 app-emulation/docker-runc: switch to building with go1.16
Upstream builds with go1.16. Additionally fixup the VERSION variable specify the
current Flatcar Docker version 20.10.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-24 13:24:00 +00:00
Jeremi Piotrowski
194291a6e3 app-emulation/docker-proxy: remove old versions
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-24 13:24:00 +00:00
Jeremi Piotrowski
2d352084ec app-emulation/docker-proxy: switch to building with go1.16
Upstream builds go through github.com/docker/docker repo and that builds
with go1.16 with module support disabled.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-24 13:23:18 +00:00
Krzesimir Nowak
acd4548a09 app-emulation/nova-agent: Drop unused and outdated package
I'm not sure if we ever built it - it's not a dependency of anything
at all. Also one of its dependencies, dev-python/pyxenstore, was
dropped in 2014, so the package is broken for about seven years
now. Looks like that the rackspace oem package is rather pulling
nova-agent through the coreos-base/nova-agent-container package.
2021-08-24 12:00:26 +02:00
Jeremi Piotrowski
4b49289cf5 Merge pull request #1212 from ryanm101/EnableFSEncryption
Re-enable  FS_ENCRYPTION. Closes https://github.com/kinvolk/Flatcar/issues/286.
2021-08-24 11:01:01 +02:00
Jeremi Piotrowski
850584d45b app-emulation/containerd: adjust config to prevent runtime_type from being unset
The containerd config works in mysterious ways - sometimes it acts hierarchical
with respect to the section headers, other times not. In this case, setting
runc.options resets all the fields of the runc section, including
'runtime_type'. Having an unset runtime_type causes containerd to fail to spawn
containers (but the daemon itself starts succesfully) returning the error:

    kubelet[13148]: E0823 11:57:17.030551   13148 remote_runtime.go:116] "RunPodSandbox from runtime service failed" err="rpc error: code = InvalidArgument desc = failed to create containerd container: create container failed validation: container.Runtime.Name must be set: invalid argument"

Explicitly set the runtime_type in all containerd configs, and bump the config
version to 2.

Reported as https://github.com/kinvolk/Flatcar/issues/484

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-23 16:28:34 +00:00
Ryan McLean
d5e0de9dc9 Re-enable FS_ENCRYPTION 2021-08-20 20:52:53 +01:00
Aniruddha Basak
aacdb5472f Add app-arch/lbzip2 to the coreos ebuild dependencies 2021-08-20 18:52:39 +00:00
Krzesimir Nowak
214c1da209 Merge pull request #1200 from kinvolk/krnowak/update-wa-linux-agent
app-emulation/wa-linux-agent: Update to 2.3.1.1
2021-08-20 17:47:02 +02:00
Dongsu Park
2887296087 profiles: remove accept_keywords for dev-util/strace
As dev-util/strace is gone, remove accept_keywords as well from profile.
2021-08-20 16:21:44 +02:00
Dongsu Park
5ddbe57d48 dev-util/strace: move to portage-stable
Now that we have dev-util/pkgconfig 0.29.2, there is no need to
keep third-party patch for avoiding cross-build issues in
dev-util/strace. Let's simply drop the patch, and move strace to
portage-stable.
2021-08-20 16:21:08 +02:00
Dongsu Park
06555981bc Merge pull request #1207 from kinvolk/dongsu/delete-sdk-extras
coreos-devel/sdk-extras: delete sdk-extras
2021-08-20 16:03:29 +02:00
Jeremi Piotrowski
9116ccf8ea app-emulation/containerd: remove old versions
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-20 11:31:47 +02:00
Jeremi Piotrowski
d98781487a app-emulation/containerd: switch to building with go1.16
Upstream builds with go1.16 too.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-20 11:31:44 +02:00
Jeremi Piotrowski
e80bee6629 app-emulation/docker-cli: remove GO_BUILDTAGS setting
We now build with go1.16 and the go1.16 tag does not show up anywhere in
the cli repo.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-20 11:31:39 +02:00
Dongsu Park
44ea3e801a coreos-devel/sdk-extras: delete sdk-extras
Apparently the `coreos-devel/sdk-extras` was originally meant to work
as a meta package to pull in all the optional packages in the SDK at once.
It has been unmaintained since 2~3 years, so an attempt of `emerge
coreos-devel/sdk-extras` will give you a huge list of conflicts to
resolve. It is difficult to resurrect sdk-extras at the moment.

Delete `coreos-devel/sdk-extras` completely. Doing that, we can delete
more than 20 other packages from the source tree.
2021-08-19 09:55:43 +02:00
Dongsu Park
1aaee6d3c0 profiles: clean up unnecessary configs
Now that coreos-devel/sdk-extras are gone, delete unnecessary configs
in profiles, for app-portage/repoman, dev-go/glide, dev-go/godep,
dev-python/awscli, dev-python/botocore, dev-python/s3transfer.
2021-08-19 09:50:54 +02:00
Dongsu Park
63745e2a95 coreos-base/hard-host-depends: remove obsolete comments
Now that coreos-devel/sdk-extras are deleted, we do not need to keep
obsolete comments about sdk-extras.
2021-08-19 09:50:10 +02:00
Dongsu Park
6848f95797 app-portage/repoman: delete repoman
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-19 09:47:56 +02:00
Krzesimir Nowak
33943a3833 app-emulation/wa-linux-agent: Update to 2.3.1.1
This version has an officially documented support for python3, so it
plays along our plans of removing python2 in favor of python3. When
the switch actually happens, we will need to update the ebuild to
mention the correct path to python modules. The path contains python
version, which is a hindrance. Would be nice to have it hidden behind
some variable.

There is also a version 2.4.0.2, but it's marked as a prerelease on
github, so decided to package 2.3.1.1 instead.
2021-08-19 09:30:49 +02:00
Jeremi Piotrowski
ff2481c2ed app-emulation/docker{,-cli}: switch to go1.16
Upstream has switched to go 1.16, but still doesn't use go modules. The ebuilds
needed fixing up after the automated PR was created.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-18 11:49:49 +02:00
Flatcar Buildbot
a6aa1a604d app-emulation: Upgrade Docker 20.10.7 to 20.10.8 2021-08-18 07:44:50 +00:00
Kai Lueke
a8352fc7a9 Compile Azure OEM contents for all boards
While not used at the moment we still can lift the restriction to only
compile for the amd64 board.
2021-08-16 18:52:37 +02:00
Flatcar Buildbot
97a3d1282a sys-kernel: Upgrade Kernel 5.10.58 to 5.10.59 2021-08-16 07:11:04 +00:00
Sayan Chowdhury
df7015f381 Merge pull request #1189 from kinvolk/sayan/update-systemd-247.9
sys-apps/systemd: Updates to v247.9
2021-08-13 17:40:01 +05:30
Dongsu Park
ae77d17c80 Merge pull request #1183 from kinvolk/dongsu/mit-krb5-1.19.2
app-crypt/mit-krb5: update to 1.19.2
2021-08-13 11:23:42 +02:00
Flatcar Buildbot
f877517682 sys-kernel: Upgrade Kernel 5.10.57 to 5.10.58 2021-08-13 07:10:35 +00:00
Dongsu Park
7685839a2e 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.

Based on 64e33c9f826d8fd951fd58ba1ed70debaf65be8d .
2021-08-13 08:54:02 +02:00
Dongsu Park
78fd33033f app-crypt/mit-krb5: update to 1.19.2
Update app-crypt/mit-krb5 to 1.19.2 mainly to address CVE-2021-36222.

Gentoo ref: cce302e49bbc62cbce863f756ea8252e57259a99
2021-08-13 08:54:02 +02:00
Dongsu Park
075ef5dbe6 Merge pull request #1148 from kinvolk/containerd-1.5.5-main
Upgrade Containerd in main from 1.5.4 to 1.5.5
2021-08-13 08:49:34 +02:00
Sayan Chowdhury
977e6d9845 Merge pull request #1176 from kinvolk/linux-5.10.57-main
Upgrade Linux Kernel in main from 5.10.56 to 5.10.57
2021-08-13 00:06:30 +05:30
Sayan Chowdhury
f977110d3d sys-apps/systemd: Updates to v247.9
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-08-13 00:01:24 +05:30
Flatcar Buildbot
bb01f17d4a app-emulation: Upgrade Containerd 1.5.4 to 1.5.5 2021-08-12 17:46:22 +02:00
Jeremi Piotrowski
faf23d9488 Merge pull request #931 from jepio/for-main/cgroupv2+docker-20.10
Move to unified cgroupv2 hierarchy and upgrade Docker to 20.10.
2021-08-12 17:33:08 +02:00
Jeremi Piotrowski
56e10bb557 app-emulation/containerd: add config file for use during migration
The SystemdCgroup=true setting is incompatible with kubelet
cgroupDriver: cgroupfs. So to prevent kube clusters from failing, we
will be freezing a nodes config.toml during an update. For that purpose,
we install a second configuration file that can then be selected using a
systemd drop-in unit.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 15:29:34 +00:00
Mathieu Tortuyaux
fbeae5cc8e Merge pull request #1181 from kinvolk/tormath1/fix-flannel-selinux
sec-policy/selinux-virt: add rules to run `flannel` with SELinux enforced mode
2021-08-12 15:37:32 +02:00
Jeremi Piotrowski
ea7cfa336e coreos-base/coreos-init: add motd warning when cgroupv1 is found
This pulls in https://github.com/kinvolk/init/pull/44

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 12:00:39 +00:00
Jeremi Piotrowski
db724e4706 coreos-base/update_engine: add postinstall hook to stay on cgroupv1
This pulls in https://github.com/kinvolk/update_engine/pull/13

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 12:00:39 +00:00
Jeremi Piotrowski
330595c9d0 sys-apps/systemd: Switch to unified cgroup hierarchy
Now that Docker has been updated to 20.10, we can use cgroupv2 so have
systemd mount the unified cgroup hierarchy by default. Other ways of
achieving the same would have been to pass 'systemd.unified_cgroup_hierarchy=1'
on the kernel cmdline, but this way the change propagates nicely to all
OEM consumers.

Signed-off-by: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
2021-08-12 12:00:39 +00:00
Jeremi Piotrowski
61cac349d9 app-torcx/docker: Remove torcx packages for older docker versions
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 12:00:39 +00:00
Jeremi Piotrowski
eff02fb3f0 .github: Adapt docker-release-main action to Docker 20
The upstream docker repository location has changed to docker/docker.
Additionally, the cli component has been split out which which requires
fetching two hashes and updating two ebuilds. We also took the chance to
align the ebuild with gentoo's, which means there are is no more live ebuild
and no symlink.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 12:00:39 +00:00
Jeremi Piotrowski
6e085a168e coreos-base/flatcar-eks: update supported kubernetes versions for cgroupv2
We are switching flatcar to cgroupv2 which is support by docker 20.10 and
kubernetes 1.19. This requires setting the systemd cgroup driver in the kubelet
config.

Due to the unified cgroup hierarchy, kubernetes <1.19 will not work so
remove all older versions.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 12:00:39 +00:00
Jeremi Piotrowski
31c8a6afe8 app-torcx/docker: Add a Docker 20.10 torcx image
Compared to previous torcx images the docker-cli package is a separate
package, following upstream Docker repo layout changes.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 12:00:39 +00:00
Jeremi Piotrowski
742c507270 app-emulation/docker: Apply Flatcar patches
The patches do the following:

* install flatcar specific wrappers and systemd config
* force some USE flags to default on
* allow injecting CFLAGS/LDFLAGS so that torcx can work
* force building with go1.13 (like upstream does) - this won't be
  necessary next time because docker master already uses go1.16
2021-08-12 09:58:56 +00:00
Jeremi Piotrowski
ee672bcdb9 app-emulation/docker: Sync from Gentoo
For update to docker-20.10.7.

gentoo/portage commit 0ed05ce0a8f0d1c3dfa6151e7ebb25b67c4aae16

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 09:58:53 +00:00
Jeremi Piotrowski
eb6661756d app-emulation/docker-proxy: Update to 0.8.0_p20210525
This is the version needed by docker 20.10.7. ROADMAP.md doesn't exist so it
has been removed from src_install.

Signed-off-by: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
2021-08-12 09:57:03 +00:00
Jeremi Piotrowski
30a116d2e7 app-emulation/docker-proxy: Freeze version 0.8.0_p20180709
This is the version used by docker-19.03. We will be updating the live
ebuild to build docker 20.10 dependencies.

Signed-off-by: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
2021-08-12 09:57:03 +00:00
Jeremi Piotrowski
817ad4c0db app-emulation/docker-cli: Apply Flatcar patches
We use coreos-go* eclass so that we can override several environment
variables and build with the same go version as docker upstream. These
changes are modeled after what was previously done in app-emulation/docker,
the cli ebuild has only been split out since v20.10.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 09:57:03 +00:00
Jeremi Piotrowski
b93160fedf app-emulation/docker-cli: Import from Gentoo
Docker upstream split the cli component into a separate repo, so there is
a separate ebuild that builds the docker utility. This is a prerequisite
of the update of docker to 20.10.

This is an import from portage commit 69d01a4273a556b1205a7a575cb3811ab7e2443d.

Signed-off-by: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
2021-08-12 09:57:03 +00:00
Flatcar Buildbot
906e4c99d3 sys-process/tini: Apply Flatcar patches
We use a custom build system to remove the cmake dependency and hardcode
relevant configuration.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 09:57:03 +00:00
Jeremi Piotrowski
5b4f80d2b2 sys-process/tini: Sync with Gentoo upstream
For tini-0.19. Upstream commit 2e10a957da8a8a93c1f5d82011e3f6692f7b765c.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-12 09:57:03 +00:00
Kai Lüke
1da2d646da Merge pull request #1180 from kinvolk/kai/new-subkey
coreos-base/coreos-init: embed new subkey in flatcar-install
2021-08-12 11:30:16 +02:00
Dongsu Park
e724ec668b Merge pull request #1169 from kinvolk/runc-1.0.1-main
Upgrade Runc in main from 1.0.0 to 1.0.1
2021-08-12 10:51:15 +02:00
Dongsu Park
bdd9f29187 app-emulation/docker-runc: remove obsolete comments
Now that runc version follows simple semver semantics, we do not have to
care about number of patches up to an rc version. Remove the obsolete
comments.
2021-08-12 10:04:07 +02:00
Sayan Chowdhury
75f9c43ee0 Merge pull request #1171 from kinvolk/sayan/move-expat-to-portage
dev-libs/expat: Remove patches and move to portage-stable
2021-08-12 09:47:10 +05:30
Kai Lueke
c9e7e6d245 coreos-base/coreos-init: embed new subkey in flatcar-install
This pulls in
https://github.com/kinvolk/init/pull/45
but from a backport branch "flatcar-2905-backport".
2021-08-11 18:15:55 +02:00
Mathieu Tortuyaux
8e0014e814 sec-policy/selinux-virt: allow flannel to write into /run
flannel will write into /run/flannel/... so we need to provide
correct labelling for dir created by docker daemon

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-08-11 17:53:58 +02:00
Mathieu Tortuyaux
0cde021595 sec-policy/selinux-virt: allow flanneld to load module
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-08-11 17:50:29 +02:00
Dongsu Park
abf87f84dd Merge pull request #1160 from kinvolk/rust-1.54.0-main
Upgrade dev-lang/rust in main from 1.53.0 to 1.54.0
2021-08-11 17:06:12 +02:00
Mathieu Tortuyaux
5c5b78cb8d sec-policy/selinux-virt: fix flannel CNI creation
flannel uses an init container to pull CNI from container to the host
system in `/etc/cni`.
With SELinux, the permission is denied because `/etc/cni` is labelled
with `etc_t` so it can't be access by Docker since it expects `svirt_lxc_file_t`.

Using `filetrans_pattern` we can define a mechanism to create `/etc/cni`
with the correct labels even if it's not yet created - which avoid to
run `restorecon` on `/etc/cni`.

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-08-11 16:24:54 +02:00
Flatcar Buildbot
06b6e84d5c app-emulation: Upgrade Runc 1.0.0 to 1.0.1 2021-08-10 14:23:03 +02:00
Kai Lüke
37e0e8d92c Merge pull request #1170 from kinvolk/kai/sssd-faillock
sys-apps/baselayout: fix sssd LDAP auth with sudo
2021-08-09 17:40:11 +02:00
Kai Lueke
261ec85cfd sys-apps/baselayout: fix sssd LDAP auth with sudo
This pulls in
https://github.com/kinvolk/baselayout/pull/18
2021-08-09 17:38:22 +02:00
Flatcar Buildbot
6f654df672 dev-lang: Upgrade Go 1.16.6 to 1.16.7 2021-08-09 07:25:39 +00:00
Flatcar Buildbot
7ec275e5f6 sys-kernel: Upgrade Kernel 5.10.56 to 5.10.57 2021-08-09 07:12:28 +00:00
Dongsu Park
942d66e678 profiles: delete ccache completely
As we do not use ccache at all, we should simply clean up ccache from
all of the code, to shrink size of the SDK.
2021-08-06 11:35:06 +02:00
Sayan Chowdhury
7869f54c9c Merge pull request #1152 from kinvolk/sayan/update-nvidia-470.57.02
nvidia-{drivers, metadata}: Update NVIDIA to 470.57.02
2021-08-06 14:37:10 +05:30
Sayan Chowdhury
86e391de6d Merge pull request #1166 from kinvolk/linux-5.10.56-main
Upgrade Linux Kernel in main from 5.10.55 to 5.10.56
2021-08-06 11:22:16 +05:30
Sayan Chowdhury
6c24e9d8cf dev-libs/expat: Remove patches and move to portage-stable
The patches applies does not make sense to be removed, hence it would
be better to move `expat` back to portage-stable

Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
2021-08-06 05:40:34 +00:00
Thilo Fromm
5210371270 sys-apps/glibc: add Flatcar changes for 2.33-r5
- 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

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.

Based on commit 8d040f93c289.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
Signed-off-by: Dongsu Park <dongsupark@microsoft.com>
2021-08-05 09:53:52 +02:00
Dongsu Park
ce63084f8e sys-libs/glibc: sync with Gentoo for 2.33-r5
Update glibc to 2.33-r5, mainly to address CVE-2021-35942 .

Gentoo ref: 5cde29d04e2da37ded900130f0f3dea13fcc350f
2021-08-05 09:38:10 +02:00
Flatcar Buildbot
c72b4d1450 sys-kernel: Upgrade Kernel 5.10.55 to 5.10.56 2021-08-05 07:10:12 +00:00
Jeremi Piotrowski
7cf88348f3 Merge pull request #1162 from kinvolk/jepio/amazon-ssm-agent-xcompile
amazon-ssm-agent: re-add dependency to oem-ec2-compat
2021-08-04 10:20:15 +02:00
Dongsu Park
ae2e9e0376 dev-lang/rust: adjust libressl patch for Rust 1.54
We need to adjust 1.47.0-libressl.patch to Rust 1.54, to fix the build
error caused by the invalid patch.
2021-08-04 10:19:14 +02:00
Flatcar Buildbot
89e18d585e dev-lang: Upgrade dev-lang/rust 1.53.0 to 1.54.0 2021-08-04 10:19:07 +02:00
Sayan Chowdhury
4052dc2ce5 Merge pull request #1151 from kinvolk/sayan/update-libarchive-3.5.1
profiles: Remove libarchive-3.3.1 from ACCEPT_KEYWORDS
2021-08-03 20:15:07 +05:30
Sayan Chowdhury
7d0075e163 Merge pull request #1150 from kinvolk/sayan/update-expat-2.4.1
dev-libs/expat: Sync with Gentoo upstream; updates to 2.4.1
2021-08-03 20:14:36 +05:30
Sayan Chowdhury
2726b348d6 profiles: Remove libarchive-3.3.1 from ACCEPT_KEYWORDS
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-08-03 19:50:09 +05:30
Sayan Chowdhury
ae033984a8 Merge pull request #1157 from kinvolk/linux-5.10.55-main
Upgrade Linux Kernel in main from 5.10.52 to 5.10.55
2021-08-03 19:33:20 +05:30
Jeremi Piotrowski
cbc6a8fb90 coreos-base/oem-ec2-compat: make ssm agent conditional on ec2
and properly include all deps in RDEPEND.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-03 13:32:26 +00:00
Jeremi Piotrowski
26767b01aa Revert "Revert "Build app-emulation/amazon-ssm-agent with EC2 AMI images""
Now that the OEM partition is a btrfs partition with compression, we have
enough space to install ssm agent.

This reverts commit b6abb59c544be13e923a3e7240b5c9395c281fca.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-03 12:55:42 +00:00
Jeremi Piotrowski
0875344378 app-emulation/amazon-ssm-agent: cross-compile and use correct go version
The ebuild was missing a call to go_export() which exports GOARCH, and so was
always built for host architecture. While COREOS_GO_VERSION was specified as
go1.12, src_compile() has to use '${EGO}' to make use of it, so we were
building with go1.16 (latest).  Upstream builds with 1.12 for this version, so
we will do the same.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-08-03 12:33:48 +00:00
Jeremi Piotrowski
ba7b460518 Merge pull request #1130 from kinvolk/jepio/arm64-sdk-support
enable arm64 SDK bootstrap
2021-08-03 14:28:15 +02:00
Kai Lüke
1b2ab70890 sys-kernel/bootengine: finish network-cleanup.service before rootfs switch
This pulls in
https://github.com/kinvolk/bootengine/pull/27
2021-08-03 10:45:23 +02:00
Kai Lüke
2148ced2f2 Merge pull request #1153 from kinvolk/kai/ignition-oem-auto
sys-apps/ignition: Ignore filesystem format mismatches for the OEM partition
2021-08-03 10:39:59 +02:00
Kai Lüke
9139387127 sys-apps/ignition: Ignore filesystem format mismatches for the OEM partition
This pulls in
https://github.com/kinvolk/ignition/pull/22
2021-08-03 10:39:40 +02:00
Dongsu Park
c449236fb1 Merge pull request #934 from kinvolk/dongsu/delete-boost-build-1.67
dev-util/boost-build: delete boost-build 1.67
2021-08-03 10:26:59 +02:00
Sayan Chowdhury
39db514ce3 dev-libs/expat: Apply Flatcar changes
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-08-02 22:22:14 +05:30
Sayan Chowdhury
564f8f7b1d dev-libs/expat: Sync with Gentoo upstream; updates to 2.4.1
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-08-02 22:22:14 +05:30
Sayan Chowdhury
af9d9bc3ca nvidia-{drivers, metadata}: Update NVIDIA to 470.57.02
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-08-02 22:21:24 +05:30
Dongsu Park
349a9ba532 Merge pull request #1129 from kinvolk/dongsu/github-actions-exclude-rcbeta
.github: list only ebuilds with a unique VERSION_OLD for runc
2021-08-02 14:12:17 +02:00
Kai Lüke
3088fd3cac Merge pull request #1138 from kinvolk/kai/dm-verity-corruption-panic
sys-kernel/bootengine: issue a kernel panic on dm-verity corruption
2021-08-02 13:34:24 +02:00
Kai Lüke
ee14557288 sys-kernel/bootengine: issue a kernel panic on dm-verity corruption
This pulls in
https://github.com/kinvolk/bootengine/pull/26
2021-08-02 13:34:08 +02:00
Dongsu Park
40f5f348af Merge pull request #1127 from kinvolk/firmware-20210716-main
Upgrade Linux Firmware in main from 20210511 to 20210716
2021-08-02 12:26:29 +02:00
Flatcar Buildbot
736682d437 sys-kernel: Upgrade Kernel 5.10.52 to 5.10.55 2021-07-31 07:10:22 +00:00
Kai Lüke
eb06982881 Merge pull request #1146 from kinvolk/kai/gce-oem-net-admin
coreos-base/oem-gce: grant CAP_NET_ADMIN to set routes for LB
2021-07-30 18:31:08 +02:00
Mathieu Tortuyaux
22c2e57360 Merge pull request #1149 from kinvolk/tormath1/fix-457
docker/torcx: disable SELinux by default on `dockerd` wrapper script
2021-07-30 15:00:12 +02:00
Dongsu Park
b37bce7dff sys-kernel/coreos-firmware: fix builds by updating CXGB version
Fix build failures by updating CXGB firmware version to 1.26.0.0.
2021-07-30 11:03:41 +02:00
Mathieu Tortuyaux
be50e579c8 app-emulation/docker: update wrapper to disable selinux
this is now the default behavior - since this script is deprecated
we do a minimum update on it

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-30 10:34:03 +02:00
Mathieu Tortuyaux
501d937d7e app-arch/torcx: update wrapper to disable selinux
it's the default behavior now. Since this script is deprecated, we
do a minimum change on it.

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-30 10:33:36 +02:00
Jeremi Piotrowski
b42cfedcf5 profiles: use correct lib64 path to sysroot-wrappers
Sysroot-wrappers contains binaries installed to /usr/lib64/sysroot-wrappers,
but the profile referenced them through the 'lib -> lib64' symlink. Stop
relying on that symlink, which is not present in arm64 profiles, and is
not part of 17.1 amd64 profiles.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-07-30 07:43:15 +00:00
Kai Lüke
764d5c6baf coreos-base/coreos-init: prevent networkd interference with cilium_vxlan
This pulls in
https://github.com/kinvolk/init/pull/43
2021-07-29 20:01:50 +02:00
Kai Lüke
daf0a01b55 coreos-base/oem-gce: grant CAP_NET_ADMIN to set routes for LB
With the switch from rkt to systemd-nspawn the ability for the service
to set the routing entries for the TCP load balancer got lost,
resulting in an unreachable LB as reported in
https://github.com/kinvolk/Flatcar/issues/459

The fix also reported there is to retain CAP_NET_ADMIN when starting
the service.
2021-07-29 15:30:39 +02:00
Flatcar Buildbot
990e4f82b8 sys-kernel: Upgrade Linux Firmware 20210511 to 20210716 2021-07-29 07:07:37 +00:00
Kai Lüke
622a99058c coreos-base/update_engine: support btrfs as /usr filesystem
This pulls in
https://github.com/kinvolk/update_engine/pull/11
2021-07-28 13:29:02 +02:00
Kai Lüke
ab2467e547 sys-apps/seismograph: support btrfs in rootdev
This pulls in
https://github.com/kinvolk/seismograph/pull/6
2021-07-28 13:28:55 +02:00
Kai Lüke
e45a6140d0 sys-apps/ignition: support btrfs on the OEM partition
This pulls in
https://github.com/kinvolk/ignition/pull/21
2021-07-28 13:28:45 +02:00
Kai Lüke
bdc7f36d4f sys-kernel/coreos-modules: use 4k pages for arm64
Btrfs filesystems do not support a non-standard 64k page size on arm64
when the filesystem was created by a 4k page size system.

Use the default page size for arm64 to ensure compatibility with
btrfs filesystems created by amd64 systems.
2021-07-28 13:28:45 +02:00
Kai Lüke
c01560ba63 coreos-base/coreos-init: support btrfs on the OEM partition
This pulls in
https://github.com/kinvolk/init/pull/42
2021-07-28 13:28:28 +02:00
Kai Lüke
42b4f612ca sys-kernel/bootengine: support btrfs /usr filesystems
Pulls in https://github.com/kinvolk/bootengine/pull/25
2021-07-28 13:28:10 +02:00
Kai Lüke
29f2903c87 sys-kernel/coreos-modules: switch to gzip/zstd compression
With the default gzip compression the 60 MB limit for the vmlinuz
bundle of kernel+initramfs was reached. The limit comes from the size
of the /boot partition which is 128 MB large and the kernel needs to
fit twice, in addition to GRUB.

Use zstd for the initramfs as it provides a similar speed but better
compression. For the kernel we can't switch yet to zstd for arm64
but for amd64 it works.
2021-07-27 14:48:26 +02:00
Dongsu Park
08ea76673f .github: list only ebuilds with a unique VERSION_OLD
Due to unnecessary wildcard listings, ebuild files including all rc or
beta are being listed. Since `VERSION_OLD` is already generated as a
unique version, we do not need to list multiple files to filter by
running `head -n1` etc. We just need to use only the specific ebuild.
Simply list only the unique ebuild file.
2021-07-22 15:31:20 +02:00
Dongsu Park
e2cd417df5 .github: make correct input for runc versions
Before passing runc versions to `sed '/-/!{s/$/_/}'`, we need to replace
`_` with `-`, because runc tarball files already have names like
`1.0.0_rc2`. Without the fix, version sort would `1.0.0` come before
`1.0.0_rc2`, which is not expected in the later steps.
2021-07-22 12:41:45 +02:00
Sayan Chowdhury
1b068b5186 Merge pull request #1126 from kinvolk/sayan/update-systemd-247.7
sys-apps/systemd: Bump to v247.7
2021-07-21 16:50:28 +05:30
Flatcar Buildbot
e1e7bd2c2c sys-kernel: Upgrade Kernel 5.10.49 to 5.10.52 2021-07-21 07:10:12 +00:00
Sayan Chowdhury
cf97d4ad91 sys-apps/systemd: Bump to v247.7
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-07-20 23:29:14 +05:30
Dongsu Park
70bfaff439 app-emulation/containerd: update to 1.5.4
Update app-emulation/containerd to 1.5.4, mainly to address
CVE-2021-32760.
2021-07-20 16:36:48 +02:00
Dongsu Park
2df538b480 Merge pull request #1115 from kinvolk/go-1.16.6-main
Upgrade Go in main from 1.16.5 to 1.16.6
2021-07-19 18:28:20 +02:00
Jeremi Piotrowski
0a1b0be7f3 dev-lang/rust: don't enable aarch64 cross target when host is aarch64
This does not work because the host and cross rust targets share the
same name. This needs to be reworked to (potentially) enable x86 cross
targets for aarch64 targets.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-07-19 15:09:01 +00:00
Jeremi Piotrowski
0064e6b3ec profiles: remove "pc xen" from arm64 GRUB_PLATFORMS
grub refuses to build these targets when host is arm64.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-07-19 15:08:59 +00:00
Jeremi Piotrowski
a90c4265bf profiles: move BOOSTRAP_USE=cros_host to arch indepenent part of sdk profile
So that it can apply to both arm64 and amd64 sdk profiles.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-07-19 15:08:56 +00:00
Jeremi Piotrowski
d460bf3a8d coreos-base/update_engine: add glib-utils to (B)DEPEND
glib-utils are used during the build so they need to be part of host
dependencies for update_engine. This only really pops up during a repeat
bootstrap, when update_engine is being built from source but glib has
been installed from a binary. BDEPEND would be the correct variable but
that requires EAPI=7, so additionally added it to DEPEND for now.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-07-19 15:08:54 +00:00
Jeremi Piotrowski
44fcb0513a mark platform specific host/sdk dependencies as amd64/!arm64
kola-data and google-cloud-sdk install pre-built amd64 binaries, so
there's no point installing them right now. Both could be made to work
at a later time. iucode and syslinux and are x86 specific and won't
build. selinux related packages *currently* don't work/build on arm64
but could be made to work.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-07-19 15:08:51 +00:00
Jeremi Piotrowski
0aaa9766c7 keyword sdk dependencies for arm64
Where the packages are part of coreos-overlay, I keyworded the ebuilds
directly to the same level of stability as amd64. Other packages have
been keyworded through the profile, as close to the amd64 level as I
could manage.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-07-19 15:08:48 +00:00
Dongsu Park
065661a751 Merge pull request #1113 from kinvolk/dongsu/open-vm-tools-11.3.0
app-emulation/open-vm-tools: update to 11.3.0
2021-07-19 12:01:03 +02:00
Flatcar Buildbot
e03a28561c dev-lang: Upgrade Go 1.16.5 to 1.16.6 2021-07-19 07:26:12 +00:00
Mathieu Tortuyaux
abd1e615c0 Merge pull request #1112 from kinvolk/containerd-1.5.3-main
Upgrade Containerd in main from 1.5.2 to 1.5.3
2021-07-16 15:52:27 +02:00
Jeremi Piotrowski
23d3861740 Merge pull request #1105 from kinvolk/sayan+jepio/update-dracut
Sayan+jepio/update dracut

Closes kinvolk/Flatcar#375
2021-07-16 15:47:17 +02:00
Dongsu Park
688eed80f3 coreos-base/oem-vmware: update to 11.3.0
Update oem-vmware to 11.3.0, corresponding to the update of
open-vm-tools to 11.3.0.
2021-07-16 13:54:28 +02:00
Dongsu Park
53983eb353 app-emulation/open-vm-tools: update to 11.3.0
Update open-vm-tools 11.3.0,
https://github.com/vmware/open-vm-tools/releases/tag/stable-11.3.0 .
Update also the build number to 18090558.
2021-07-16 13:53:51 +02:00
Mathieu Tortuyaux
aa3ad05497 Merge pull request #1048 from kinvolk/tormath1/selinux
selinux: upgrade selinux libs
2021-07-16 11:25:10 +02:00
Flatcar Buildbot
4309eaab99 app-emulation: Upgrade Containerd 1.5.2 to 1.5.3 2021-07-16 08:10:14 +00:00
Mathieu Tortuyaux
6841de885a Revert "app-emulation/docker: disable SELinux"
This reverts commit 956f9757d45b7df260ed0e78213e1ad96c7409eb.
2021-07-16 10:04:03 +02:00
Sayan Chowdhury
2a3a1c8bc8 sys-apps/dbus: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-07-16 10:04:02 +02:00
Sayan Chowdhury
d3d56cda69 sys-apps/dbus: Sync with Gentoo upstream
Updates to dbus-1.12.20-r1

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-07-16 10:04:02 +02:00
Mathieu Tortuyaux
8bd2eefc3f app-admin/setools: remove package
from 4.x setools is a pure python script, we won't include it
in Flatcar anymore

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-16 10:04:02 +02:00
Mathieu Tortuyaux
d86d08d640 profiles/coreos/amd64: enable selinux for runc
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-16 10:04:02 +02:00
Mathieu Tortuyaux
c56eec4bb4 eclass: move selinux-policy-2 to ::portage-stable
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-16 10:04:02 +02:00
Mathieu Tortuyaux
0ead201568 sec-policy/selinux-unconfined: sync with upstream
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-16 10:04:02 +02:00
Mathieu Tortuyaux
e2afa149cb sec-policy/selinux-virt: apply flatcar changes
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-16 10:04:02 +02:00
Mathieu Tortuyaux
e02947a905 sec-policy/selinux-virt: sync with upstream
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-16 10:04:01 +02:00
Mathieu Tortuyaux
4d6ff7cfca sec-policy/selinux-base-policy: flatcar changes
- run sshd (and child) as unconfined_t
- add init.patch to allow execute_no_trans,map and
exec from init to unconfined
- add AVC patch for local login and journald

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-16 10:04:01 +02:00
Mathieu Tortuyaux
d819e2afa4 sec-policy/selinux-base-policy: sync with upstream
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-16 10:03:10 +02:00
Mathieu Tortuyaux
e472af562e sec-policy/selinux-base: apply flatcar changes
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-16 10:03:10 +02:00
Jeremi Piotrowski
743f86d4da sys-kernel/coreos-kernel: strip ROOT from TMPDIR before running dracut
Update-bootengine chroots into the sysroot and runs dracut from there.
Dracut 053 has revised TMPDIR handling and the portage TMPDIR prefixed
with ROOT leaks into the chroot. This causes dracut to abort during
setup with the error message "invalid tmpdir".

Override TMPDIR before running update-bootengine to allow dracut to
function.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-07-15 13:40:50 +00:00
Jeremi Piotrowski
68f2867457 sys-kernel/dracut: Apply Flatcar patches to 053
Flatcar uses custom networking scripts in initramfs, so the dracut iscsi
module needs to be patched to account for that.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-07-15 13:40:50 +00:00
Sayan Chowdhury
033048444f sys-kernel/dracut: Apply Flatcar patches
Add Flatcar specific patch to enable the iscsi module

Flatcar uses its own network module instead of the Dracut one, but the
iscsi module depends on the network. So, in order to enable the iscsi
module, we need to patch the dependency

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-07-15 13:40:50 +00:00
Sayan Chowdhury
2a19f3cd76 sys-kernel/dracut: Sync with Gentoo upstream
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-07-15 13:40:50 +00:00
Sayan Chowdhury
3f857f9f2a Merge pull request #1099 from peanutduck/ticket_361
net-misc/curl: enable telnet protocol support
2021-07-15 13:11:59 +05:30
Dongsu Park
6c0742bf07 Merge pull request #932 from kinvolk/dongsu/wget-ssl
profiles: force to use ssl USE flag for wget
2021-07-15 09:39:41 +02:00
Sayan Chowdhury
31ce217f6a Merge pull request #1104 from kinvolk/linux-5.10.49-main
Upgrade Linux Kernel in main from 5.10.46 to 5.10.49
2021-07-15 10:55:24 +05:30
Jeremi Piotrowski
40328de04b Merge pull request #929 from wernerb/add-mdio-bcm
Enable MDIO_BCM_UNIMAC for arm64
2021-07-13 09:58:28 +02:00
Flatcar Buildbot
70cb0ed335 sys-kernel: Upgrade Kernel 5.10.46 to 5.10.49 2021-07-12 07:15:21 +00:00
peanutduck
b1fa2b24ee net-misc/curl: enable telnet protocol support
Add telnet useflag directly in the package.use file
2021-07-08 23:10:12 +08:00
Mathieu Tortuyaux
92bc08519c Merge pull request #1093 from kinvolk/tormath1/libgcrypt-1.9.3
profiles: accept ~amd64 & ~arm64 for libgcrypt-1.9.3
2021-07-08 09:47:59 +02:00
Mathieu Tortuyaux
fe107d3408 profiles: accept ~amd64 & ~arm64 for libgcrypt-1.9.3
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-08 09:45:07 +02:00
Kai Lüke
c2b0b0cc7e coreos-base/coreos-init: add udev systemd tag for Azure storage devices
This pulls in
https://github.com/kinvolk/init/pull/41
2021-07-07 12:25:46 +02:00
Mathieu Tortuyaux
1219a8ff35 sec-policy/selinux-base: sync with the upstream
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-06 15:57:28 +02:00
Mathieu Tortuyaux
b7419c3548 sys-libs/libsemanage: apply flatcar changes
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-06 15:57:28 +02:00
Mathieu Tortuyaux
5738da828c sys-libs/libsemanage: sync with the upstream
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-06 15:57:28 +02:00
Mathieu Tortuyaux
522387fa10 sys-libs/libselinux: apply flatcar changes
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-06 15:57:28 +02:00
Mathieu Tortuyaux
9aecd8fc33 sys-libs/libselinux: sync with upstream
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-06 15:57:28 +02:00
Mathieu Tortuyaux
a693d478e1 sys-apps/policycoreutils: apply flatcar changes
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-06 15:57:28 +02:00
Mathieu Tortuyaux
c172da732c sys-apps/policycoreutils: sync with upstream
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-06 15:57:27 +02:00
Mathieu Tortuyaux
17d538681e sys-apps/checkpolicy: apply flatcar changes
backported from CoreOS commits

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-06 15:57:27 +02:00
Mathieu Tortuyaux
3b1534f9da sys-apps/checkpolicy: sync with the upstream
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-07-06 15:57:27 +02:00
Dongsu Park
8f82c06a48 app-admin/updateservicectl: sync with current main - 2021-07-05
Update commit to 6a4ff4ca879082c07353dd379439c437cbe27e18, to sync with
the current main branch.
Pulls in https://github.com/kinvolk/updateservicectl/pull/6 .

Also update Go import paths to `github.com/kinvolk/updateservicectl`.

Also set `COREOS_GO_GO111MODULE=on` because updateservicectl now relies
on Go module.
2021-07-06 12:31:13 +02:00
Dongsu Park
37eeb0f666 Merge pull request #1068 from kinvolk/rust-1.53.0-main
Upgrade dev-lang/rust in main from 1.52.1 to 1.53.0
2021-07-06 11:43:31 +02:00
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
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
fc048ca53c dev-lang: Upgrade dev-lang/rust 1.52.1 to 1.53.0 2021-07-05 12:59:07 +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
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
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
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
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
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
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
169d025f84 Revert "profiles: Update the accept keywords for curl 7.76.1"
This reverts commit 8d56fd17957540e764ca491285776d2dbb73c38e.
2021-06-22 11:55:13 +02:00
Flatcar Buildbot
8375a98a76 sys-kernel: Upgrade Kernel 5.10.43 to 5.10.45 2021-06-19 07:12:03 +00:00
Iago López Galeiras
9a5b486219 Merge pull request #1055 from kinvolk/iaguis/remove-nnp-patch 2021-06-15 16:57:35 +02:00
Iago Lopez Galeiras
3f354a1114 app-emulation/docker: disable SELinux
We disable SELinux because Flatcar doesn't properly support it and it
was causing labeling problems when running runc containers with
NoNewPrivileges or seccomp.
2021-06-14 16:23:00 +02:00
Iago Lopez Galeiras
9b18f05723 app-emulation/runc: remove patches disabling NNP and seccomp
These were included as a workaround for SELinux issues on Flatcar.
However, they also disable NoNewPrivileges and seccomp support, which
reduces security.

Instead, we'll disable SELinux support in the Docker daemon in the next
commit.
2021-06-14 16:22:55 +02:00
Flatcar Buildbot
5575a1bc42 sys-kernel: Upgrade Kernel 5.10.42 to 5.10.43 2021-06-11 07:12:11 +00:00
Sayan Chowdhury
b6435d8d5a Merge pull request #1047 from kinvolk/linux-5.10.42-main
Upgrade Linux Kernel in main from 5.10.41 to 5.10.42
2021-06-11 11:00:55 +05:30
Flatcar Buildbot
93e421ae8b dev-lang: Upgrade Go 1.16.4 to 1.16.5 2021-06-07 07:58:17 +00:00
Flatcar Buildbot
a40e21c292 sys-kernel: Upgrade Kernel 5.10.41 to 5.10.42 2021-06-03 07:40:08 +00:00
Dongsu Park
84a931cb50 app-arch/torcx: update to 0.2.0-r4
Pulls in https://github.com/kinvolk/torcx/pull/10 .

It is mainly to address security issues like CVE-2020-29652 and
CVE-2021-31525 .
2021-06-01 10:29:08 +02:00
Dongsu Park
39b7edb4b2 app-arch/torcx: fix Go import path
Go import path of torcx has changed from coreos to flatcar-linux,
aef371c76b

So we need to fix the import path also in torcx ebuilds.
Otherwise build will simply fail due to wrong import paths.
2021-06-01 10:27:45 +02:00
Dongsu Park
54735b6a95 Merge pull request #1035 from kinvolk/dongsu/libxml2-2.9.12
profiles: accept keywords ~amd64 and ~arm64 for libxml2 2.9.12-r2
2021-06-01 09:29:31 +02:00
Flatcar Buildbot
16228d8bd4 sys-kernel: Upgrade Kernel 5.10.39 to 5.10.41 2021-05-29 07:40:07 +00:00
Dongsu Park
252216b14c profiles: accept keywords ~amd64 and ~arm64 for libxml2 2.9.12-r2 2021-05-27 17:16:37 +02:00
Mathieu Tortuyaux
85d52f1711 coreos-base/update_engine: bump commit ID
related to https://github.com/kinvolk/update_engine/pull/9

Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
2021-05-27 16:27:29 +02:00
Dongsu Park
71eeaa90cc Merge pull request #1023 from kinvolk/dongsu/openssh-8.6
net-misc/openssh: update to 8.6
2021-05-27 11:49:07 +02:00
Flatcar Buildbot
9fe59c8e35 sys-kernel: Upgrade Kernel 5.10.38 to 5.10.39 2021-05-23 07:14:37 +00:00
Kai Lüke
60f34fe8b9 net-misc/openssh: Apply Flatcar changes
- Drop the init.d files.
- Remove the socket unit's rate limiting.

Instead of dropping bindist, enable it with the profiles now so it
doesn't need to be modified on future updates.

Imported commit 6c0c1c8806bedcc164e5bd3541ab50b2c21e2498 .
2021-05-21 14:11:40 +02:00
Dongsu Park
cf2b332856 profiles: accept openssh 8.6_p1-r1 for both amd64 and arm64 2021-05-21 14:11:40 +02:00
Dongsu Park
0e66a70f6a net-misc/openssh: update to 8.6_p1, sync with Gentoo
Update net-misc/openssh to 8.6_p1, by syncing with upstream Gentoo.
2021-05-21 14:11:40 +02:00
Dongsu Park
1f9c794749 Merge pull request #1022 from kinvolk/sayan/update-binutils-2.36
profiles,sys-boot: fix grub2 for binutils 2.36
2021-05-21 10:04:43 +02:00
Dongsu Park
430a8eafcc Merge pull request #1006 from kinvolk/containerd-1.5.1-main
Upgrade Containerd in main from 1.4.4 to 1.5.2
2021-05-21 09:28:10 +02:00
Dongsu Park
80e8ad9b35 Merge pull request #1021 from kinvolk/runc-1.0.0_rc95-main
Upgrade Runc in main from 1.0.0_rc93 to 1.0.0_rc95
2021-05-21 09:27:23 +02:00
Kai Lüke
4272466762 Merge pull request #1020 from kinvolk/linux-5.10.38-main
Upgrade Linux Kernel in main from 5.10.37 to 5.10.38
2021-05-20 16:48:48 +02:00
Dongsu Park
5700fa12e6 app-emulation/containerd: update to 1.5.2 2021-05-20 15:57:16 +02:00
Dongsu Park
e63de2ea31 app-emulation/containerd: set GOFLAGS to -mod=vendor
Since containerd 1.5 started to turn on Go module, we need to pass
`-mod=vendor` to the go build command.
Otherwise, go build will fail because it would try to fetch missing
go deps from remote repos. It would not work inside of sandbox.

We cannot set `COREOS_GO_MOD=vendor` because containerd ebuild calls
`emake` instead of `go_build`.
2021-05-20 15:56:39 +02:00
Flatcar Buildbot
8a0da2857b app-emulation: Upgrade Containerd 1.4.4 to 1.5.1 2021-05-20 14:13:45 +02:00
Dongsu Park
63031a2ebc app-emulation/docker-runc: adjust patches for 1.0.0-rc95 2021-05-20 14:07:09 +02:00
Flatcar Buildbot
b02b5cd0e6 app-emulation: Upgrade Runc 1.0.0_rc93 to 1.0.0_rc95 2021-05-20 13:43:39 +02:00
Dongsu Park
67b3af83f3 Revert "app-emulation/docker-runc: Embargoed patch for CVE-2021-30465"
This reverts commit 66f77b50879dded97b48c8f95277f18c6089022c.
2021-05-20 13:43:39 +02:00
Dongsu Park
447212cb30 sys-boot/grub: fix build error with binutils 2.36
With binutils 2.36, build of grub fails like that:

```
ld: section .note.gnu.property VMA [0000000000400158,0000000000400187]
overlaps section .bss VMA [000000000000e000,000000000041d207]
```

It is caused by assembler, as it generates the GNU property notes section
by default. Use the assmbler option `-mx86-used-note=no` to disable the
section from being generated to workaround the ensuing linker issue.

Patch was originally written by OpenSUSE.

https://sourceware.org/bugzilla/show_bug.cgi?id=27377
https://bugzilla.opensuse.org/show_bug.cgi?id=1181741
https://build.opensuse.org/package/view_file/Base:System/grub2/0001-Fix-build-error-in-binutils-2.36.patch
2021-05-20 09:27:49 +02:00
Sayan Chowdhury
1f7935ec72 profiles: Update the package accept_keywords
Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
2021-05-20 09:25:30 +02:00
Dongsu Park
58ed505831 sys-kernel/coreos-firmware: fix broken symlinks to cxgb4 firmware files
Since coreos-firmware 20210511, `cxgb4/t[4-6]fw*.bin` files have a new
version '1.25.4.0'. We need to update the file name pointed by symlinks.
Otherwise build fails due to broken symlinks.
2021-05-20 09:18:49 +02:00
Flatcar Buildbot
aa5a113a3a sys-kernel: Upgrade Linux Firmware 20210315 to 20210511 2021-05-20 09:18:49 +02:00
Flatcar Buildbot
cbc07cd946 sys-kernel: Upgrade Kernel 5.10.37 to 5.10.38 2021-05-20 07:14:42 +00:00
Kai Lüke
9d8aa1a9a9 app-emulation/docker-runc: Embargoed patch for CVE-2021-30465 2021-05-19 22:52:27 +02:00
Dongsu Park
d7dbc6dde7 Merge pull request #997 from kinvolk/rust-1.52.1-main
Upgrade dev-lang/rust in main from 1.51.0 to 1.52.1
2021-05-17 19:37:30 +02:00
Dongsu Park
116fec4eef Merge pull request #1011 from kinvolk/linux-5.10.37-main
Upgrade Linux Kernel in main from 5.10.34 to 5.10.37
2021-05-17 16:19:14 +02:00
Kai Lüke
9f796021f9 sys-kernel/bootengine: network, don't manage the loopback interface
This pulls in a change in the systemd network unit to ignore the
loopback interface instead of managing its state which sometimes causes
the address to be lost.
https://github.com/kinvolk/bootengine/pull/24
2021-05-17 15:30:48 +02:00
Kai Lüke
5916bfbfa9 coreos-base/coreos-init: systemd/network, don't manage the loopback interface
This pulls in a change in the systemd network unit to ignore the
loopback interface instead of managing its state which sometimes causes
the address to be lost.
https://github.com/kinvolk/init/pull/40
2021-05-17 15:30:47 +02:00
Kai Lüke
81926e26ae Merge pull request #1007 from kinvolk/kai/detect-device-mapper
coreos-base/coreos-init: flatcar-install, detect device mapper usage
2021-05-17 14:29:07 +02:00
Kai Lüke
18be162b54 coreos-base/coreos-init: flatcar-install, detect device mapper usage
This pulls in a behavior change in the flatcar-install script to
detect if a disk is used through a device mapper entry when searching
for free disks with -s.
https://github.com/kinvolk/init/pull/39

Fixes https://github.com/kinvolk/Flatcar/issues/332
2021-05-17 12:39:22 +02:00
Flatcar Buildbot
28cf344ca8 dev-lang: Upgrade dev-lang/rust 1.51.0 to 1.52.1 2021-05-17 12:25:40 +02:00
Sayan Chowdhury
d1c2b78f42 x11-drivers/nvidia-{drivers,metadata}: Update the version to 460.73.01
Update nvidia-drivers and nvidia-metadata to address security issues:
* CVE-2021-1052
* CVE-2021-1053
* CVE-2021-1056
* CVE-2021-1076
* CVE-2021-1077

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-05-17 12:11:58 +02:00
Flatcar Buildbot
825d15b932 sys-kernel: Upgrade Kernel 5.10.34 to 5.10.37 2021-05-15 07:12:54 +00:00
Dongsu Park
feec17561b sys-apps/dbus: apply Flatcar patches
* Drop the dependency on `sec-policy/selinux-dbus`
* Drop machine-id generation
* Stabilize both keywords `amd64` and `arm64` to build it.
* Do not add a third-party patch for CVE-2019-12749 again, as the fix is
  already included in dbus >= 1.10.29.

Loosely based on a409238795c44dabfd16e466c8433a89f5f0844f and
e458211c8418462f4bd4d4536dc96f62380a22cf .
2021-05-11 10:07:02 +02:00
Dongsu Park
5eb623c758 sys-apps/dbus: update to 1.10.32
Update dbus to 1.10.32, mainly to address CVE-2020-35512.
It is based on commit 71a58ff8b6cebe8b9e8aeddaf93185ecb52bdb8c of
Gentoo.
2021-05-10 14:31:27 +02:00
Flatcar Buildbot
230d65d7e5 dev-lang: Upgrade Go 1.16.3 to 1.16.4 2021-05-10 07:29:36 +00:00
Flatcar Buildbot
04e4324f55 sys-kernel: Upgrade Kernel 5.10.32 to 5.10.34 2021-05-03 07:13:41 +00:00
Dongsu Park
c3e3a9c785 Merge pull request #972 from kinvolk/go-1.16.3-main
Upgrade Go in main from 1.16.2 to 1.16.3
2021-04-30 09:17:46 +02:00
Sayan Chowdhury
a61c06f47c Merge pull request #978 from kinvolk/sayan/update-systemd-247.6
sys-app/systemd: Update systemd 247.6
2021-04-27 20:59:49 +05:30
Sayan Chowdhury
1878be0226 sys-app/systemd: Update systemd 247.6
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-27 20:34:28 +05:30
Sayan Chowdhury
c7cebb556b profiles: Update the accept keywords for curl 7.76.1
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-27 19:57:11 +05:30
Sayan Chowdhury
b47b8b18b2 Merge pull request #973 from kinvolk/sayan/update-openldap-2.4.58
profiles: Add accept keywords for openldap
2021-04-26 22:41:59 +05:30
Sayan Chowdhury
1d6e8353fd Merge pull request #971 from kinvolk/sayan/fix-systemd-tasksmax-patch
sys-apps/systemd: Fix the patch to update DefaultTasksMax
2021-04-26 20:01:31 +05:30
Sayan Chowdhury
5b20d5400e sys-apps/systemd: Fix the patch to update DefaultTasksMax
The upstream changed the way the default percentage value, and
make the property partially dynamic.

Upstream ref: https://github.com/systemd/systemd/pull/14007

Fixes #382

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-26 19:33:15 +05:30
Sayan Chowdhury
eeb1964d2b Merge pull request #964 from kinvolk/sayan/update-to-qemu-5.2.0
app-emulation: update qemu to 5.2.0
2021-04-26 17:11:35 +05:30
Flatcar Buildbot
c1582b4c19 dev-lang: Upgrade Go 1.16.2 to 1.16.3 2021-04-26 07:29:05 +00:00
Sayan Chowdhury
dc9e44acf9 profiles: Add accept keywords for openldap
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-26 06:45:00 +00:00
Dongsu Park
32db49b027 Merge pull request #970 from kinvolk/linux-5.10.32-main
Upgrade Linux Kernel in main from 5.10.31 to 5.10.32
2021-04-23 19:01:49 +02:00
Sayan Chowdhury
48cf59679c app-emulation/qemu: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-23 11:33:08 +00:00
Sayan Chowdhury
45110250e9 app-emulation/qemu: Sync with Gentoo upstream
Link1: 3452fc9c05

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-23 11:33:06 +00:00
Kai Lüke
f39655a823 Merge pull request #965 from kinvolk/kai/drop-rkt
Drop app-emulation/rkt and app-admin/kubelet-wrapper
2021-04-23 12:40:04 +02:00
Kai Lüke
0a0889852d Merge pull request #958 from kinvolk/kai/gce-oem-nspawn
coreos-base/oem-gce: use systemd-nspawn to run the GCE daemon
2021-04-23 12:39:36 +02:00
Flatcar Buildbot
349473393c sys-kernel: Upgrade Kernel 5.10.31 to 5.10.32 2021-04-22 07:15:14 +00:00
Kai Lüke
407c665d51 Drop app-emulation/rkt and app-admin/kubelet-wrapper
The rkt container runtime is deprecated and not used anymore except
for the kubelet-wrapper script. This script can't be ported to Docker
because it is used by the user with rkt-specific arguments and it is
only a wrapper around the deprecated hyperkube images (and has been
broken for the last K8s releases). The recommended way is to run the
kubelet binary directly on the host.
2021-04-22 00:09:04 +02:00
Kai Lüke
bc5e02d65e coreos-base/oem-gce: use systemd-nspawn to run the GCE daemon
The GCE daemon container was run with rkt from an ACI tar ball.
To replace rkt with systemd-nspawn, extract the tar ball to an
image and run the daemon as systemd-nspawn container.
2021-04-21 17:44:01 +02:00
Marga Manterola
d20a30d6c8 Merge pull request #961 from kinvolk/marga-kinvolk/optional-hostname
sys-kernel/bootengine: make hostname units optional
2021-04-21 16:32:34 +02:00
Dongsu Park
8a54f23394 Merge pull request #960 from kinvolk/dongsu/gnutls-3.7.1
profiles: accept keywords for net-libs/gnutls
2021-04-21 11:06:26 +02:00
Margarita Manterola
2b7b075998 sys-kernel/bootengine: make hostname units optional
Having the hostname units as required by the initrd.target meant that if
the unit failed (for example because the network was or the metadata
service were down), the machine wouldn't start. By making it a "wants"
rather than a "requires" we allow this unit to fail without disrupting
the whole boot.
2021-04-20 18:25:41 +02:00
Flatcar Buildbot
1a279015ec sys-kernel: Upgrade Kernel 5.10.26 to 5.10.31 2021-04-20 14:01:57 +02:00
Dongsu Park
39e9a99528 profiles: accept keywords for net-libs/gnutls
To be able to build gnutls 3.7.1, which is still not stable, we need to
accept keywords ~amd64 and ~arm64.
2021-04-20 10:26:19 +02:00
Dongsu Park
3fb5511b30 app-admin/updateservicectl: set COREOS_GO111MODULE to off
app-admin/updateservicectl also belongs to the cases where Go module is
not supported due to its old source code.
2021-04-19 17:45:08 +02:00
Dongsu Park
f9ff6599a9 app-emulation/acbuild: set COREOS_GO111MODULE to off
app-emulation/acbuild also belongs to the cases where Go module is not
supported due to its old source code.
2021-04-19 17:44:17 +02:00
Dongsu Park
9541ac9210 app-emulation/cri-tools: default to the default COREOS_GO_VERSION
We do not need to set COREOS_GO_VERSION to a specific version, unless
it is necessary to avoid build issues in certain cases like Docker.
Simply remove COREOS_GO_VERSION from the ebuild of cri-tools.
2021-04-19 17:43:08 +02:00
Dongsu Park
6b83baa45f eclass: update COREOS_GO_VERSION to 1.16
We need to update COREOS_GO_VERSION in eclass files to 1.16, to make
builds work with Go 1.16 by default.
2021-04-19 17:42:19 +02:00
Sayan Chowdhury
ad6568b1f8 dev-libs/openssl: Apply Flatcar changes
- Drop binddist from RESTRICT variable
- Drop pkg_postinst
- Create /etc/ssl with tmpfiles (and package it for the SDK).

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-19 12:54:34 +02:00
Sayan Chowdhury
a005bf1e34 dev-libs/openssl: Sync with Gentoo upstream
Sync ref: 1b9f956295

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-19 12:54:34 +02:00
Sayan Chowdhury
8ab974edb4 .github: Bump Golang version to 1.16 for Github Actions
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-19 11:59:24 +02:00
Sayan Chowdhury
44f43b4f7f app-emulation/amazon-ssm-agent: set env GO111MODULE to "off"
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-19 11:59:24 +02:00
Sayan Chowdhury
2a08005843 dev-lang/go: Update the manifest of golang
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-19 11:59:23 +02:00
Sayan Chowdhury
6d53f9d3bd Add the GO111MODULE
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-19 11:59:01 +02:00
Sayan Chowdhury
5d0a558423 dev-lang/go: Bump Go to 1.16.2
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-04-19 11:59:01 +02:00
Mathieu Tortuyaux
9d61ce382e app-emulation/cri-tools: update checksums 2021-04-12 15:32:05 +02:00
Margarita Manterola
ca608aaf52 sys-kernel/bootengine: Enable iSCSI netroot devices on Flatcar
This change pulls in the latest bootengine version, that enables ISCSI
support in dracut and avoids tearing down the network when using netroot

See https://github.com/kinvolk/bootengine/pull/22 for more information.
2021-04-07 12:34:09 +02:00
Marga Manterola
2d05b3499a Merge pull request #923 from kinvolk/marga-kinvolk/dracut-iscsi
Move dracut to coreos-overlay, add Flatcar patch
2021-04-07 12:30:33 +02:00
Dongsu Park
96a868fb46 profiles: force to use ssl USE flag for wget
This reverts commit f8dda51d546b466d9faf0c936b2ad5592ab1639e.

Recently we dropped `bindist` from `RESTRICT` in openssl, so it is
now possible to turn on `ssl` for wget again. The issue of openssl being
blocked by `masked by: bindist in RESTRICT` etc. has now disappeared.

Fixes https://github.com/kinvolk/Flatcar/issues/149
2021-04-06 09:09:31 +02:00
Flatcar Buildbot
d8026a987a dev-lang: Upgrade Go 1.15.10 to 1.15.11 2021-04-05 07:28:56 +00:00
Werner Buck
5dbe0c8922 Enable MDIO_BCM_UNIMAC to fix link when network link already used in earlier stages like PXE/UEFI boot 2021-04-02 10:56:09 +02:00
Dongsu Park
611177cd53 dev-util/boost-build: delete boost-build 1.67
For some reason, the old version of boost-build 1.67 is still here.
As we already have boost-build 1.75 in portage-stable, we should
completely delete boost 1.67.
2021-04-01 16:42:36 +02:00
Dongsu Park
aa8d3b914c dev-lang/rust: fix builds for Rust 1.51.0
The LLVM tensorflow fix was already included in the upstream,
edc57e7e7c
.
Completely remove the patch file.
2021-03-31 12:16:50 +02:00
Flatcar Buildbot
52d3df7deb dev-lang: Upgrade dev-lang/rust 1.50.0 to 1.51.0 2021-03-31 11:17:29 +02:00
Margarita Manterola
1bbb853ac9 Add Flatcar specific patch to enable the iscsi module
Flatcar uses its own network module instead of the Dracut one, but the
iscsi module depends on the network. So, in order to enable the iscsi
module, we need to patch the dependency
2021-03-30 11:03:21 +00:00
Margarita Manterola
5af3423377 Update dracut to the portage-stable version
We need to customize dracut. Currently the version in portage-stable is
picked because it's newer than the one in coreos-overlay. This commit
updates coreos-overlay to the same versions available in portage-stable.
2021-03-30 11:03:21 +00:00
Flatcar Buildbot
d633a16a97 sys-kernel: Upgrade Kernel 5.10.25 to 5.10.26 2021-03-26 07:13:39 +00:00
Sayan Chowdhury
b3400fde20 Merge pull request #916 from kinvolk/sayan/update-openssl-1.1.1k
dev-libs/openssl: Add the patch for openssl-1.1.1k release
2021-03-26 00:00:49 +05:30
Sayan Chowdhury
6e794ee59f dev-libs/openssl: Add the patch for openssl-1.1.1k release
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-03-25 23:14:43 +05:30
Sayan Chowdhury
9cf877c994 Merge pull request #912 from kinvolk/sayan/update-iscsi-2.1.4
sys-block/open-iscsi: Update to 2.1.4
2021-03-24 15:32:29 +05:30
Sayan Chowdhury
2a5cba256f Merge pull request #913 from kinvolk/sayan/update-zstd
app-arch/zstd: Add app-arch/zstd to ACCEPT_KEYWORDS
2021-03-24 15:31:30 +05:30
Sayan Chowdhury
6ac592d0cd Merge pull request #906 from blanquicet/364_updating_sys-libs_ncurses
Update sys-libs/ncurses to 6.2-r1
2021-03-24 15:31:01 +05:30
Kai Lüke
4ab6b08a51 sys-apps/baselayout: enable pam_faillock with relaxed defaults
This pulls in
https://github.com/kinvolk/baselayout/pull/17
to enable the pam_faillock module as replacement for pam_tally2.
The "faillock" binary can be used to see the login attempts and
account lock status which before was available with the pam_tally
command. While the tally defaults did not temporarily lock the
account on wrong password login attempts, this is done by default
with faillock. However, the default behavior was relaxed to allow
more wrong attempts and have a shorter lock time span.
2021-03-23 11:13:52 +01:00
Sayan Chowdhury
d437d43989 sys-block/open-iscsi: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-03-23 15:36:13 +05:30
Sayan Chowdhury
d9ff0c33ee sys-block/open-iscsi: Sync with Gentoo upstream
Gentoo ref: 34d68f5bbe

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-03-23 15:36:10 +05:30
Kai Lüke
4fe9f58926 Merge pull request #857 from kinvolk/kai/remove-rkt
app-admin/etcd-wrapper: use docker for the etcd service and drop etcd-wrapper
2021-03-22 19:40:59 +01:00
Flatcar Buildbot
73049a1a7f sys-kernel: Upgrade Kernel 5.10.24 to 5.10.25 2021-03-21 07:24:58 +00:00
Kai Lüke
f5612a8a95 app-admin/flannel-wrapper: user docker for the flannel service
As rkt is deprecated we need to run the Flannel container with Docker
or Podman. The flannel-wrapper script is based on rkt arguments and
can't be used in a compatible way but we cannot remove it since ct
explicitly uses it in the ExecStart directive when writing out a
drop-in file once flannel settings are given in a Container Linux
Config.
A better way to run the Flannel/etcd container image is Podman because
Flannel depends on etcd but wants to be run before Docker so that it
can set up the Docker networking. Etcd and Flannel are part of the
Container Linux Config specification and thus can't be removed easily.
For now we have to resort to running these services with Docker and try
to restart Docker for the Flannel options to take effect (but that also
terminates the etcd and flannel containers, causing the services to
restart).
2021-03-19 16:17:34 +01:00
Kai Lüke
a8f035c848 app-admin/etcd-wrapper: use docker for the etcd service
Since rkt is deprecated we need to run the etcd container with Docker
or Podman. The etcd-wrapper script is based on rkt arguments and can't
be used in a compatible way but we cannot remove it since ct explicitly
uses it in the ExecStart directive when writing out a drop-in file once
etcd settings are given in a Container Linux Config.
A better way to run the Flannel/etcd container image is Podman because
Flannel depends on etcd but wants to be run before Docker so that it
can set up the Docker networking. Etcd and Flannel are part of the
Container Linux Config specification and thus can't be removed easily.
For now we have to resort to running these services with Docker and try
to restart Docker for the Flannel options to take effect.
2021-03-19 16:17:34 +01:00
Jose Blanquicet
91c9486ad5 sys-libs/ncurses: Apply Flatcar patches
This commit adds some comments to help other folks to
easily recognize Flatcar-specific code.

Check issue #364 for further details.

Signed-off-by: Jose Blanquicet <blanquicet@gmail.com>
2021-03-19 16:00:55 +01:00
Sayan Chowdhury
042004c742 app-arch/zstd: Add app-arch/zstd to ACCEPT_KEYWORDS
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-03-19 19:03:54 +05:30
Krzesimir Nowak
37309215b2 Merge pull request #901 from kinvolk/firmware-20210315-main
Upgrade Linux Firmware in main from 20210208 to 20210315
2021-03-18 15:44:52 +01:00
David Michael
7c7eed243f sys-libs/ncurses: Apply Flatcar patches
Cherry-picked from kinvolk/coreos-overlay@d0426cf.

Add a symlink-usr USE flag for keeping a minimal set of terminfo
files in /usr/share/terminfo.

Also allow writes to /dev/ptmx, which sometimes causes the sandbox
to fail Jenkins builds.

Check issue kinvolk/Flatcar#364 for further details.

Signed-off-by: Jose Blanquicet <blanquicet@gmail.com>
2021-03-18 13:36:17 +01:00
Jose Blanquicet
a129ebfb0d sys-libs/ncurses: Sync with Gentoo's upstream
This commit synchronises ncurses with gentoo/gentoo@69bf5af thus
it updates the package from 6.1-r2 to 6.2-r1.

Check issue kinvolk/Flatcar#364 for further details.

Signed-off-by: Jose Blanquicet <blanquicet@gmail.com>
2021-03-18 13:35:32 +01:00
Flatcar Buildbot
ebb6d35ea7 sys-kernel: Upgrade Kernel 5.10.23 to 5.10.24 2021-03-18 07:24:28 +00:00
Flatcar Buildbot
370c620983 sys-kernel: Upgrade Linux Firmware 20210208 to 20210315 2021-03-18 07:10:22 +00:00
Dongsu Park
faafbb8b05 Merge pull request #898 from kinvolk/go-1.15.10-main
Upgrade Go in main from 1.15.8 to 1.15.10
2021-03-16 10:03:23 +01:00
Kai Lüke
cabd143d8e coreos-base/coreos-init: use alternative interface names for virtio
This pulls in
https://github.com/kinvolk/init/pull/38
to set predictable network interface names as alternative interface
names for virtio devices, and also add a special hardcoded ens4v1
name for GCE because the special udev rule to rename the device
stopped working after the systemd 247 update.
2021-03-15 15:49:09 +01:00
Thilo Fromm
af26169c04 Merge pull request #874 from kinvolk/t-lo/fix-sdk-bootstrap
fix sdk bootstrap: use python3 in catalyst chroot-functions, set cros_host USE when bootstrapping
2021-03-15 15:05:51 +01:00
Flatcar Buildbot
ebf4be322c dev-lang: Upgrade Go 1.15.8 to 1.15.10 2021-03-15 07:35:41 +00:00
Flatcar Buildbot
45682c9588 sys-kernel: Upgrade Kernel 5.10.22 to 5.10.23 2021-03-12 14:49:09 +01:00
Flatcar Buildbot
64c53b3488 sys-kernel: Upgrade Kernel 5.10.21 to 5.10.22 2021-03-11 06:46:37 +01:00