mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-10-15 01:56:57 +00:00
user-key-store.bbclass: add deploy_rpm_keys (#20)
Fix warning: WARNING: xxx do_sign: Function deploy_rpm_keys doesn't exist Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
This commit is contained in:
1 parent
6dff36ef09
commit
db7acb7d28
1 file changed
+10
@@ -325,6 +325,16 @@ deploy_ima_keys() {
|
||||
fi
|
||||
}
|
||||
|
||||
deploy_rpm_keys() {
|
||||
local deploy_dir="${DEPLOY_KEYS_DIR}/rpm_keys"
|
||||
|
||||
if [ x"${RPM_KEYS_DIR}" != x"$deploy_dir" ]; then
|
||||
install -d "$deploy_dir"
|
||||
|
||||
cp -af "${RPM_KEYS_DIR}"/* "$deploy_dir"
|
||||
fi
|
||||
}
|
||||
|
||||
deploy_system_trusted_keys() {
|
||||
local deploy_dir="${DEPLOY_KEYS_DIR}/system_trusted_keys"
|
||||
|
||||
|
||||
Reference in new issue
Block a user