diff options
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg-collateral.bb')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg-collateral.bb | 22 |
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 @@ | |||
1 | DESCRIPTION = "opkg configuration files" | ||
2 | SECTION = "base" | ||
3 | LICENSE = "MIT" | ||
4 | |||
5 | SRC_URI = "file://opkg.conf.comments \ | ||
6 | file://lists \ | ||
7 | file://dest \ | ||
8 | file://src " | ||
9 | |||
10 | do_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 | |||
17 | do_install () { | ||
18 | install -d ${D}${sysconfdir}/ | ||
19 | install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg.conf | ||
20 | } | ||
21 | |||
22 | CONFFILES_${PN} = "${sysconfdir}/opkg.conf" | ||