diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-08 22:32:43 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:28 +0000 |
commit | c54117458a19d05d404ec00907a8f3e9c73a416b (patch) | |
tree | 6cc5695742a1198668b022b35c8b2a456c4f3f4f /meta/classes/rootfs_rpm.bbclass | |
parent | 80d55bbd6ea2ff93510f3b87ea97322b0b02eaa8 (diff) | |
download | poky-c54117458a19d05d404ec00907a8f3e9c73a416b.tar.gz |
classes: Remove and sanitise import statements
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 1e8ad6d9ef..da5243ddf2 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -234,7 +234,6 @@ install_all_locales() { | |||
234 | } | 234 | } |
235 | 235 | ||
236 | python () { | 236 | python () { |
237 | import bb | ||
238 | if bb.data.getVar('BUILD_IMAGES_FROM_FEEDS', d, True): | 237 | if bb.data.getVar('BUILD_IMAGES_FROM_FEEDS', d, True): |
239 | flags = bb.data.getVarFlag('do_rootfs', 'recrdeptask', d) | 238 | flags = bb.data.getVarFlag('do_rootfs', 'recrdeptask', d) |
240 | flags = flags.replace("do_package_write_rpm", "") | 239 | flags = flags.replace("do_package_write_rpm", "") |