summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-11-14 22:37:51 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-11-22 03:46:37 +0300
commitb09e0099813de20de42cffc4b95b8be6fef5c767 (patch)
tree5e55c5f4f2fcc9f2b5002b692ce638493a89f98d
parent81341b9e71e18fd16018c69ea585c4654c449fd7 (diff)
downloadopenbmc-b09e0099813de20de42cffc4b95b8be6fef5c767.tar.xz
meta-phosphor: remove exe perms from udev rules
Remove execute permssions from udev rules to avoid errors like: systemd-udevd[110]: Configuration file /lib/udev/rules.d/70-iio.rules is marked executable. Please remove executable permission bits. Proceeding anyway. (From meta-phosphor rev: d0c97c05b3c9b0d4b73978894b87cf649944bb37) Change-Id: Ie2908b5b0734e79cf4d0287d1fe7262022d5d740 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs_git.bb2
-rw-r--r--meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb4
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs_git.bb b/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs_git.bb
index dfacbb731..052aa850e 100644
--- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs_git.bb
+++ b/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs_git.bb
@@ -24,5 +24,5 @@ S = "${WORKDIR}/git"
do_install_append() {
install -d ${D}/${base_libdir}/udev/rules.d/
- install ${WORKDIR}/70-leds.rules ${D}/${base_libdir}/udev/rules.d/
+ install -m 0644 ${WORKDIR}/70-leds.rules ${D}/${base_libdir}/udev/rules.d/
}
diff --git a/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb b/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb
index 4e059bde5..3207df4dc 100644
--- a/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb
+++ b/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb
@@ -46,8 +46,8 @@ S = "${WORKDIR}/git"
do_install_append() {
install -d ${D}/${base_libdir}/udev/rules.d/
- install ${WORKDIR}/70-hwmon.rules ${D}/${base_libdir}/udev/rules.d/
- install ${WORKDIR}/70-iio.rules ${D}/${base_libdir}/udev/rules.d/
+ install -m 0644 ${WORKDIR}/70-hwmon.rules ${D}/${base_libdir}/udev/rules.d/
+ install -m 0644 ${WORKDIR}/70-iio.rules ${D}/${base_libdir}/udev/rules.d/
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/start_hwmon.sh ${D}${bindir}