Browse Source

init dev setup for linux

master
BotoX 1 year ago
parent
commit
8d1c389b3c
  1. 58
      .gitignore
  2. 0
      src/devtools/bin/linux/ccache
  3. BIN
      src/devtools/bin/linux/p4
  4. BIN
      src/devtools/bin/linux/p4.orig
  5. 0
      src/devtools/bin/vpc
  6. BIN
      src/devtools/bin/vpc_linux
  7. 0
      src/devtools/gendbg.sh
  8. 12
      src/tools/runtime/linux/configure_runtime.sh

58
.gitignore

@ -0,0 +1,58 @@
# Files to ignore when considering what GIT should commit.
# Visual Studio
*.suo
*.user
*.sln.docstates
*.obj
*.pch
*.tlog
*.log
*.scc
*.exp
*.ilk
*.lastbuildstate
vc100.pdb
ipch
*.sdf
*.opensdf
*.idb
*.vcxproj
*.sln
# OSX/Linux build products
*.mak
*.mak.vpc_crc
*.xcodeproj/
obj*/
!devtools/*.mak
!utils/smdlexp/smdlexp.mak
*.a
*.a.dbg
*.project
# Specific Source build products
client.pdb
client.dll
client.lib
server.pdb
server.dll
server.lib
client.so
client.so.dbg
server.so
server.so.dbg
server_srv.so
server_srv.so.dbg
client.dylib
client.dylib.dSYM/
server.dylib
server.dylib.dSYM/
# files generated by running a mod
config.cfg
# shader files
*.tmp

0
src/devtools/bin/linux/ccache

BIN
src/devtools/bin/linux/p4

Binary file not shown.

BIN
src/devtools/bin/linux/p4.orig

Binary file not shown.

0
src/devtools/bin/vpc

BIN
src/devtools/bin/vpc_linux

Binary file not shown.

0
src/devtools/gendbg.sh

12
src/tools/runtime/linux/configure_runtime.sh

@ -14,6 +14,11 @@ if [ $EUID -ne 0 ]; then
exit 1
fi
SUDO_GROUP=sudo
if [ $(getent group wheel) ]; then
SUDO_GROUP=wheel
fi
cd $DIRNAME
CHROOT_NAME=$1
TARBALL=$2
@ -34,8 +39,8 @@ cat << EOF > /etc/schroot/chroot.d/$CHROOT_NAME.conf
description=Steam Runtime
directory=$DIRNAME/$TARBALL
personality=$PERSONALITY
groups=sudo
root-groups=sudo
groups=$SUDO_GROUP
root-groups=root
preserve-environment=true
type=directory
setup.fstab=mount$CHROOT_NAME
@ -53,9 +58,6 @@ dev /dev none rw,bind 0 0
dev/pts /dev/pts none rw,bind 0 0
home /home none rw,bind 0 0
tmp /tmp none rw,bind 0 0
# For PulseAudio and other desktop-related things
var/lib/dbus /var/lib/dbus none rw,bind 0 0
run/shm /run/shm none rw,bind 0 0
EOF
if [ -d /data ]; then

Loading…
Cancel
Save