Commit Graph

7390 Commits

Author SHA1 Message Date
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