From 88811726d08c544186563b4ad2aae19197308cf8 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Wed, 10 Mar 2004 12:46:22 +0000 Subject: [PATCH] Provide 3 example configs instead of 1. Revert brettcar's changes to dgl-create-chroot and put them in the macosx example. The macosx example is probably incomplete. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@274 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- dgl-create-chroot | 6 +++--- ...mple => dgl-create-chroot.conf.example.freebsd | 2 +- dgl-create-chroot.conf.example.macosx | 14 ++++++++++++++ dgl-create-chroot.conf.example.solaris | 15 +++++++++++++++ 4 files changed, 33 insertions(+), 4 deletions(-) rename dgl-create-chroot.conf.example => dgl-create-chroot.conf.example.freebsd (85%) create mode 100644 dgl-create-chroot.conf.example.macosx create mode 100644 dgl-create-chroot.conf.example.solaris diff --git a/dgl-create-chroot b/dgl-create-chroot index f0e0f6a..1efeea0 100755 --- a/dgl-create-chroot +++ b/dgl-create-chroot @@ -17,11 +17,11 @@ libs="" # (leave blank to skip) compress_bin="gzip" # nethack binary to copy (leave blank to skip) -nethack_bin="/opt/local/bin/nethack" +nethack_bin="/usr/lib/games/nethack/nethack-console" # fixed data to copy (leave blank to skip) -playground_fixed="/opt/local/share/nethackdir/" +playground_fixed="/usr/lib/games/nethack" # variable data to create (leave blank to skip) (may be equal to previous) -playground_var="" +playground_var="/var/games/nethack" # termcap/terminfo (copied recursively) (leave blank to skip) termdata="/usr/share/terminfo" diff --git a/dgl-create-chroot.conf.example b/dgl-create-chroot.conf.example.freebsd similarity index 85% rename from dgl-create-chroot.conf.example rename to dgl-create-chroot.conf.example.freebsd index cde5936..d0b6e4d 100644 --- a/dgl-create-chroot.conf.example +++ b/dgl-create-chroot.conf.example.freebsd @@ -5,7 +5,7 @@ chroot_path="/home/jilles/src/3rdparty/dgamelaunch-chroot-2" shed_uid=1031 shed_gid=1031 -libs="/usr/libexec/ld-elf.so.1" +libs="/usr/libexec/ld-elf.so.1" # /libexec/ld-elf.so.1 for FreeBSD 5 playground_fixed="/usr/local/lib/nethack" playground_var="/usr/local/lib/nethack" nethack_bin="$playground_fixed/nethack" diff --git a/dgl-create-chroot.conf.example.macosx b/dgl-create-chroot.conf.example.macosx new file mode 100644 index 0000000..a35e0e8 --- /dev/null +++ b/dgl-create-chroot.conf.example.macosx @@ -0,0 +1,14 @@ +#!/bin/sh +# Brett Carrington + +# NOTE: This copied from the dgl-create-chroot changes by Jilles, likely +# incomplete. + +chroot_path="/var/lib/dgamelaunch" +shed_uid=5 +shed_gid=60 +libs="" +playground_fixed="/opt/local/share/nethackdir/" +playground_var="" +nethack_bin="/opt/local/bin/nethack" +termdata="/usr/share/terminfo" diff --git a/dgl-create-chroot.conf.example.solaris b/dgl-create-chroot.conf.example.solaris new file mode 100644 index 0000000..fc852ef --- /dev/null +++ b/dgl-create-chroot.conf.example.solaris @@ -0,0 +1,15 @@ +#!/bin/sh +# hack it for crab test +# This file created by Jilles Tjoelker . + +chroot_path="/tmp/jilles/dgl-chroot" +shed_uid=1677 +shed_gid=104 +# This allows both 32-bit and 64-bit dynamically linked binaries in the chroot: +libs="/usr/lib/ld.so.1 /usr/lib/sparcv9/ld.so.1" +playground_fixed="" +playground_var="" +nethack_bin="nethackstub" +# For standard curses: +termdata="/usr/share/lib/terminfo" +#termdata="/usr/local/share/lib/terminfo" -- 2.47.3