summaryrefslogtreecommitdiff
path: root/ipkg/ipkg-collateral.oe
diff options
context:
space:
mode:
Diffstat (limited to 'ipkg/ipkg-collateral.oe')
-rw-r--r--ipkg/ipkg-collateral.oe19
1 files changed, 19 insertions, 0 deletions
diff --git a/ipkg/ipkg-collateral.oe b/ipkg/ipkg-collateral.oe
index e69de29bb2..e5ffc687a1 100644
--- a/ipkg/ipkg-collateral.oe
+++ b/ipkg/ipkg-collateral.oe
@@ -0,0 +1,19 @@
+SECTION = "base"
+DESCRIPTION = "ipkg configuration files"
+
+SRC_URI = " \
+file://ipkg.conf.comments \
+file://dest \
+file://src \
+"
+
+do_compile () {
+ cat ${WORKDIR}/ipkg.conf.comments >${WORKDIR}/ipkg.conf
+ cat ${WORKDIR}/src >>${WORKDIR}/ipkg.conf
+ cat ${WORKDIR}/dest >>${WORKDIR}/ipkg.conf
+}
+
+do_install () {
+ install -d ${D}/${sysconfdir}/
+ install -m 0644 ${WORKDIR}/ipkg.conf ${D}/${sysconfdir}/ipkg.conf
+}