init dev setup for linux

This commit is contained in:
BotoX 2020-12-25 17:10:20 +01:00
parent 32a93ff08b
commit 8d1c389b3c
8 changed files with 65 additions and 5 deletions

58
.gitignore vendored Normal file
View File

@ -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 Normal file → Executable file
View File

BIN
src/devtools/bin/linux/p4 Normal file → Executable file

Binary file not shown.

Binary file not shown.

0
src/devtools/bin/vpc Normal file → Executable file
View File

BIN
src/devtools/bin/vpc_linux Executable file

Binary file not shown.

0
src/devtools/gendbg.sh Normal file → Executable file
View File

12
src/tools/runtime/linux/configure_runtime.sh Normal file → Executable file
View File

@ -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