app-admin/toolbox: update to use docker instead of rkt

Since rkt will be deprecated soon, we should make toolbox run docker
instead of rkt.

Also delete dependency on `app-emulation/rkt`, and update hyperlinks.

It pulls in https://github.com/kinvolk/toolbox/pull/1 .
This commit is contained in:
Dongsu Park 2021-03-05 10:17:39 +01:00
parent 11272c426d
commit 238e88e435
2 changed files with 3 additions and 5 deletions

View File

@ -2,29 +2,27 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_PROJECT="flatcar-linux/toolbox"
CROS_WORKON_PROJECT="kinvolk/toolbox"
CROS_WORKON_LOCALNAME="toolbox"
CROS_WORKON_REPO="git://github.com"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm64"
else
CROS_WORKON_COMMIT="44993456e236b28c9f8d85776d6c3fe4c430b0ea" # flatcar-master
CROS_WORKON_COMMIT="9a2919e95acbf2e8e10634d09f45c774db3c97bf" # flatcar-master
KEYWORDS="amd64 arm64"
fi
inherit cros-workon
DESCRIPTION="toolbox"
HOMEPAGE="https://github.com/coreos/toolbox"
HOMEPAGE="https://github.com/kinvolk/toolbox"
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RDEPEND="app-emulation/rkt"
src_install() {
dobin ${S}/toolbox
}