mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
app-emulation/rkt: fix up tpm USE flag
This commit is contained in:
parent
372e3a8090
commit
ec1cca932c
@ -34,10 +34,11 @@ HOMEPAGE="https://github.com/coreos/rkt"
|
|||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="doc examples +rkt_stage1_coreos +rkt_stage1_fly rkt_stage1_host rkt_stage1_src +actool"
|
IUSE="doc examples +rkt_stage1_coreos +rkt_stage1_fly rkt_stage1_host rkt_stage1_src +actool tpm"
|
||||||
REQUIRED_USE="|| ( rkt_stage1_coreos rkt_stage1_fly rkt_stage1_host rkt_stage1_src )"
|
REQUIRED_USE="|| ( rkt_stage1_coreos rkt_stage1_fly rkt_stage1_host rkt_stage1_src )"
|
||||||
|
|
||||||
COMMON_DEPEND="sys-apps/acl"
|
COMMON_DEPEND="sys-apps/acl
|
||||||
|
tpm? ( app-crypt/trousers )"
|
||||||
DEPEND="|| ( ~dev-lang/go-1.4.3 >=dev-lang/go-1.5.3 )
|
DEPEND="|| ( ~dev-lang/go-1.4.3 >=dev-lang/go-1.5.3 )
|
||||||
app-arch/cpio
|
app-arch/cpio
|
||||||
sys-fs/squashfs-tools
|
sys-fs/squashfs-tools
|
||||||
@ -88,6 +89,8 @@ src_configure() {
|
|||||||
add_stage1 "src"
|
add_stage1 "src"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
myeconfargs+=( $(use_enable tpm) )
|
||||||
|
|
||||||
myeconfargs+=( --with-stage1-flavors="${STAGE1FLAVORS}" )
|
myeconfargs+=( --with-stage1-flavors="${STAGE1FLAVORS}" )
|
||||||
myeconfargs+=( --with-stage1-default-location="/usr/share/rkt/stage1-${STAGE1FIRST}.aci" )
|
myeconfargs+=( --with-stage1-default-location="/usr/share/rkt/stage1-${STAGE1FIRST}.aci" )
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user