aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Rehsack <rehsack@gmail.com>2015-11-04 19:09:19 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2015-11-11 10:46:54 +0100
commit08d51bca6adc8c5b2141916e783e3b7cdbd50ae3 (patch)
treeded09da209a362af37c6e31bf7a839fa9b065410
parentf0fa58e2c5b6e5e0b9be3bdbd3100f773e17dacf (diff)
downloadmeta-openembedded-contrib-08d51bca6adc8c5b2141916e783e3b7cdbd50ae3.tar.gz
meta-openembedded-contrib-08d51bca6adc8c5b2141916e783e3b7cdbd50ae3.tar.bz2
meta-openembedded-contrib-08d51bca6adc8c5b2141916e783e3b7cdbd50ae3.zip
samba: systemv-init script must be executable
Fix insane permissions installing SystemV init-script for samba4 to allow executing it correctly. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/samba/samba_4.1.12.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba_4.1.12.bb b/meta-oe/recipes-connectivity/samba/samba_4.1.12.bb
index b86f64f086..af2cc1fdf2 100644
--- a/meta-oe/recipes-connectivity/samba/samba_4.1.12.bb
+++ b/meta-oe/recipes-connectivity/samba/samba_4.1.12.bb
@@ -99,7 +99,7 @@ do_install_append() {
> ${D}${sysconfdir}/tmpfiles.d/99-${BPN}.conf
elif ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
install -d ${D}${sysconfdir}/init.d
- install -m 0644 packaging/LSB/samba.sh ${D}${sysconfdir}/init.d
+ install -m 0755 packaging/LSB/samba.sh ${D}${sysconfdir}/init.d
update-rc.d -r ${D} samba.sh start 20 3 5 .
update-rc.d -r ${D} samba.sh start 20 0 1 6 .
fi