]> git.openpandora.org Git - openpandora.oe.git/commitdiff
pandora-state: change nubs.state permissions
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 19 Jul 2015 13:22:05 +0000 (16:22 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 19 Jul 2015 18:14:58 +0000 (21:14 +0300)
because configurator runs without root

recipes/pandora-system/pandora-state.bb
recipes/pandora-system/pandora-version.bb

index 2efb435861aefde998c7441a437ee52e1f3b32ae..4f5cc4a32a3073f42c5ef54d91711025ccf59282 100755 (executable)
@@ -27,10 +27,17 @@ do_install() {
           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
index 2ec73db550808d1d5d9747133a2fc48fa369f24f..839a8e94e4999fceb3a92f32ef70bdd5601575c6 100644 (file)
@@ -1,6 +1,6 @@
 DESCRIPTION = "Installs /etc/op-version file."
 LICENSE = "Public Domain"
-PR = "r8"
+PR = "r9"
 
 do_install() {
   OLD_PWD=$PWD