summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-07-27 21:55:44 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-07-27 21:55:44 +0000
commitf13b1a3dcbcfbc9c696051920e51425ed44b269c (patch)
treeec59732b964b4dafcab98ce8ca7e941f947e6ea9
parentf6df43ad54171f885cbf106f8dfa53ad5b4342f6 (diff)
parentaddb59beb41d79cf8d2ce0abceda619522d80959 (diff)
merge of '5a21ce3f8925a2f59922f56157e689a0b3da0ae7'
and '5bb4bd3c22bd1d7fbf5eb23c0423846435ca5e06'
-rw-r--r--packages/freesmartphone/freesmartphone-feed-configs.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/freesmartphone/freesmartphone-feed-configs.bb b/packages/freesmartphone/freesmartphone-feed-configs.bb
new file mode 100644
index 0000000000..dbefe3d1d3
--- /dev/null
+++ b/packages/freesmartphone/freesmartphone-feed-configs.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Configuration files for online package repositories aka feeds"
+PR = "r0"
+
+do_compile() {
+ mkdir -p ${S}/${sysconfdir}/opkg
+ for feed in all armv4t neo1973 ${MACHINE_ARCH}; do
+ echo "src/gz fso-${feed} ${FEED_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
+ done
+}
+do_install () {
+ install -d ${D}${sysconfdir}/opkg
+ install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+CONFFILES_${PN} += "\
+ ${sysconfdir}/opkg/all-feed.conf \
+ ${sysconfdir}/opkg/armv4t-feed.conf \
+ ${sysconfdir}/opkg/neo1973-feed.conf \
+ ${sysconfdir}/opkg/${MACHINE_ARCH}-feed.conf \
+"
+
+FEED_URI = "http://buildhost.freesmartphone.org/~mickeyl/deploy-om-gta02/ipk"