mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-16 12:47:00 +00:00
sign_rpm_ext: fix permission warning
Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
This commit is contained in:
@@ -17,7 +17,7 @@ python () {
|
||||
d.setVar('GPG_PATH', gpg_path)
|
||||
|
||||
if not os.path.exists(gpg_path):
|
||||
status, output = oe.utils.getstatusoutput('mkdir -p %s' % gpg_path)
|
||||
status, output = oe.utils.getstatusoutput('mkdir -m 0700 -p %s' % gpg_path)
|
||||
if status:
|
||||
raise bb.build.FuncFailed('Failed to create gpg keying %s: %s' %
|
||||
(gpg_path, output))
|
||||
|
||||
Reference in New Issue
Block a user