summaryrefslogtreecommitdiff
path: root/modutils/modutils-collateral.oe
blob: d73ad635cc2f60fdb5d55b7fae68d0f0fd0858f1 (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 = "modutils configuration files"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/files"

SRC_URI = "file://modutils-notest.patch	\
	   file://configure.patch \
	   file://program_prefix.patch \
	   file://modules \
	   file://modules.conf \
	   file://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 ${WORKDIR}/modutils ${D}/etc/init.d/
	install -m 0644 ${WORKDIR}/modules ${D}/${sysconfdir}/modules
	install -m 0644 ${WORKDIR}/modules.conf ${D}/${sysconfdir}/modules.conf
}