diff options
author | John Lee <john_lee@openmoko.org> | 2008-04-23 13:59:56 +0000 |
---|---|---|
committer | John Lee <john_lee@openmoko.org> | 2008-04-23 13:59:56 +0000 |
commit | f9e91fec80b2a80fa84252f458cac96ae822506b (patch) | |
tree | 44adab39b790137c53a533d9f77cdf4bf4c02a32 /packages/openmoko2 | |
parent | b49333b3e462cee999c4c5d7c3b138c7df8b42b0 (diff) |
openmoko-feed-configs: use feeds from daily build
applied changes from aa48761a831213b7b6dc0e16511ac4eba8d99bed
through b01506a8c7b2536a9932cfd58dfc8c98868804ee
Diffstat (limited to 'packages/openmoko2')
-rw-r--r-- | packages/openmoko2/openmoko-feed-configs.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/openmoko2/openmoko-feed-configs.bb b/packages/openmoko2/openmoko-feed-configs.bb new file mode 100644 index 0000000000..81d7ad4223 --- /dev/null +++ b/packages/openmoko2/openmoko-feed-configs.bb @@ -0,0 +1,23 @@ +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 daily-${feed} ${OPENMOKO_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 \ + " + +OPENMOKO_URI = "http://buildhost.openmoko.org/daily-feed" |