From: Richard Purdie Date: Thu, 3 Feb 2011 11:24:19 +0000 (+0000) Subject: rootrs_rpm.bbclass: Disable createrepo for now due to this error: X-Git-Tag: 2011-1~2527 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4b793fff8ecba1e3aa8cf9abadb6fa8e0bdd84b8;p=openembedded-core.git rootrs_rpm.bbclass: Disable createrepo for now due to this error: | + createrepo /media/build2/builds/rptest/b4/tmp/deploy/rpm | Traceback (most recent call last): | File "/media/build2/builds/rptest/b4/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", line 26, in | import rpm | ImportError: No module named rpm Signed-off-by: Richard Purdie --- diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index d9a9c7d8a8..6fe11f77e4 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -12,7 +12,7 @@ do_rootfs[depends] += "rpm-native:do_populate_sysroot" do_rootfs[depends] += "opkg-native:do_populate_sysroot" # Creating the repo info in do_rootfs -do_rootfs[depends] += "createrepo-native:do_populate_sysroot" +#do_rootfs[depends] += "createrepo-native:do_populate_sysroot" do_rootfs[recrdeptask] += "do_package_write_rpm" @@ -41,7 +41,7 @@ fakeroot rootfs_rpm_do_rootfs () { ${RPM_PREPROCESS_COMMANDS} - createrepo "${DEPLOY_DIR_RPM}" + #createrepo "${DEPLOY_DIR_RPM}" # Setup base system configuration mkdir -p ${IMAGE_ROOTFS}/etc/rpm/