diff options
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg_0.2.4.bb')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg_0.2.4.bb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg_0.2.4.bb b/meta/recipes-devtools/opkg/opkg_0.2.4.bb index be8394a361..5aaabcf08b 100644 --- a/meta/recipes-devtools/opkg/opkg_0.2.4.bb +++ b/meta/recipes-devtools/opkg/opkg_0.2.4.bb | |||
@@ -15,6 +15,7 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz | |||
15 | file://libopkg-opkg_remove.c-avoid-remove-pkg-repeatly-with.patch \ | 15 | file://libopkg-opkg_remove.c-avoid-remove-pkg-repeatly-with.patch \ |
16 | file://remove-ACLOCAL_AMFLAGS-I-shave-I-m4.patch \ | 16 | file://remove-ACLOCAL_AMFLAGS-I-shave-I-m4.patch \ |
17 | file://opkg-configure.service \ | 17 | file://opkg-configure.service \ |
18 | file://opkg.conf \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | S = "${WORKDIR}/${BPN}-${PV}" | 21 | S = "${WORKDIR}/${BPN}-${PV}" |
@@ -51,7 +52,14 @@ do_configure_prepend() { | |||
51 | sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am | 52 | sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am |
52 | } | 53 | } |
53 | 54 | ||
55 | do_compile_append () { | ||
56 | echo "option lists_dir ${OPKGLIBDIR}/opkg" >>${WORKDIR}/opkg.conf | ||
57 | } | ||
58 | |||
54 | do_install_append () { | 59 | do_install_append () { |
60 | install -d ${D}${sysconfdir}/opkg | ||
61 | install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf | ||
62 | |||
55 | # We need to create the lock directory | 63 | # We need to create the lock directory |
56 | install -d ${D}${OPKGLIBDIR}/opkg | 64 | install -d ${D}${OPKGLIBDIR}/opkg |
57 | 65 | ||
@@ -75,7 +83,9 @@ do_install_append () { | |||
75 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config run-postinsts" | 83 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config run-postinsts" |
76 | RDEPENDS_${PN}_class-native = "" | 84 | RDEPENDS_${PN}_class-native = "" |
77 | RDEPENDS_${PN}_class-nativesdk = "" | 85 | RDEPENDS_${PN}_class-nativesdk = "" |
78 | RREPLACES_${PN} = "opkg-nogpg" | 86 | RREPLACES_${PN} = "opkg-nogpg opkg-collateral" |
87 | RCONFLICTS_${PN} = "opkg-collateral" | ||
88 | RPROVIDES_${PN} = "opkg-collateral" | ||
79 | 89 | ||
80 | PACKAGES =+ "libopkg-dev libopkg-staticdev libopkg" | 90 | PACKAGES =+ "libopkg-dev libopkg-staticdev libopkg" |
81 | 91 | ||
@@ -85,3 +95,5 @@ FILES_libopkg = "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/" | |||
85 | FILES_${PN} += "${systemd_unitdir}/system/" | 95 | FILES_${PN} += "${systemd_unitdir}/system/" |
86 | 96 | ||
87 | BBCLASSEXTEND = "native nativesdk" | 97 | BBCLASSEXTEND = "native nativesdk" |
98 | |||
99 | CONFFILES_${PN} = "${sysconfdir}/opkg/opkg.conf" | ||