Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- use_goma='--no-goma'
- if [[ $(uname) == "Linux" ]]; then
- use_goma="--goma"
- fi
- # Clear the aliases so this can be included multiple times to reload
- unalias mbuild 2>/dev/null
- unalias qemu-x86 2>/dev/null
- unalias vbox-x86 2>/dev/null
- unalias boot-x86 2>/dev/null
- unalias ju 2>/dev/null
- # New aliases
- alias mbuild="mbuild -v"
- alias ju="( cd ~/fuchsia; jiri update -gc -v )"
- alias qemu-x86="
- ( . ~/fuchsia/scripts/env.sh &&
- fset x86-64 ${use_goma} --modules magentix &&
- fbuild &&
- frun -g
- )"
- alias vbox-x86="
- ( . ~/fuchsia/scripts/env.sh &&
- fset x86-64 ${use_goma} --modules magentix,make-fuchsia-vol &&
- fbuild &&
- fbox build-disk -sysSize $((100*1024*1024)) &&
- fbox start --type headless &&
- fbox console &&
- fbox stop
- )"
- alias boot-x86="
- ( . ~/fuchsia/scripts/env.sh &&
- fset x86-64 ${use_goma} --modules magentix &&
- fbuild &&
- freboot &&
- fboot -i 250
- )"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement