diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/createrepo-c/createrepo-c_0.17.0.bb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.0.bb b/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.0.bb index 350b183542..e0433806b2 100644 --- a/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.0.bb +++ b/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.0.bb | |||
@@ -24,11 +24,17 @@ BBCLASSEXTEND = "native nativesdk" | |||
24 | # Direct createrepo to read rpm configuration from our sysroot, not the one it was compiled in | 24 | # Direct createrepo to read rpm configuration from our sysroot, not the one it was compiled in |
25 | do_install_append_class-native() { | 25 | do_install_append_class-native() { |
26 | create_wrapper ${D}/${bindir}/createrepo_c \ | 26 | create_wrapper ${D}/${bindir}/createrepo_c \ |
27 | RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm | 27 | RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ |
28 | MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc | ||
29 | create_wrapper ${D}/${bindir}/modifyrepo_c \ | ||
30 | MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc | ||
28 | } | 31 | } |
29 | 32 | ||
30 | do_install_append_class-nativesdk() { | 33 | do_install_append_class-nativesdk() { |
31 | create_wrapper ${D}/${bindir}/createrepo_c \ | 34 | create_wrapper ${D}/${bindir}/createrepo_c \ |
32 | RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm | 35 | RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm \ |
36 | MAGIC=${SDKPATHNATIVE}${datadir}/misc/magic.mgc | ||
37 | create_wrapper ${D}/${bindir}/modifyrepo_c \ | ||
38 | MAGIC=${SDKPATHNATIVE}${datadir}/misc/magic.mgc | ||
33 | rm -rf ${D}/etc | 39 | rm -rf ${D}/etc |
34 | } | 40 | } |