From 118c4a51a602d5097ea258df79b1041239297899 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 4 Jan 2004 16:42:08 +0000 Subject: [PATCH] Make dgl-create-chroot.conf file clearer in the comments. Add example dgl-create-chroot.conf file. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@78 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- dgl-create-chroot | 6 ++++-- dgl-create-chroot.conf.example | 12 ++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 dgl-create-chroot.conf.example diff --git a/dgl-create-chroot b/dgl-create-chroot index a6a20e9..9fdce0b 100755 --- a/dgl-create-chroot +++ b/dgl-create-chroot @@ -2,10 +2,12 @@ # Original by joshk@triplehelix.org, modifications by jilles@stack.nl -# settings +# Settings +# Don't customize here, create a dgl-create-chroot.conf file instead. +# The defaults should work fine for Debian. # path for chroot chroot_path="/var/lib/dgamelaunch" -# uid/gid, must agree with dgamelaunch.h +# uid/gid (numeric), must agree with dgamelaunch.h shed_uid=5 shed_gid=60 # extra libraries to copy (that ldd doesn't find, such as ld-elf.so.1 on diff --git a/dgl-create-chroot.conf.example b/dgl-create-chroot.conf.example new file mode 100644 index 0000000..cde5936 --- /dev/null +++ b/dgl-create-chroot.conf.example @@ -0,0 +1,12 @@ +#!/bin/sh +# Example configuration, for my FreeBSD 4 machine, using nethack from ports. +# This file created by Jilles Tjoelker . + +chroot_path="/home/jilles/src/3rdparty/dgamelaunch-chroot-2" +shed_uid=1031 +shed_gid=1031 +libs="/usr/libexec/ld-elf.so.1" +playground_fixed="/usr/local/lib/nethack" +playground_var="/usr/local/lib/nethack" +nethack_bin="$playground_fixed/nethack" +termdata="/usr/share/misc/termcap"