nfs-utils: dont install portmap, dont install init script anymore, dont create RPC user

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-07-01 23:36:10 +02:00
parent a4a6b77a3f
commit 686d7bee8a
3 changed files with 1 additions and 39 deletions

View File

@ -1,35 +0,0 @@
################################################################################
# Copyright (C) 2009-2010 OpenELEC.tv
# http://www.openelec.tv
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
# create directories needed for nfs-utils
#
# runlevels: openelec, textmode
(
progress "create directories needed for nfs-utils"
install -m 755 -o rpcuser -g rpcuser -d /var/lib/nfs
install -m 755 -o rpcuser -g rpcuser -d /var/lib/nfs/sm
install -m 755 -o rpcuser -g rpcuser -d /var/lib/nfs/sm.bak
touch /var/lib/nfs/etab && chown rpcuser:rpcuser /var/lib/nfs/etab
touch /var/lib/nfs/rmtab && chown rpcuser:rpcuser /var/lib/nfs/rmtab
touch /var/lib/nfs/state && chown rpcuser:rpcuser /var/lib/nfs/state
touch /var/lib/nfs/xtab && chown rpcuser:rpcuser /var/lib/nfs/xtab
)&

View File

@ -22,9 +22,6 @@
. config/options $1
add_user rpcuser x 29 29 "RPC Service User" "/var/lib/nfs" "/bin/sh"
add_group rpcuser 29
mkdir -p $INSTALL/sbin
cp $PKG_BUILD/utils/mount/mount.nfs $INSTALL/sbin/
ln -sf mount.nfs $INSTALL/sbin/mount.nfs4

View File

@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://nfs.sourceforge.net/"
PKG_URL="$SOURCEFORGE_SRC/nfs/nfs-utils/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="libevent libnfsidmap libtirpc portmap util-linux"
PKG_DEPENDS="libevent libnfsidmap libtirpc util-linux"
PKG_BUILD_DEPENDS="toolchain libevent libnfsidmap libtirpc util-linux"
PKG_PRIORITY="optional"
PKG_SECTION="network"