diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-devtools/opkg/opkg-collateral.bb | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg-collateral.bb')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg-collateral.bb | 24 |
1 files changed, 24 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..b121827ac7 --- /dev/null +++ b/meta/recipes-devtools/opkg/opkg-collateral.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "Constructs the main configuration file for opkg" | ||
2 | SECTION = "base" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | PR = "r2" | ||
6 | |||
7 | SRC_URI = "file://opkg.conf.comments \ | ||
8 | file://dest \ | ||
9 | file://src " | ||
10 | |||
11 | OPKGLIBDIR = "${localstatedir}/lib" | ||
12 | do_compile () { | ||
13 | cat ${WORKDIR}/opkg.conf.comments >${WORKDIR}/opkg.conf | ||
14 | cat ${WORKDIR}/src >>${WORKDIR}/opkg.conf | ||
15 | cat ${WORKDIR}/dest >>${WORKDIR}/opkg.conf | ||
16 | echo "lists_dir ext ${OPKGLIBDIR}/opkg" >>${WORKDIR}/opkg.conf | ||
17 | } | ||
18 | |||
19 | do_install () { | ||
20 | install -d ${D}${sysconfdir}/opkg | ||
21 | install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf | ||
22 | } | ||
23 | |||
24 | CONFFILES_${PN} = "${sysconfdir}/opkg/opkg.conf" | ||