mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 06:01:41 +02:00
app-containers/docker-cli: apply Flatcar patch
* for now, manpages are not generated yet. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
163b0cda5e
commit
785725c167
@ -12,7 +12,7 @@ inherit bash-completion-r1 golang-vcs-snapshot
|
|||||||
DESCRIPTION="the command line binary for docker"
|
DESCRIPTION="the command line binary for docker"
|
||||||
HOMEPAGE="https://www.docker.com/"
|
HOMEPAGE="https://www.docker.com/"
|
||||||
SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-man.tar.xz"
|
# SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-man.tar.xz"
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -31,7 +31,8 @@ S="${WORKDIR}/${P}/src/${EGO_PN}"
|
|||||||
src_unpack() {
|
src_unpack() {
|
||||||
golang-vcs-snapshot_src_unpack
|
golang-vcs-snapshot_src_unpack
|
||||||
set -- ${A}
|
set -- ${A}
|
||||||
unpack ${2}
|
# Flatcar: skip unpacking temporarily
|
||||||
|
# unpack ${2}
|
||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
@ -55,7 +56,8 @@ src_compile() {
|
|||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin build/docker
|
dobin build/docker
|
||||||
doman "${WORKDIR}"/man/man?/*
|
# Flatcar: skip installing manpages temporarily
|
||||||
|
# doman "${WORKDIR}"/man/man?/*
|
||||||
dobashcomp contrib/completion/bash/*
|
dobashcomp contrib/completion/bash/*
|
||||||
bashcomp_alias docker dockerd
|
bashcomp_alias docker dockerd
|
||||||
insinto /usr/share/fish/vendor_completions.d/
|
insinto /usr/share/fish/vendor_completions.d/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user