aboutsummaryrefslogtreecommitdiff
path: root/app/shells/rssh-chroot
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-01-26 17:19:30 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-01-26 17:19:30 +0000
commit4f44920cb0b7c85ea68e0355742ff9f89c7eb10e (patch)
treef79e6ade86a17373a6a7d132f773f56cee1ac1aa /app/shells/rssh-chroot
parentbe63f8992bdd480c58b6a03971a5de372291c749 (diff)
downloadslackbuilds-4f44920cb0b7c85ea68e0355742ff9f89c7eb10e.tar.gz
slackbuilds-4f44920cb0b7c85ea68e0355742ff9f89c7eb10e.tar.bz2
rssh-chroot fix on /dev/null creation
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@989 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app/shells/rssh-chroot')
-rwxr-xr-xapp/shells/rssh-chroot/rssh-chroot.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/shells/rssh-chroot/rssh-chroot.SlackBuild b/app/shells/rssh-chroot/rssh-chroot.SlackBuild
index e61aa3f4..ea67425d 100755
--- a/app/shells/rssh-chroot/rssh-chroot.SlackBuild
+++ b/app/shells/rssh-chroot/rssh-chroot.SlackBuild
@@ -36,7 +36,7 @@ PRGNAM="rssh-chroot"
PACKAGE="$PRGNAM"
ARCH=${ARCH:=i486}
VERSION=${VERSION:=2.3.2}
-BUILD=${BUILD:=2rha}
+BUILD=${BUILD:=3rha}
SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
REPOS=${REPOS:=$TMP}
@@ -96,10 +96,9 @@ for app in $APPS; do
done
# dont work inside vservers:
-# mknod ./$CHROOT_BASE/dev/null c 1 3
-
-cp /dev/null ./$CHROOT_BASE/dev/null
-chmod 666 ./$CHROOT_BASE/dev/null
+echo "trying to create /dev/null inside this jail..."
+echo "may not work if you're creating this package inside a vserver"
+mknod -m 666 ./$CHROOT_BASE/dev/null c 1 3 || exit $ERROR_INSTALL
mkdir -p usr/doc/$PACKAGE-$VERSION
cp $CWD/COPYING* usr/doc/$PACKAGE-$VERSION/