]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- usbfs is deprecated
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 9 Mar 2013 23:12:42 +0000 (00:12 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 9 Mar 2013 23:12:42 +0000 (00:12 +0100)
rc-scripts-usbfs.patch [new file with mode: 0644]
rc-scripts.spec

diff --git a/rc-scripts-usbfs.patch b/rc-scripts-usbfs.patch
new file mode 100644 (file)
index 0000000..7df40d2
--- /dev/null
@@ -0,0 +1,13 @@
+Index: rc.d/rc.sysinit
+===================================================================
+--- rc.d/rc.sysinit    (wersja 12628)
++++ rc.d/rc.sysinit    (kopia robocza)
+@@ -335,7 +335,7 @@
+               fi
+       fi
+-      if [ "$usb" = "1" ] && ! is_fsmounted usbfs /proc/bus/usb ; then
++      if [ "$usb" = "1" -a -d /proc/bus/usb ] && ! is_fsmounted usbfs /proc/bus/usb ; then
+               run_cmd "Mounting USB filesystem" mount -n -t usbfs -o devgid=78,devmode=664 usbfs /proc/bus/usb
+       fi
index 3dcba33bd2148675d73b3d819fb36da863b7a2bb..1f2e3abcbb7a08627842a8669d80a6c966374da4 100644 (file)
@@ -9,7 +9,7 @@ Summary(pl.UTF-8):      inittab i skrypty startowe z katalogu /etc/rc.d
 Summary(tr.UTF-8):     inittab ve /etc/rc.d dosyaları
 Name:          rc-scripts
 Version:       0.4.5.4
-Release:       5
+Release:       6
 License:       GPL v2
 Group:         Base
 #Source0:      ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
@@ -19,6 +19,7 @@ Source1:      rc-local.service
 Source2:       sys-chroots.service
 Source3:       %{name}.tmpfiles
 Patch0:                %{name}-dot_named_ifaces.patch
+Patch1:                %{name}-usbfs.patch
 URL:           http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts
 BuildRequires: autoconf
 BuildRequires: automake
@@ -118,6 +119,7 @@ programcıklar içerir.
 %prep
 %setup -q
 %patch0 -p0
+%patch1 -p0
 
 # hack, currently this results in errno@@GLIBC_PRIVATE symbol in ppp-watch:
 #GLIB_LIBS="-Wl,-static `$PKG_CONFIG --libs --static glib-2.0` -Wl,-Bdynamic"
This page took 0.03496 seconds and 4 git commands to generate.