summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/package_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-global/package_rpm.bbclass')
-rw-r--r--meta/classes-global/package_rpm.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes-global/package_rpm.bbclass b/meta/classes-global/package_rpm.bbclass
index 5d35962aff..2fc18fe98c 100644
--- a/meta/classes-global/package_rpm.bbclass
+++ b/meta/classes-global/package_rpm.bbclass
@@ -726,6 +726,10 @@ python () {
726 deps = ' rpm-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot' 726 deps = ' rpm-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot'
727 d.appendVarFlag('do_package_write_rpm', 'depends', deps) 727 d.appendVarFlag('do_package_write_rpm', 'depends', deps)
728 d.setVarFlag('do_package_write_rpm', 'fakeroot', '1') 728 d.setVarFlag('do_package_write_rpm', 'fakeroot', '1')
729
730 # Needed to ensure PKG_xxx renaming of dependency packages works
731 d.setVarFlag('do_package_write_rpm', 'deptask', "do_packagedata")
732 d.setVarFlag('do_package_write_rpm', 'rdeptask', "do_packagedata")
729} 733}
730 734
731SSTATETASKS += "do_package_write_rpm" 735SSTATETASKS += "do_package_write_rpm"