summaryrefslogtreecommitdiff
path: root/modutils/modutils-collateral.oe
blob: 0d01ae2c2eb6682917c0e2abdfe297e7059c2930 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
DESCRIPTION = "modutils configuration files"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/files"

SRC_URI = "\
		file://shepherd/modules		\
		file://shepherd/modules.conf	\
		file://h3600/modules		\
		file://h3600/modules.conf		\
		file://corgi/modules		\
		file://corgi/modules.conf		\
		file://husky/modules		\
		file://husky/modules.conf		\
		file://modutils-notest.patch	\
		file://modutils			\
		file://collie/modules		\
		file://collie/modules.conf		\
		file://configure.patch		\
		file://poodle/modules		\
		file://poodle/modules.conf		\
		file://ramses/modules		\
		file://ramses/modules-ramses	\
		file://ramses/modules.conf		\
		file://simpad/modules		\
		file://simpad/modules.conf		\
		file://program_prefix.patch"

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/
	oe_machinstall -m 0644 ${WORKDIR}/modules ${D}/${sysconfdir}/modules
	oe_machinstall -m 0644 ${WORKDIR}/modules.conf ${D}/${sysconfdir}/modules.conf
}