SHA256
1
0
forked from pool/sbl
sbl/sbl-install_perms.patch
Stefan Seyfried c7f79869c0 Accepting request 307373 from home:lmuelle:el80c
Credits to Tim Ehlers and Michael Binder of GWDG for reporting,
testing, and enhancement of the fix.

Thanks to Dr. Werner Fink for the hints in bsc#931036 and pointing
to the misspelled sppkdev in the dpcumentation.

The package changes are:

- Use sppkdev instead of spkdev in the documentation too.
  + sbl-sppkdev.patch
- Add --nodaemon option to ExecStart of the brld.service and set Type=forking
  of the sbl.service both in the service section; (bsc#931036).

- Install missing brld init script and rc sym link.
  + sbl-init-scripts.patch
- Conditionally patch LIBDIR location to satisfy bi-arch requirements.
  + sbl-libdir.patch
- Create git7a75bc29 snaptshot tar ball.

OBS-URL: https://build.opensuse.org/request/show/307373
OBS-URL: https://build.opensuse.org/package/show/hardware/sbl?expand=0&rev=23
2015-05-30 13:37:59 +00:00

21 lines
817 B
Diff

--- sbl/Makefile
+++ sbl/Makefile
@@ -22,7 +22,7 @@
BRLDEV = /dev/ttyS0
EXEC_PATH = ./
REINSTALL_PATH = ./
-INSTALL_EXEC = --owner=root --group=root --mode=0744
+INSTALL_EXEC = --owner=root --group=root --mode=0755
# To compile in a.out (if you use ELF by default), you may be able to use
# `-b i486-linuxaout'; however, you may also need to use the -V flag, or
@@ -71,7 +71,7 @@
install -m 644 ../brltbl/* $(DESTDIR)$(CONFDIR)/sbl/brltbl
install --directory $(DESTDIR)$(CONFDIR)/init.d
install -m 644 ../config/sbl.conf $(DESTDIR)$(CONFDIR)
- install -m 744 ../config/sbl $(DESTDIR)$(CONFDIR)/init.d
+ install -m 755 ../config/sbl $(DESTDIR)$(CONFDIR)/init.d
ln -sf $(CONFDIR)/init.d/sbl $(DESTDIR)$(PREFIX)/sbin/rcsbl
install --directory $(DESTDIR)/var/run
# mkfifo $(DESTDIR)/var/run/sbl.fifo.in