init dev setup for linux
This commit is contained in:
parent
32a93ff08b
commit
8d1c389b3c
58
.gitignore
vendored
Normal file
58
.gitignore
vendored
Normal 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
0
src/devtools/bin/linux/ccache
Normal file → Executable file
BIN
src/devtools/bin/linux/p4
Normal file → Executable file
BIN
src/devtools/bin/linux/p4
Normal file → Executable file
Binary file not shown.
BIN
src/devtools/bin/linux/p4.orig
Normal file
BIN
src/devtools/bin/linux/p4.orig
Normal file
Binary file not shown.
0
src/devtools/bin/vpc
Normal file → Executable file
0
src/devtools/bin/vpc
Normal file → Executable file
BIN
src/devtools/bin/vpc_linux
Executable file
BIN
src/devtools/bin/vpc_linux
Executable file
Binary file not shown.
0
src/devtools/gendbg.sh
Normal file → Executable file
0
src/devtools/gendbg.sh
Normal file → Executable file
12
src/tools/runtime/linux/configure_runtime.sh
Normal file → Executable file
12
src/tools/runtime/linux/configure_runtime.sh
Normal file → Executable 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user