Created
April 10, 2012 09:50
-
-
Save kisom/2349932 to your computer and use it in GitHub Desktop.
OpenBSD build scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ksh | |
ARCH="$(uname -m)" | |
KERN="$(uname -v)" | |
KERN="${KERN%\#*}" | |
echo '[+] building kernel' | |
echo | |
cd /usr/src/sys/arch/$ARCH/conf | |
config $KERN | |
cd ../compile/$KERN | |
make clean && make | |
make install | |
echo '[+] building userland' | |
rm -rf /usr/obj/* | |
cd /usr/src | |
make obj | |
cd /usr/src/etc && env DESTDIR=/ make distrib-dirs | |
cd /usr/src | |
make build | |
echo '[+] building xenocara' | |
cd /usr/xenocara | |
rm -rf /usr/xobj/* | |
make bootstrap | |
make obj | |
make build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ksh | |
# i don't use cvs enough to warrant remembering these command lines | |
export [email protected]:/cvs | |
cd /usr/src; cvs $1 up -Pd | |
cd /usr/ports; cvs $1 up -Pd | |
cd /usr/xenocara; cvs $1 up -P |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!c:\windows\system32\cmd.exe | |
format c: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
also - you forgot "format c:" - duh