1
0
forked from pool/cdemu-daemon

Remove cdemud-launch

OBS-URL: https://build.opensuse.org/package/show/filesystems/cdemu-daemon?expand=0&rev=7
This commit is contained in:
Jan Engelhardt 2012-11-19 20:02:22 +00:00 committed by Git OBS Bridge
parent 0f7c80ccb6
commit 4b1ae0266e
2 changed files with 5 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 19 20:02:02 UTC 2012 - jengelh@inai.de
- Remove cdemud-launch helper, this caused too much confusion.
-------------------------------------------------------------------
Tue May 29 08:47:19 UTC 2012 - jengelh@inai.de

View File

@ -62,13 +62,6 @@ make %{?_smp_mflags};
b="%buildroot";
make install DESTDIR="$b";
mkdir -p "$b/%_sbindir";
cat >"$b/%_sbindir/cdemud-launch" <<-EOF;
#!/bin/sh
modprobe -q sg;
modprobe -q vhba;
exec /usr/bin/cdemud "$@";
EOF
chmod a+x "$b/%_sbindir/cdemud-launch";
mkdir -p "$b/%_localstatedir/adm/fillup-templates";
install -pm0644 "%{S:3}" "$b/%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon";
# Not desired
@ -77,7 +70,6 @@ rm -Rf "$b/%_datadir/dbus-1/system-services" "$b/%_sysconfdir/dbus-1/system.d";
%files
%defattr(-,root,root)
%_bindir/cdemud
%_sbindir/cdemud-launch
%_libexecdir/cdemu-daemon-*.sh
%_datadir/dbus-1
%_mandir/man8/cdemud.8*