1 DESCRIPTION = "Save and restore some specific Pandora settings on shutdown / startup"
4 COMPATIBLE_MACHINE = "omap3-pandora"
6 RDEPENDS = "pandora-scripts"
11 INITSCRIPT_NAME = "pandora-state"
12 INITSCRIPT_PARAMS = "start 10 5 3 . stop 31 0 1 6 ."
15 file://rc.pandora-state \
17 file://dssgamma.state \
18 file://brightness.state \
20 file://dirty_expire_centisecs \
24 install -d ${D}${sysconfdir}/init.d/
25 install -m 0755 ${WORKDIR}/rc.pandora-state ${D}${sysconfdir}/init.d/pandora-state
26 install -d ${D}${sysconfdir}/pandora/conf/
27 install -m 0644 ${WORKDIR}/gamma.state ${D}${sysconfdir}/pandora/conf/gamma.state
28 install -m 0644 ${WORKDIR}/dssgamma.state ${D}${sysconfdir}/pandora/conf/dssgamma.state
29 install -m 0644 ${WORKDIR}/brightness.state ${D}${sysconfdir}/pandora/conf/brightness.state
30 install -m 0644 ${WORKDIR}/nubs.state ${D}${sysconfdir}/pandora/conf/nubs.state
31 install -m 0644 ${WORKDIR}/dirty_expire_centisecs ${D}${sysconfdir}/pandora/conf/dirty_expire_centisecs
34 PACKAGE_ARCH = "${MACHINE_ARCH}"
36 FILES_${PN} += "${prefix} ${datadir}"