diff options
Diffstat (limited to 'recipes/opkg/opkg-collateral.bb')
-rw-r--r-- | recipes/opkg/opkg-collateral.bb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/recipes/opkg/opkg-collateral.bb b/recipes/opkg/opkg-collateral.bb index 401e76e8be..a7ec321c6f 100644 --- a/recipes/opkg/opkg-collateral.bb +++ b/recipes/opkg/opkg-collateral.bb @@ -1,11 +1,12 @@ DESCRIPTION = "opkg configuration files" SECTION = "base" LICENSE = "MIT" -PR = "r1" +PR = "r2" SRC_URI = "file://opkg.conf.comments \ file://lists \ file://dest \ + file://tmp_dir \ file://src " do_compile () { @@ -15,9 +16,17 @@ do_compile () { cat ${WORKDIR}/lists >>${WORKDIR}/opkg.conf } +do_compile_append_shr () { + cat ${WORKDIR}/tmp_dir >>${WORKDIR}/opkg.conf +} + do_install () { install -d ${D}${sysconfdir}/opkg install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf } +do_install_append_shr () { + install -d ${D}/var/lib/opkg/tmp +} + CONFFILES_${PN} = "${sysconfdir}/opkg/opkg.conf" |