diff options
Diffstat (limited to '.local/bin/update_bsd.sh')
-rwxr-xr-x | .local/bin/update_bsd.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/.local/bin/update_bsd.sh b/.local/bin/update_bsd.sh deleted file mode 100755 index ca6d392..0000000 --- a/.local/bin/update_bsd.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env sh - -if [ ! -d "/usr/src" ]; then - echo "/usr/src directory does not exist" - exit -fi - -if [ ! -d "/usr/xsrc" ]; then - echo "/usr/xsrc directory does not exist" - exit -fi - -if [ ! $(command -v cvs) ]; then - echo "cvs command not found" - exit -fi - -cd /usr/xsrc ; -cvs update -dP -r netbsd-10-1-RELEASE ; - -cd /usr/src ; -cvs update -dP -r netbsd-10-1-RELEASE ; - -# Build with Xsrc -/usr/src/build.sh -j $(sysctl -n hw.ncpu) -c clang -O /usr/obj/ -T /usr/tools/ -x -X /usr/xsrc -U -u -P distribution release kernel=GENERIC ; - -# Build without X -#/usr/src/build.sh -j $(sysctl -n hw.ncpu) -c clang -O /usr/obj/ -T /usr/tools/ -U -u -P distribution release kernel=GENERIC ; |