From beb83fd62b8c963005192a7cd540ae2597fc90ff Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 17 Mar 2008 13:18:42 +0000 Subject: opkg-collateral: moved from ipkg-collateral Signed-off-by: Marcin Juszkiewicz git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4027 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/opkg/opkg-collateral.bb | 22 +++++++++++++++++++++ meta/packages/opkg/opkg-collateral/dest | 1 + .../opkg/opkg-collateral/ipkg.conf.comments | 23 ++++++++++++++++++++++ meta/packages/opkg/opkg-collateral/lists | 2 ++ meta/packages/opkg/opkg-collateral/src | 0 5 files changed, 48 insertions(+) create mode 100644 meta/packages/opkg/opkg-collateral.bb create mode 100644 meta/packages/opkg/opkg-collateral/dest create mode 100644 meta/packages/opkg/opkg-collateral/ipkg.conf.comments create mode 100644 meta/packages/opkg/opkg-collateral/lists create mode 100644 meta/packages/opkg/opkg-collateral/src (limited to 'meta/packages/opkg') 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 @@ +DESCRIPTION = "opkg configuration files" +SECTION = "base" +LICENSE = "MIT" + +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}/ + install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg.conf +} + +CONFFILES_${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 @@ +# Must have one or more source entries of the form: +# +# src +# +# and one or more destination entries of the form: +# +# dest +# +# where and are identifiers that +# should match [a-zA-Z0-9._-]+, should be a +# URL that points to a directory containing a Familiar +# Packages file, and should be a directory +# that exists on the target system. + +# Proxy Support +#option http_proxy http://proxy.tld:3128 +#option ftp_proxy http://proxy.tld:3128 +#option proxy_username +#option proxy_password + +# Offline mode (for use in constructing flash images offline) +#option offline_root target + 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 @@ +lists_dir ext /var/lib/ipkg + diff --git a/meta/packages/opkg/opkg-collateral/src b/meta/packages/opkg/opkg-collateral/src new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3