mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
sys-process/tini: Do not prestrip the binary
Package-Manager: portage-2.3.2
This commit is contained in:
@@ -7,7 +7,7 @@ EAPI=6
|
||||
inherit cmake-utils flag-o-matic
|
||||
|
||||
DESCRIPTION="A tiny but valid init for containers"
|
||||
HOMEPAGE="https://github.com/krallin/${PN}"
|
||||
HOMEPAGE="https://github.com/krallin/tini"
|
||||
SRC_URI="https://github.com/krallin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
@@ -18,6 +18,12 @@ IUSE="+args static"
|
||||
# vim-core is needed just for the xxd program
|
||||
DEPEND="app-editors/vim-core"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Do not strip binary
|
||||
sed -i -e 's/-Wl,-s")$/")/' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=()
|
||||
use args || mycmakeargs+=(-DMINIMAL=ON)
|
||||
|
||||
Reference in New Issue
Block a user