SHA256
1
0
forked from pool/nfs-utils

Accepting request 35966 from Base:System

Copy from Base:System/nfs-utils based on submit request 35966 from user oertel

OBS-URL: https://build.opensuse.org/request/show/35966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=55
This commit is contained in:
OBS User autobuild 2010-03-31 17:28:52 +00:00 committed by Git OBS Bridge
commit bd748cc245
3 changed files with 17 additions and 9 deletions

View File

@ -2,7 +2,7 @@
#%stage: block
#%modules: nfs
#%programs: /sbin/mount.nfs
#%if: "$rootfstype" = "nfs" -o "$interface"
#%if: "$rootfstype" = "nfs" -a "$interface"
#
##### Network FileSystem
##
@ -22,6 +22,8 @@
if [ -n "$ROOTPATH" -a -z "$cmd_root" ] ; then
case "$ROOTPATH" in
iscsi:*)
;;
*:*)
rootfstype="nfs"
rootdev="$ROOTPATH" ;;
@ -40,17 +42,17 @@ if [ -n "$ROOTPATH" -a -z "$cmd_root" ] ; then
fi
fi
if [ -z "$rootdev" ]; then
echo "no local root= kernel option given and no root server set by the dhcp server."
echo "exiting to /bin/sh"
cd /
PATH=$PATH PS1='$ ' /bin/sh -i
fi
if [ "$rootfstype" = "nfs" ]; then
# load the nfs module before using it
load_modules
if [ -z "$rootdev" ]; then
echo "no local root= kernel option given and no root server set by the dhcp server."
echo "exiting to /bin/sh"
cd /
PATH=$PATH PS1='$ ' /bin/sh -i
fi
rootfsmod=
if [ -n "$rootflags" ] ; then
rootflags="${rootflags},nolock"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 26 15:39:05 CET 2010 - mmarek@suse.cz
- mkinitrd-boot.sh: Do not do anything over if iscsi should be used
(bnc#590135).
-------------------------------------------------------------------
Tue Mar 9 21:18:22 UTC 2010 - nfbrown@novell.com

View File

@ -27,7 +27,7 @@ BuildRequires: libevent
Url: http://nfs.sourceforge.net
Summary: Support Utilities for Kernel nfsd
Version: 1.2.1
Release: 3
Release: 4
Group: Productivity/Networking/NFS
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-build