X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-state.bb;h=c87375abb27bdf344a81e9f719bc1945d6a8f10e;hb=0b2cfd883b0352fb34de9802fa8d666a0fee4f53;hp=a2ad78e9466edac973ed1daf0872a138af5916b8;hpb=32b3504e8dac702a6f12444f7463c130304e7e1b;p=openpandora.oe.git diff --git a/recipes/pandora-system/pandora-state.bb b/recipes/pandora-system/pandora-state.bb index a2ad78e..c87375a 100755 --- a/recipes/pandora-system/pandora-state.bb +++ b/recipes/pandora-system/pandora-state.bb @@ -5,15 +5,16 @@ COMPATIBLE_MACHINE = "omap3-pandora" RDEPENDS = "pandora-scripts" -PR = "r12" +PR = "r26" inherit update-rc.d INITSCRIPT_NAME = "pandora-state" -INITSCRIPT_PARAMS = "start 39 S . stop 31 0 1 6 ." +INITSCRIPT_PARAMS = "start 10 5 3 . stop 31 0 1 6 ." SRC_URI = " \ file://rc.pandora-state \ file://gamma.state \ + file://dssgamma.state \ file://brightness.state \ file://nubs.state \ file://dirty_expire_centisecs \ @@ -24,11 +25,19 @@ do_install() { install -m 0755 ${WORKDIR}/rc.pandora-state ${D}${sysconfdir}/init.d/pandora-state install -d ${D}${sysconfdir}/pandora/conf/ install -m 0644 ${WORKDIR}/gamma.state ${D}${sysconfdir}/pandora/conf/gamma.state + install -m 0644 ${WORKDIR}/dssgamma.state ${D}${sysconfdir}/pandora/conf/dssgamma.state install -m 0644 ${WORKDIR}/brightness.state ${D}${sysconfdir}/pandora/conf/brightness.state - install -m 0644 ${WORKDIR}/nubs.state ${D}${sysconfdir}/pandora/conf/nubs.state install -m 0644 ${WORKDIR}/dirty_expire_centisecs ${D}${sysconfdir}/pandora/conf/dirty_expire_centisecs + # nub configurator runs without root + install -m 0666 ${WORKDIR}/nubs.state ${D}${sysconfdir}/pandora/conf/nubs.state } PACKAGE_ARCH = "${MACHINE_ARCH}" FILES_${PN} += "${prefix} ${datadir}" + +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/nubs.state +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/gamma.state +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/dssgamma.state +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/brightness.state +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/nubs.state