diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-10 14:55:23 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:42 +0000 |
commit | b772c8cde5a8d53de5588ff5d2771c1bd3eb259f (patch) | |
tree | 60251b8473d901544fb39acae4d0b9b780e81575 /meta/classes/rootfs_rpm.bbclass | |
parent | 6c92cfc02014a55c4d3a40d70ff29308ad6255e7 (diff) | |
download | openembedded-core-b772c8cde5a8d53de5588ff5d2771c1bd3eb259f.tar.gz openembedded-core-b772c8cde5a8d53de5588ff5d2771c1bd3eb259f.tar.bz2 openembedded-core-b772c8cde5a8d53de5588ff5d2771c1bd3eb259f.tar.xz openembedded-core-b772c8cde5a8d53de5588ff5d2771c1bd3eb259f.zip |
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.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index da5243ddf..dd0257625 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -6,10 +6,10 @@ ROOTFS_PKGMANAGE = "rpm yum" ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" -do_rootfs[depends] += "rpm-native:do_populate_staging yum-native:do_populate_staging createrepo-native:do_populate_staging fakechroot-native:do_populate_staging" +do_rootfs[depends] += "rpm-native:do_populate_sysroot yum-native:do_populate_sysroot createrepo-native:do_populate_sysroot fakechroot-native:do_populate_sysroot" # Needed for update-alternatives -do_rootfs[depends] += "opkg-native:do_populate_staging" +do_rootfs[depends] += "opkg-native:do_populate_sysroot" do_rootfs[recrdeptask] += "do_package_write_rpm" @@ -238,7 +238,7 @@ python () { flags = bb.data.getVarFlag('do_rootfs', 'recrdeptask', d) flags = flags.replace("do_package_write_rpm", "") flags = flags.replace("do_deploy", "") - flags = flags.replace("do_populate_staging", "") + flags = flags.replace("do_populate_sysroot", "") bb.data.setVarFlag('do_rootfs', 'recrdeptask', flags, d) bb.data.setVar('RPM_PREPROCESS_COMMANDS', "rpm_insert_feed_uris", d) bb.data.setVar('RPM_POSTPROCESS_COMMANDS', '', d) |