summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index af8c63ed6f..68313eccc8 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -998,9 +998,9 @@ python do_package_rpm () {
998 d.setVar('PACKAGE_ARCH_EXTEND', ml_prefix + package_arch) 998 d.setVar('PACKAGE_ARCH_EXTEND', ml_prefix + package_arch)
999 else: 999 else:
1000 d.setVar('PACKAGE_ARCH_EXTEND', package_arch) 1000 d.setVar('PACKAGE_ARCH_EXTEND', package_arch)
1001 pkgwritedir = bb.data.expand('${PKGWRITEDIRRPM}/${PACKAGE_ARCH_EXTEND}', d) 1001 pkgwritedir = d.expand('${PKGWRITEDIRRPM}/${PACKAGE_ARCH_EXTEND}')
1002 pkgarch = bb.data.expand('${PACKAGE_ARCH_EXTEND}${TARGET_VENDOR}-${TARGET_OS}', d) 1002 pkgarch = d.expand('${PACKAGE_ARCH_EXTEND}${TARGET_VENDOR}-${TARGET_OS}')
1003 magicfile = bb.data.expand('${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc', d) 1003 magicfile = d.expand('${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc')
1004 bb.mkdirhier(pkgwritedir) 1004 bb.mkdirhier(pkgwritedir)
1005 os.chmod(pkgwritedir, 0755) 1005 os.chmod(pkgwritedir, 0755)
1006 1006