diff options
| author | Armin Kuster <akuster808@gmail.com> | 2022-05-02 09:36:56 -0700 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2022-05-14 10:51:32 -0700 |
| commit | 20c13f6335165d693f7f3270c829b3069dbbad66 (patch) | |
| tree | e6288bcd20b64ab95afc148cbd8464f1086c064c | |
| parent | 8ca6bb86e653a332f7cb5b30babc0cd6c58769d0 (diff) | |
| download | meta-security-20c13f6335165d693f7f3270c829b3069dbbad66.tar.gz | |
fscrypt: add distro_check on pam
Signed-off-by: Armin Kuster <akuster808@gmail.com>
| -rw-r--r-- | recipes-security/fscrypt/fscrypt_1.0.0.bb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/recipes-security/fscrypt/fscrypt_1.0.0.bb b/recipes-security/fscrypt/fscrypt_1.0.0.bb index 663d8e2..8147fe6 100644 --- a/recipes-security/fscrypt/fscrypt_1.0.0.bb +++ b/recipes-security/fscrypt/fscrypt_1.0.0.bb | |||
| @@ -8,19 +8,19 @@ SECTION = "base" | |||
| 8 | LICENSE = "Apache-2.0" | 8 | LICENSE = "Apache-2.0" |
| 9 | LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 9 | LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 10 | 10 | ||
| 11 | BBCLASSEXTEND = "native nativesdk" | ||
| 12 | |||
| 13 | # fscrypt depends on go and libpam | 11 | # fscrypt depends on go and libpam |
| 14 | DEPENDS += "go-native libpam" | 12 | DEPENDS += "go-native libpam" |
| 15 | 13 | ||
| 16 | SRCREV = "92b1e9a8670ccd3916a7d24a06cab1e4c9815bc4" | 14 | SRCREV = "92b1e9a8670ccd3916a7d24a06cab1e4c9815bc4" |
| 17 | SRC_URI = "git://github.com/google/fscrypt.git;branch=master;protocol=https" | 15 | SRC_URI = "git://github.com/google/fscrypt.git;branch=master;protocol=https" |
| 16 | |||
| 18 | GO_IMPORT = "import" | 17 | GO_IMPORT = "import" |
| 19 | 18 | ||
| 20 | S = "${WORKDIR}/git" | 19 | inherit go goarch features_check |
| 21 | 20 | ||
| 22 | inherit go | 21 | REQUIRED_DISTRO_FEATURES = "pam" |
| 23 | inherit goarch | 22 | |
| 23 | S = "${WORKDIR}/git" | ||
| 24 | 24 | ||
| 25 | do_compile() { | 25 | do_compile() { |
| 26 | export GOARCH=${TARGET_GOARCH} | 26 | export GOARCH=${TARGET_GOARCH} |
| @@ -47,3 +47,5 @@ do_install() { | |||
| 47 | install -d ${D}/${bindir} | 47 | install -d ${D}/${bindir} |
| 48 | install ${S}/src/${GO_IMPORT}/bin/fscrypt ${D}/${bindir}/fscrypt | 48 | install ${S}/src/${GO_IMPORT}/bin/fscrypt ${D}/${bindir}/fscrypt |
| 49 | } | 49 | } |
| 50 | |||
| 51 | BBCLASSEXTEND = "native nativesdk" | ||
