diff options
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index b29d3edb2f..cc77c5ea35 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -1069,7 +1069,7 @@ python do_package_rpm () { | |||
1069 | clean_licenses = get_licenses(d) | 1069 | clean_licenses = get_licenses(d) |
1070 | pkgwritesrpmdir = bb.data.expand('${PKGWRITEDIRSRPM}/${PACKAGE_ARCH_EXTEND}', d) | 1070 | pkgwritesrpmdir = bb.data.expand('${PKGWRITEDIRSRPM}/${PACKAGE_ARCH_EXTEND}', d) |
1071 | pkgwritesrpmdir = pkgwritesrpmdir + '/' + clean_licenses | 1071 | pkgwritesrpmdir = pkgwritesrpmdir + '/' + clean_licenses |
1072 | bb.mkdirhier(pkgwritesrpmdir) | 1072 | bb.utils.mkdirhier(pkgwritesrpmdir) |
1073 | os.chmod(pkgwritesrpmdir, 0755) | 1073 | os.chmod(pkgwritesrpmdir, 0755) |
1074 | return pkgwritesrpmdir | 1074 | return pkgwritesrpmdir |
1075 | 1075 | ||
@@ -1123,7 +1123,7 @@ python do_package_rpm () { | |||
1123 | pkgwritedir = d.expand('${PKGWRITEDIRRPM}/${PACKAGE_ARCH_EXTEND}') | 1123 | pkgwritedir = d.expand('${PKGWRITEDIRRPM}/${PACKAGE_ARCH_EXTEND}') |
1124 | pkgarch = d.expand('${PACKAGE_ARCH_EXTEND}${TARGET_VENDOR}-${TARGET_OS}') | 1124 | pkgarch = d.expand('${PACKAGE_ARCH_EXTEND}${TARGET_VENDOR}-${TARGET_OS}') |
1125 | magicfile = d.expand('${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc') | 1125 | magicfile = d.expand('${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc') |
1126 | bb.mkdirhier(pkgwritedir) | 1126 | bb.utils.mkdirhier(pkgwritedir) |
1127 | os.chmod(pkgwritedir, 0755) | 1127 | os.chmod(pkgwritedir, 0755) |
1128 | 1128 | ||
1129 | cmd = rpmbuild | 1129 | cmd = rpmbuild |