From: Grazvydas Ignotas Date: Sun, 19 Jul 2015 13:22:05 +0000 (+0300) Subject: pandora-state: change nubs.state permissions X-Git-Tag: sz_172~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=ed3b482a000df7f1c10f36efbcf025d9dacdbd62;ds=sidebyside pandora-state: change nubs.state permissions because configurator runs without root --- diff --git a/recipes/pandora-system/pandora-state.bb b/recipes/pandora-system/pandora-state.bb index 2efb435..4f5cc4a 100755 --- a/recipes/pandora-system/pandora-state.bb +++ b/recipes/pandora-system/pandora-state.bb @@ -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 diff --git a/recipes/pandora-system/pandora-version.bb b/recipes/pandora-system/pandora-version.bb index 2ec73db..839a8e9 100644 --- a/recipes/pandora-system/pandora-version.bb +++ b/recipes/pandora-system/pandora-version.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Installs /etc/op-version file." LICENSE = "Public Domain" -PR = "r8" +PR = "r9" do_install() { OLD_PWD=$PWD