From 4f44920cb0b7c85ea68e0355742ff9f89c7eb10e Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 26 Jan 2007 17:19:30 +0000 Subject: rssh-chroot fix on /dev/null creation git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@989 370017ae-e619-0410-ac65-c121f96126d4 --- app/shells/rssh-chroot/rssh-chroot.SlackBuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'app') 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/ -- cgit v1.2.3