summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-10 14:55:23 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:42 +0000
commitb772c8cde5a8d53de5588ff5d2771c1bd3eb259f (patch)
tree60251b8473d901544fb39acae4d0b9b780e81575 /meta/classes/rootfs_rpm.bbclass
parent6c92cfc02014a55c4d3a40d70ff29308ad6255e7 (diff)
downloadpoky-b772c8cde5a8d53de5588ff5d2771c1bd3eb259f.tar.gz
bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot
This change makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index da5243ddf2..dd0257625f 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -6,10 +6,10 @@ ROOTFS_PKGMANAGE = "rpm yum"
6 6
7ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" 7ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts"
8 8
9do_rootfs[depends] += "rpm-native:do_populate_staging yum-native:do_populate_staging createrepo-native:do_populate_staging fakechroot-native:do_populate_staging" 9do_rootfs[depends] += "rpm-native:do_populate_sysroot yum-native:do_populate_sysroot createrepo-native:do_populate_sysroot fakechroot-native:do_populate_sysroot"
10 10
11# Needed for update-alternatives 11# Needed for update-alternatives
12do_rootfs[depends] += "opkg-native:do_populate_staging" 12do_rootfs[depends] += "opkg-native:do_populate_sysroot"
13 13
14do_rootfs[recrdeptask] += "do_package_write_rpm" 14do_rootfs[recrdeptask] += "do_package_write_rpm"
15 15
@@ -238,7 +238,7 @@ python () {
238 flags = bb.data.getVarFlag('do_rootfs', 'recrdeptask', d) 238 flags = bb.data.getVarFlag('do_rootfs', 'recrdeptask', d)
239 flags = flags.replace("do_package_write_rpm", "") 239 flags = flags.replace("do_package_write_rpm", "")
240 flags = flags.replace("do_deploy", "") 240 flags = flags.replace("do_deploy", "")
241 flags = flags.replace("do_populate_staging", "") 241 flags = flags.replace("do_populate_sysroot", "")
242 bb.data.setVarFlag('do_rootfs', 'recrdeptask', flags, d) 242 bb.data.setVarFlag('do_rootfs', 'recrdeptask', flags, d)
243 bb.data.setVar('RPM_PREPROCESS_COMMANDS', "rpm_insert_feed_uris", d) 243 bb.data.setVar('RPM_PREPROCESS_COMMANDS', "rpm_insert_feed_uris", d)
244 bb.data.setVar('RPM_POSTPROCESS_COMMANDS', '', d) 244 bb.data.setVar('RPM_POSTPROCESS_COMMANDS', '', d)