summaryrefslogtreecommitdiffstats
path: root/meta/packages/opkg
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-03-17 13:18:42 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-03-17 13:18:42 +0000
commitbeb83fd62b8c963005192a7cd540ae2597fc90ff (patch)
treea3fac79627dc98c268138b47eb0bf65de30e7207 /meta/packages/opkg
parent346dec3686ea2c16db87f30aa7efefa85442dbbf (diff)
downloadpoky-beb83fd62b8c963005192a7cd540ae2597fc90ff.tar.gz
opkg-collateral: moved from ipkg-collateral
Signed-off-by: Marcin Juszkiewicz <hrw@openedhand.com> git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4027 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/opkg')
-rw-r--r--meta/packages/opkg/opkg-collateral.bb22
-rw-r--r--meta/packages/opkg/opkg-collateral/dest1
-rw-r--r--meta/packages/opkg/opkg-collateral/ipkg.conf.comments23
-rw-r--r--meta/packages/opkg/opkg-collateral/lists2
-rw-r--r--meta/packages/opkg/opkg-collateral/src0
5 files changed, 48 insertions, 0 deletions
diff --git a/meta/packages/opkg/opkg-collateral.bb b/meta/packages/opkg/opkg-collateral.bb
new file mode 100644
index 0000000000..79c741d7be
--- /dev/null
+++ b/meta/packages/opkg/opkg-collateral.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "opkg configuration files"
2SECTION = "base"
3LICENSE = "MIT"
4
5SRC_URI = "file://opkg.conf.comments \
6 file://lists \
7 file://dest \
8 file://src "
9
10do_compile () {
11 cat ${WORKDIR}/opkg.conf.comments >${WORKDIR}/opkg.conf
12 cat ${WORKDIR}/src >>${WORKDIR}/opkg.conf
13 cat ${WORKDIR}/dest >>${WORKDIR}/opkg.conf
14 cat ${WORKDIR}/lists >>${WORKDIR}/opkg.conf
15}
16
17do_install () {
18 install -d ${D}${sysconfdir}/
19 install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg.conf
20}
21
22CONFFILES_${PN} = "${sysconfdir}/opkg.conf"
diff --git a/meta/packages/opkg/opkg-collateral/dest b/meta/packages/opkg/opkg-collateral/dest
new file mode 100644
index 0000000000..088ca403da
--- /dev/null
+++ b/meta/packages/opkg/opkg-collateral/dest
@@ -0,0 +1 @@
dest root /
diff --git a/meta/packages/opkg/opkg-collateral/ipkg.conf.comments b/meta/packages/opkg/opkg-collateral/ipkg.conf.comments
new file mode 100644
index 0000000000..51623f4d53
--- /dev/null
+++ b/meta/packages/opkg/opkg-collateral/ipkg.conf.comments
@@ -0,0 +1,23 @@
1# Must have one or more source entries of the form:
2#
3# src <src-name> <source-url>
4#
5# and one or more destination entries of the form:
6#
7# dest <dest-name> <target-path>
8#
9# where <src-name> and <dest-names> are identifiers that
10# should match [a-zA-Z0-9._-]+, <source-url> should be a
11# URL that points to a directory containing a Familiar
12# Packages file, and <target-path> should be a directory
13# that exists on the target system.
14
15# Proxy Support
16#option http_proxy http://proxy.tld:3128
17#option ftp_proxy http://proxy.tld:3128
18#option proxy_username <username>
19#option proxy_password <password>
20
21# Offline mode (for use in constructing flash images offline)
22#option offline_root target
23
diff --git a/meta/packages/opkg/opkg-collateral/lists b/meta/packages/opkg/opkg-collateral/lists
new file mode 100644
index 0000000000..3c524f8c77
--- /dev/null
+++ b/meta/packages/opkg/opkg-collateral/lists
@@ -0,0 +1,2 @@
1lists_dir ext /var/lib/ipkg
2
diff --git a/meta/packages/opkg/opkg-collateral/src b/meta/packages/opkg/opkg-collateral/src
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/meta/packages/opkg/opkg-collateral/src