23028 Commits

Author SHA1 Message Date
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
Krzesimir Nowak
3f9c073b4b build_library: Fix some typos 2021-08-18 19:03:11 +02:00
Krzesimir Nowak
a314348a38 build_library: Fix getting integer from string
`string.atoi` was deprecated since at least the first release of
python2, and looks like it was dropped in python3.
2021-08-18 19:01:51 +02:00
Krzesimir Nowak
ea0f478cfa build_library: Fix some string vs bytes issues
This is some fallout from converting scripts from python2 to
python3. Output received from the functions in subprocess module now
return bytearrays, but we operate on them as if they were a text. So
decode the bytearrays to strings. Otherwise we are either getting some
junk values passed to the command line utilities (for example:
`b'/dev/loop2'` instead of `/dev/loop2`), or exceptions are thrown,
because a function expected a string.
2021-08-18 18:58:16 +02:00
Krzesimir Nowak
b6c6a05404 build_library: Fix python script extension
It's not a shell script. It never was a shell script. Must have been a
mistake to name it as such.
2021-08-18 18:57:04 +02:00
Krzesimir Nowak
336a967941 build_library: Convert python2 scripts to python3
This is just a conversion done by 2to3 with a manual updates of
shebangs to mention python3 explicitly. The fixups for bytearray vs
string issues will follow up.
2021-08-18 18:56:48 +02:00
Krzesimir Nowak
df63498a91 common: Replace the use of python2 with python3
We want to move to python3 eventually so update the script snippet. We
can be sure that python3 is installed, because portage already
requires it.
2021-08-18 18:56:35 +02:00