sign_rpm_ext: fix permission warning

Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
This commit is contained in:
Jia Zhang
2017-08-20 11:18:24 +08:00
parent d5ca542dfb
commit 5c584cb628
+1 -1
View File
@@ -17,7 +17,7 @@ python () {
d.setVar('GPG_PATH', gpg_path) d.setVar('GPG_PATH', gpg_path)
if not os.path.exists(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: if status:
raise bb.build.FuncFailed('Failed to create gpg keying %s: %s' % raise bb.build.FuncFailed('Failed to create gpg keying %s: %s' %
(gpg_path, output)) (gpg_path, output))