summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.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_ipk.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_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 065b78b814..ea1d6ba432 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -9,7 +9,7 @@ EXTRAOPKGCONFIG ?= ""
9ROOTFS_PKGMANAGE = "opkg opkg-collateral ${EXTRAOPKGCONFIG}" 9ROOTFS_PKGMANAGE = "opkg opkg-collateral ${EXTRAOPKGCONFIG}"
10ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" 10ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts"
11 11
12do_rootfs[depends] += "opkg-native:do_populate_staging opkg-utils-native:do_populate_staging" 12do_rootfs[depends] += "opkg-native:do_populate_sysroot opkg-utils-native:do_populate_sysroot"
13do_rootfs[recrdeptask] += "do_package_write_ipk" 13do_rootfs[recrdeptask] += "do_package_write_ipk"
14 14
15IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS}" 15IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS}"
@@ -164,7 +164,7 @@ python () {
164 flags = bb.data.getVarFlag('do_rootfs', 'recrdeptask', d) 164 flags = bb.data.getVarFlag('do_rootfs', 'recrdeptask', d)
165 flags = flags.replace("do_package_write_ipk", "") 165 flags = flags.replace("do_package_write_ipk", "")
166 flags = flags.replace("do_deploy", "") 166 flags = flags.replace("do_deploy", "")
167 flags = flags.replace("do_populate_staging", "") 167 flags = flags.replace("do_populate_sysroot", "")
168 bb.data.setVarFlag('do_rootfs', 'recrdeptask', flags, d) 168 bb.data.setVarFlag('do_rootfs', 'recrdeptask', flags, d)
169 bb.data.setVar('OPKG_PREPROCESS_COMMANDS', "package_generate_archlist\nipk_insert_feed_uris", d) 169 bb.data.setVar('OPKG_PREPROCESS_COMMANDS', "package_generate_archlist\nipk_insert_feed_uris", d)
170 bb.data.setVar('OPKG_POSTPROCESS_COMMANDS', '', d) 170 bb.data.setVar('OPKG_POSTPROCESS_COMMANDS', '', d)