--- /dev/null
+Index: geninitrd
+===================================================================
+--- geninitrd (wersja 12174)
++++ geninitrd (kopia robocza)
+@@ -772,9 +772,9 @@
+ device=$rootdev
+ fi
+
+- [ -n "$ROOTFSFLAG" ] && ROOTFSFLAGS="-o $ROOTFSFLAGS"
++ [ -n "$ROOTFSFLAGS" ] && ROOTFSFLAGS="-o $ROOTFSFLAGS"
+
+- mount -t $rootfs -r $device $ROOTFSFLAGS /newroot
++ mount -t $rootfs -r $device $ROOTFSFLAGS /newroot || echo "Mount of rootfs failed."
+ init="$(echo "$CMDLINE" | busybox awk '/init=\// { gsub(/.*init=/,NIL,$0); gsub(/ .*/,NIL,$0); print }')"
+ if [ -z "$init" -o ! -x "/newroot$init" ]; then
+ init=/sbin/init
Name: geninitrd
Version: 10000.32
# leave rel 1 for ac
-Release: 2
+Release: 3
License: GPL
Group: Applications/System
Source0: %{name}-%{version}.tar.gz
# Source0-md5: 9d75e347ff49312209e97ead93378f4a
Patch0: %{name}-romfs.patch
Patch1: %{name}-gzip-compressor.patch
+Patch2: %{name}-svn.patch
BuildRequires: xmlto >= 0:0.0.18-1
Requires: /usr/bin/ldd
Requires: awk
%patch0 -p1
%patch1 -p1
%endif
+%patch2 -p0
%build
%{__make}