diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4959ee8 --- /dev/null +++ b/.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 diff --git a/src/devtools/bin/linux/ccache b/src/devtools/bin/linux/ccache old mode 100644 new mode 100755 diff --git a/src/devtools/bin/linux/p4 b/src/devtools/bin/linux/p4 old mode 100644 new mode 100755 index a3c980c..e69de29 Binary files a/src/devtools/bin/linux/p4 and b/src/devtools/bin/linux/p4 differ diff --git a/src/devtools/bin/linux/p4.orig b/src/devtools/bin/linux/p4.orig new file mode 100644 index 0000000..a3c980c Binary files /dev/null and b/src/devtools/bin/linux/p4.orig differ diff --git a/src/devtools/bin/vpc b/src/devtools/bin/vpc old mode 100644 new mode 100755 diff --git a/src/devtools/bin/vpc_linux b/src/devtools/bin/vpc_linux new file mode 100755 index 0000000..7ef2a4d Binary files /dev/null and b/src/devtools/bin/vpc_linux differ diff --git a/src/devtools/gendbg.sh b/src/devtools/gendbg.sh old mode 100644 new mode 100755 diff --git a/src/tools/runtime/linux/configure_runtime.sh b/src/tools/runtime/linux/configure_runtime.sh old mode 100644 new mode 100755 index 10a6a59..20a6e31 --- a/src/tools/runtime/linux/configure_runtime.sh +++ b/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