mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
* Set lists_dir to /var/lib/opkg commit 16808bc4817492beba512f4e73bce8c232d1eafa Author: Marcin Juszkiewicz <hrw@openembedded.org> Date: Mon Mar 17 23:40:48 2008 +0000 * Update new options sample and move the opkg.conf to correct place commit cc9825d97962287df75e164aec456901292e1b7f Author: Tick Chen <ticktock35@gmail.com> Date: Mon Dec 29 19:41:47 2008 +0800 (From OE-Core rev: ffe93e2a099e4cadb1829dc12a58a6d7bef9a5a7) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
655 B
BlitzBasic
25 lines
655 B
BlitzBasic
DESCRIPTION = "opkg configuration files"
|
|
SECTION = "base"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
PR = "r1"
|
|
|
|
SRC_URI = "file://opkg.conf.comments \
|
|
file://lists \
|
|
file://dest \
|
|
file://src "
|
|
|
|
do_compile () {
|
|
cat ${WORKDIR}/opkg.conf.comments >${WORKDIR}/opkg.conf
|
|
cat ${WORKDIR}/src >>${WORKDIR}/opkg.conf
|
|
cat ${WORKDIR}/dest >>${WORKDIR}/opkg.conf
|
|
cat ${WORKDIR}/lists >>${WORKDIR}/opkg.conf
|
|
}
|
|
|
|
do_install () {
|
|
install -d ${D}${sysconfdir}/opkg
|
|
install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf
|
|
}
|
|
|
|
CONFFILES_${PN} = "${sysconfdir}/opkg/opkg.conf"
|