diff options
Diffstat (limited to 'recipes/ipkg/ipkg-collateral.bb')
-rw-r--r-- | recipes/ipkg/ipkg-collateral.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/ipkg/ipkg-collateral.bb b/recipes/ipkg/ipkg-collateral.bb new file mode 100644 index 0000000000..3fd55507e2 --- /dev/null +++ b/recipes/ipkg/ipkg-collateral.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "ipkg configuration files" +SECTION = "base" +LICENSE = "MIT" +PR = "r7" + +SRC_URI = " \ +file://ipkg.conf.comments \ +file://lists \ +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 + cat ${WORKDIR}/lists >>${WORKDIR}/ipkg.conf +} + +do_install () { + install -d ${D}${sysconfdir}/ + install -m 0644 ${WORKDIR}/ipkg.conf ${D}${sysconfdir}/ipkg.conf +} + +CONFFILES_${PN} = "${sysconfdir}/ipkg.conf" |