summaryrefslogtreecommitdiff
path: root/meta-openvuplus/recipes-vuplus/vuplus-coldboot/vuplus-coldboot.bb
blob: 084a8d733cc84381fb6b9ff180de5214a8874bd9 (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
DESCIPTION = "S3 cold boot"
MAINTAINER = "vuplus team"
LICENSE = "CLOSED"
require conf/license/license-close.inc

PV = "1.0"
PR = "r3"
SRC_REV = ""

SRC_URI = "file://coldboot \
	   file://coldboot.sh \
	   file://ethwol.sh \
"

do_install() {
	install -d ${D}/etc/init.d \
		${D}/usr/bin \
        	${D}${sysconfdir}/rc0.d 

	install -m 0755 ${WORKDIR}/coldboot.sh ${D}/etc/init.d/coldboot.sh
	install -m 0755 ${WORKDIR}/ethwol.sh ${D}/etc/init.d/ethwol.sh
	install -m 0755 ${WORKDIR}/coldboot ${D}/usr/bin/coldboot
        ln -sf   ../init.d/coldboot.sh ${D}${sysconfdir}/rc0.d/S50coldboot.sh
        ln -sf   ../init.d/ethwol.sh ${D}${sysconfdir}/rc0.d/K32ethwol.sh
}

INHIBIT_PACKAGE_STRIP = "1"