summaryrefslogtreecommitdiff
path: root/modutils/modutils-collateral.oe
blob: dc3d1727ca70e46bce487db152e403418685099d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DEPENDS = "virtual/libc"
DESCRIPTION = "modutils configuration files"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/files"

SRC_URI = "file://${FILESDIR}/${MACHINE}/modules \
	   file://${FILESDIR}/${MACHINE}/modules.conf \
	   file://${FILESDIR}/modutils"

INITSCRIPT_NAME = "modutils"
INITSCRIPT_PARAMS = "start 20 S ."

inherit update-rc.d

do_compile () {
}

do_install () {
	install -d ${D}/${sysconfdir} ${D}/etc/init.d/
	install -m 0755 ${FILESDIR}/modutils ${D}/etc/init.d/
	oe_machinstall -m 0644 ${FILESDIR}/modules ${D}/${sysconfdir}/modules
	oe_machinstall -m 0644 ${FILESDIR}/modules.conf ${D}/${sysconfdir}/modules.conf
}