22984 Commits

Author SHA1 Message Date
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
5bc0c080f3 Merge pull request #1214 from kinvolk/jepio/containerd-config-fix
explicitly set 'runtime_type' in containerd config
2021-08-24 10:33:41 +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
Krzesimir Nowak
d98a47c7f4 dev-util/shflags: Drop the package
It was a dependency of the coreos-base/cros-devutils package from
coreos-overlay, but it got dropped.
2021-08-23 15:00:57 +02: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
b5befc8180 Merge pull request #201 from kinvolk/dongsu/move-strace
dev-util/strace: move to portage-stable, update to 5.12
2021-08-20 16:50:44 +02:00
Dongsu Park
035f33982f Merge pull request #1210 from kinvolk/dongsu/move-strace
dev-util/strace: move to portage-stable
2021-08-20 16:50:35 +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
c7e393ef91 dev-util/strace: move to portage-stable, update to 5.12
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. Sync with Gentoo, so update strace to 5.12.
2021-08-20 16:20:36 +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
Dongsu Park
5654d708f4 Merge pull request #200 from kinvolk/dongsu/delete-sdk-extras
*: delete ebuilds needed by coreos-devel/sdk-extras
2021-08-20 16:03:21 +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
2caaa96ab4 virtual/emacs: delete emacs
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:40 +02:00
Dongsu Park
b2d1a026cf sys-libs/libutempter: delete libutempter
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:40 +02:00
Dongsu Park
6c0b71225b sys-apps/ed: delete ed
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:40 +02:00
Dongsu Park
1e0bce4521 net-libs/liblockfile: delete liblockfile
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:40 +02:00
Dongsu Park
80edbd19ee dev-util/valgrind: delete valgrind
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:40 +02:00
Dongsu Park
272284fef2 dev-util/ctags: delete ctags
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:40 +02:00
Dongsu Park
3ca702e8d3 dev-util/cscope: delete cscope
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:40 +02:00
Dongsu Park
452457a7f9 dev-python/s3transfer: delete s3transfer
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
05a40c4723 dev-python/python-dateutil: delete python-dateutil
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
b5d19e06bd dev-python/jmespath: delete jmespath
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
abe637a175 dev-python/futures: delete futures
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
764e97a1f6 dev-python/botocore: delete botocore
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
4886e0b6fd dev-python/awscli: delete awscli
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
8626bf057a dev-go/godep: delete godep
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
aa94921c6e dev-go/glide: delete glide
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
c153da5653 app-text/tree: delete tree
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
cb767ba3a8 app-text/dos2unix: delete dos2unix
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
fd285d1b70 app-portage/eix: delete eix
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
be075e5fa3 app-misc/tmux: delete tmux
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
424db3d8e6 app-misc/screen: delete screen
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
6fa21f243d app-eselect/eselect-ctags: delete eselect-ctags
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
c2193c316a app-eselect/eselect-emacs: delete eselect-emacs
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Dongsu Park
d68f2a8d1f app-emacs/emacs-common-gentoo: delete emacs-common-gentoo
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-20 10:40:39 +02:00
Jeremi Piotrowski
7d63f3f426 Merge pull request #1199 from kinvolk/docker-20.10.8-main
Upgrade Docker in main from 20.10.7 to 20.10.8, and build with go1.16.
2021-08-20 10:37:05 +02:00
Krzesimir Nowak
cea18c41c3 *: Use the internal copy of cros_workon
The scripts that invoked `cros_workon` without specifying a path to
the script were not calling the internal `cros_workon` directly, but
rather a copy installed in `/usr/bin/cros_workon`.
`/usr/bin/cros_workon` comes from the `coreos-base/cros-devutil` and
is a wrapper script that sources `common.sh` file to figure the
location of the `scripts` and finally invokes the internal
`cros_workon`. Curious thing is that the sourced `common.sh` comes
from the `/usr/lib/crosutils` directory and contents of the directory
come from the `dev-util/crosutils` package. And that `common.sh` is
different from the one in the scripts directory, but fortunately the
part that detects the path to the `scripts` directory is the same. I'm
not sure where where exactly the copy of `common.sh` in
`/usr/lib/crosutils` comes from - likely from somewhere in
`https://chromium.googlesource.com/chromiumos/platform/crosutils`.

Just cut the middle layers and call the internal copy of `cros_workon`
directly.
2021-08-19 12:58:42 +02:00
Dongsu Park
35f2b3137c app-editors/emacs: delete emacs
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-19 09:58:30 +02:00
Dongsu Park
178bcafd91 app-crypt/tpm-tools: delete tpm-tools
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-19 09:58:19 +02:00
Dongsu Park
cbcef7b3fa app-admin/python-updater: delete python-updater
Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
2021-08-19 09:58:01 +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