vbox: use raw disk image volumes

Users can now just re-run `fbox build-disk` after each build to refresh their
disk, and that process should be much faster than before.

Arguments to build-disk are passed through to make-fuchsia-vol, so smaller
disks and different partition geometries can be used, as well as passing
command line files to include.

Change-Id: I8102390f7ef610c6e4c40165a7e36a07eeb60a80
5 files changed
tree: 43f25569ddd9cb833485bceb9035d1fc3ea3d414
  1. gce/
  2. gdb/
  3. grubdisk/
  4. installer/
  5. make-fuchsia-vol/
  6. memory/
  7. vbox/
  8. vim/
  9. zsh-completion/
  10. .gitignore
  11. AUTHORS
  12. build-bootable-rpi3-sdcard.sh
  13. build-bootable-usb-gigaboot.sh
  14. build-magenta.sh
  15. build-qemu.sh
  16. build-sysroot.sh
  17. build_cargo_vendor.sh
  18. check-header-guards.py
  19. check_rust_licenses.py
  20. CONTRIBUTING.md
  21. env.sh
  22. generate-intellij-config.py
  23. git-file-format
  24. install_cargo_vendor.sh
  25. LICENSE
  26. makesdk.go
  27. PATENTS
  28. paths.py
  29. push-package.py
  30. README.md
  31. run-dart-action.py
  32. run-magenta-arm64
  33. run-magenta-x86-64
  34. run.py
  35. start-dhcp-server.sh
  36. symlink-dot-packages.py
  37. update_dart_packages.py
  38. update_rust_crates.py
  39. visualize_module_tree.py
README.md

Scripts

This repository is for scripts useful when hacking on Fuchsia. This repository should contain scripts that perform tasks spanning multiple repositories. Scripts that only operate within a single repository should live in the relevant repository.

push-package.py

The push-package.py script pushes all of the files in a particular package. No checking is performed for incremental changes.

The sample command lines below can be used to build the “modular” package and then push it to the default device. This assumes you have already booted your device with a version of Fuchsia that contains the most recent version of all other packages.

fbuild apps/modular
scripts/push-package.py -o $FUCHSIA_BUILD_DIR packages/gn/modular