aboutsummaryrefslogtreecommitdiff
path: root/content/docs/adyxax.org/services/nethack.md
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-23 17:01:38 +0100
committerJulien Dessaux2021-03-23 17:01:38 +0100
commit45243279184b635fe1712810f3bda60c95720b56 (patch)
tree63075dd5c45226f1af66c93f480b76aff1515081 /content/docs/adyxax.org/services/nethack.md
parentRemoved useless book tag since they are all in the same section (diff)
downloadwww-45243279184b635fe1712810f3bda60c95720b56.tar.gz
www-45243279184b635fe1712810f3bda60c95720b56.tar.bz2
www-45243279184b635fe1712810f3bda60c95720b56.zip
Reworked the adyxax.org docs articles
Diffstat (limited to 'content/docs/adyxax.org/services/nethack.md')
-rw-r--r--content/docs/adyxax.org/services/nethack.md56
1 files changed, 0 insertions, 56 deletions
diff --git a/content/docs/adyxax.org/services/nethack.md b/content/docs/adyxax.org/services/nethack.md
deleted file mode 100644
index e9aa7a7..0000000
--- a/content/docs/adyxax.org/services/nethack.md
+++ /dev/null
@@ -1,56 +0,0 @@
----
-title: "nethack"
-linkTitle: "nethack"
-weight: 1
-description: >
- nethack
----
-
-## dgamelaunch
-
-TODO
-
-{{< highlight sh >}}
-groupadd -r games
-useradd -r -g games nethack
-git clone
-{{< /highlight >}}
-
-## nethack
-
-TODO
-
-{{< highlight sh >}}
-{{< /highlight >}}
-
-## scores script
-
-TODO
-
-{{< highlight sh >}}
-{{< /highlight >}}
-
-## copying shared libraries
-
-{{< highlight sh >}}
-cd /opt/nethack
-for i in `ls bin`; do for l in `ldd bin/$i | tail -n +1 | cut -d'>' -f2 | awk '{print $1}'`; do if [ -f $l ]; then echo $l; cp $l lib64/; fi; done; done
-for l in `ldd dgamelaunch | tail -n +1 | cut -d'>' -f2 | awk '{print $1}'`; do if [ -f $l ]; then echo $l; cp $l lib64/; fi; done
-for l in `ldd nethack-3.7.0-r1/games/nethack | tail -n +1 | cut -d'>' -f2 | awk '{print $1}'`; do if [ -f $l ]; then echo $l; cp $l lib64/; fi; done
-{{< /highlight >}}
-
-## making device nodes
-
-TODO! For now I mount all of /dev in the chroot :
-{{< highlight sh >}}
-#mknod -m 666 dev/ptmx c 5 2
-mount -R /dev /opt/nethack/dev
-{{< /highlight >}}
-
-## debugging
-
-{{< highlight sh >}}
-gdb chroot
-run --userspec=nethack:games /opt/nethack/ /dgamelaunch
-{{< /highlight >}}
-