mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-16 15:57:21 +00:00
fscrypt: add distro_check on pam
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 20c13f6335)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -8,19 +8,19 @@ SECTION = "base"
|
|||||||
LICENSE = "Apache-2.0"
|
LICENSE = "Apache-2.0"
|
||||||
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
|
||||||
|
|
||||||
# fscrypt depends on go and libpam
|
# fscrypt depends on go and libpam
|
||||||
DEPENDS += "go-native libpam"
|
DEPENDS += "go-native libpam"
|
||||||
|
|
||||||
SRCREV = "92b1e9a8670ccd3916a7d24a06cab1e4c9815bc4"
|
SRCREV = "92b1e9a8670ccd3916a7d24a06cab1e4c9815bc4"
|
||||||
SRC_URI = "git://github.com/google/fscrypt.git;branch=master;protocol=https"
|
SRC_URI = "git://github.com/google/fscrypt.git;branch=master;protocol=https"
|
||||||
|
|
||||||
GO_IMPORT = "import"
|
GO_IMPORT = "import"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
inherit go goarch features_check
|
||||||
|
|
||||||
inherit go
|
REQUIRED_DISTRO_FEATURES = "pam"
|
||||||
inherit goarch
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
export GOARCH=${TARGET_GOARCH}
|
export GOARCH=${TARGET_GOARCH}
|
||||||
@@ -47,3 +47,5 @@ do_install() {
|
|||||||
install -d ${D}/${bindir}
|
install -d ${D}/${bindir}
|
||||||
install ${S}/src/${GO_IMPORT}/bin/fscrypt ${D}/${bindir}/fscrypt
|
install ${S}/src/${GO_IMPORT}/bin/fscrypt ${D}/${bindir}/fscrypt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user