Simple Distro Kit - Virtual Machines
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.3 KiB

  1. #!/usr/bin/env zsh
  2. # Copyright (c) 2016-2017 Dyne.org Foundation
  3. # vm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
  4. #
  5. # This file is part of vm-sdk
  6. #
  7. # This source code is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU General Public License as published by
  9. # the Free Software Foundation, either version 3 of the License, or
  10. # (at your option) any later version.
  11. #
  12. # This software is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU General Public License
  18. # along with this source code. If not, see <http://www.gnu.org/licenses/>.
  19. ## vm-sdk configuration
  20. ## ---------------------
  21. arch=amd64
  22. size=20479
  23. imageformat=qcow2
  24. #imageformat=raw
  25. PATH="$PATH:/usr/sbin:/sbin"
  26. ## options for `make` when building kernel
  27. MAKEOPTS="-j$(expr $(grep -c 'processor' /proc/cpuinfo) + 1)"
  28. ## uncomment if you wish to create stage4 tarballs for faster rebuilding
  29. # TAR_STAGE4=true
  30. ## Comment out if you don't want to create a cloud-based qcow.
  31. vars+=(makecloud)
  32. makecloud=true
  33. ## extra_packages for all images
  34. extra_packages+=(fake-hwclock busybox-static ntp)
  35. extra_packages+=(fbterm)