summaryrefslogtreecommitdiffstats
path: root/meta-signing-key
diff options
context:
space:
mode:
authorLans Zhang <jia.zhang@windriver.com>2017-07-04 17:19:42 +0800
committerLans Zhang <jia.zhang@windriver.com>2017-07-04 17:19:42 +0800
commit407c56068dcbb7f2c83b80fc723cf5918f5240b6 (patch)
tree598304590df637bc56b15d20c92e6266811bc8c3 /meta-signing-key
parent55492bcc10d49a22a614e36eec63b77f19171231 (diff)
downloadmeta-secure-core-407c56068dcbb7f2c83b80fc723cf5918f5240b6.tar.gz
Code style fixup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
Diffstat (limited to 'meta-signing-key')
-rw-r--r--meta-signing-key/recipes-support/key-store/key-store_0.1.bb28
1 files changed, 14 insertions, 14 deletions
diff --git a/meta-signing-key/recipes-support/key-store/key-store_0.1.bb b/meta-signing-key/recipes-support/key-store/key-store_0.1.bb
index 40a9a98..94ffd35 100644
--- a/meta-signing-key/recipes-support/key-store/key-store_0.1.bb
+++ b/meta-signing-key/recipes-support/key-store/key-store_0.1.bb
@@ -4,23 +4,11 @@ LIC_FILES_CHKSUM = "\
4 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \ 4 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \
5" 5"
6 6
7inherit user-key-store
8
9S = "${WORKDIR}" 7S = "${WORKDIR}"
10 8
11ALLOW_EMPTY_${PN} = "1" 9inherit user-key-store
12
13PACKAGES =+ "\
14 ${PN}-system-trusted-cert \
15 ${PN}-ima-cert \
16"
17 10
18# Note any private key is not available if user key signing model used. 11ALLOW_EMPTY_${PN} = "1"
19PACKAGES_DYNAMIC += "\
20 ${PN}-ima-privkey \
21 ${PN}-system-trusted-privkey \
22 ${PN}-rpm-pubkey \
23"
24 12
25KEY_DIR = "${sysconfdir}/keys" 13KEY_DIR = "${sysconfdir}/keys"
26# For RPM verification 14# For RPM verification
@@ -118,6 +106,18 @@ pkg_postinst_${PN}-rpm-pubkey() {
118 fi 106 fi
119} 107}
120 108
109PACKAGES =+ "\
110 ${PN}-system-trusted-cert \
111 ${PN}-ima-cert \
112"
113
114# Note any private key is not available if user key signing model used.
115PACKAGES_DYNAMIC += "\
116 ${PN}-ima-privkey \
117 ${PN}-system-trusted-privkey \
118 ${PN}-rpm-pubkey \
119"
120
121FILES_${PN}-system-trusted-cert = "${SYSTEM_CERT}" 121FILES_${PN}-system-trusted-cert = "${SYSTEM_CERT}"
122CONFFILES_${PN}-system-trusted-cert = "${SYSTEM_CERT}" 122CONFFILES_${PN}-system-trusted-cert = "${SYSTEM_CERT}"
123 123