summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg/opkg-collateral.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg-collateral.bb')
-rw-r--r--meta/recipes-devtools/opkg/opkg-collateral.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opkg/opkg-collateral.bb b/meta/recipes-devtools/opkg/opkg-collateral.bb
new file mode 100644
index 0000000000..79c741d7be
--- /dev/null
+++ b/meta/recipes-devtools/opkg/opkg-collateral.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "opkg configuration files"
2SECTION = "base"
3LICENSE = "MIT"
4
5SRC_URI = "file://opkg.conf.comments \
6 file://lists \
7 file://dest \
8 file://src "
9
10do_compile () {
11 cat ${WORKDIR}/opkg.conf.comments >${WORKDIR}/opkg.conf
12 cat ${WORKDIR}/src >>${WORKDIR}/opkg.conf
13 cat ${WORKDIR}/dest >>${WORKDIR}/opkg.conf
14 cat ${WORKDIR}/lists >>${WORKDIR}/opkg.conf
15}
16
17do_install () {
18 install -d ${D}${sysconfdir}/
19 install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg.conf
20}
21
22CONFFILES_${PN} = "${sysconfdir}/opkg.conf"