summaryrefslogtreecommitdiff
path: root/meta-openvuplus/recipes-core/initscripts/initscripts_1.0.bbappend
blob: c43def6b3469f6d319691744e24153cb233622be (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
PR .= "-vuplus2"

BOOTUP = "bootup_3.1" 

SRC_URI_append = " \
	file://turnoff_power \
	file://hotplug_br \
	file://make_mac_sector \
	file://${BOOTUP} \
"

do_install_append() {
	rm ${D}${sysconfdir}/*.d/*save-rtc.sh

	install -d ${D}/usr/bin	
	install -m 0755 ${WORKDIR}/turnoff_power     ${D}/usr/bin
	install -m 0755 ${WORKDIR}/hotplug_br        ${D}/usr/bin
	install -m 0755 ${WORKDIR}/make_mac_sector   ${D}/usr/bin
	install -m 0755 ${WORKDIR}/${BOOTUP}         ${D}${sysconfdir}/init.d/bootup
	ln      -sf     ../init.d/bootup             ${D}${sysconfdir}/rcS.d/S05bootup
}

FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"

PACKAGE_ARCH = "${MACHINE_ARCH}"