aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/buglabs/dauber-feed-configs.bb
blob: b4333d1c46e49d300e08418cf0463460b6005112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESCRIPTION = "Configuration files for online package repositories aka feeds"

PR = "r1"
PACKAGE_ARCH = "${MACHINE_ARCH}"

FEED_BASEPATH = "buildbot/trunk/incremental/feeds/"

do_compile() {
	mkdir -p ${S}/${sysconfdir}/opkg

	for feed in all armv7a bug20 ; do
		  echo "src/gz dauber-${feed} http://dauber/${FEED_BASEPATH}${feed}" > ${S}/${sysconfdir}/opkg/dauber-${feed}-feed.conf
	done
}


do_install () {
	install -d ${D}${sysconfdir}/opkg
	install -m 0644  ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
}

FILES_${PN} = "${sysconfdir}/opkg/"

CONFFILES_${PN} += "${sysconfdir}/opkg/*.conf"