This patch changes the permission of the file unicens-config.service to
644. It is needed because an executable service file is considered a
security risk. This patch fixes JIRA SPEC-1137.
Change-Id: Idab5080450be358b5775ce4dbb1737f2bcd34a5f
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Reported-by: Dominig Ar Foll <dominig.arfoll@fridu.net>
do_install() {
install -d ${D}${systemd_system_unitdir}
- install -m 0755 ${WORKDIR}/unicens-config.service ${D}${systemd_system_unitdir}
+ install -m 0644 ${WORKDIR}/unicens-config.service ${D}${systemd_system_unitdir}
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/unicens-config.sh ${D}${bindir}
}