diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 93223abae..0cea3945a 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -11,6 +11,9 @@ do_rootfs[depends] += "rpm-native:do_populate_sysroot" # Needed for update-alternatives 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[recrdeptask] += "do_package_write_rpm" AWKPOSTINSTSCRIPT = "${POKYBASE}/scripts/rootfs_rpm-extract-postinst.awk" @@ -38,6 +41,8 @@ fakeroot rootfs_rpm_do_rootfs () { ${RPM_PREPROCESS_COMMANDS} + createrepo "${DEPLOY_DIR_RPM}" + # Setup base system configuration mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ |