diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-07-27 21:32:58 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-07-27 21:32:58 +0000 |
commit | addb59beb41d79cf8d2ce0abceda619522d80959 (patch) | |
tree | bf2d9227ebab1500738df8fd83023cf8137edb0e /packages/freesmartphone/freesmartphone-feed-configs.bb | |
parent | 6e43272f0388c76449c6b4b04c6e84fada2fe55b (diff) |
add freesmartphone-feed-configs
Diffstat (limited to 'packages/freesmartphone/freesmartphone-feed-configs.bb')
-rw-r--r-- | packages/freesmartphone/freesmartphone-feed-configs.bb | 24 |
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" |