Commit Graph

21 Commits

Author SHA1 Message Date
parazyd
e2876ea69f
Use UUID for fstab in virtual machine builds.
This solves issues when booting virtio-type drives.
2021-01-13 18:59:16 +01:00
parazyd
7eb4f57883
Update license headers. 2020-12-23 09:10:47 +01:00
parazyd
8e7a779237
Add fstab override for VM to mount /boot. 2020-11-13 11:26:10 +01:00
parazyd
9a1874d072
Remove the raw VM image if not requested at build time. 2020-11-13 11:21:31 +01:00
parazyd
aedf124832
Overhaul the entire library.
This commit is a "complete" overhaul of libdevuansdk and is a likely
breaking change for all the sdks. They will be updated accordingly.

Notable changes:
    * Bootstrap tarballs are now cpio archives.
    * Error handling is improved a lot.
    * rsync is avoided and cpio is used where necessary.
    * debootstrap submodule is removed and system-wide debootstrap is
      used instead.
    * VMs aren't being built inside an nbd device anymore. They are now
      built normally on the filesystem, and copied into a raw image
      which is then converted to requested formats (qcow and/or vdi).
    * Vagrant build support is completely dropped.
    * apt-cache functionality is completely dropped.
    * The full-build helper functions are renamed and and separated into
      more internal functions/steps.
    * Obsolete and unused code is removed.
2020-11-13 10:04:52 +01:00
parazyd
63163a0772
Use a random number when naming the prevagrant image. 2019-02-28 00:39:56 +01:00
parazyd
c1c6fc8c06
Fix path to base-cloud.qcow2 and use [[ instead of [ for test. 2018-10-08 15:45:37 +02:00
parazyd
589d62ca0e
Add support for cloud-based VM images. 2018-10-08 12:36:15 +02:00
parazyd
2cf0d648ba
Remove 'quiet' from GRUB kernel cmdline params in VM. 2018-09-18 14:40:14 +02:00
parazyd
fa3c7ea707
Fixes to zlibs/vm to reflect others. 2018-03-13 12:36:17 +01:00
parazyd
e94ba2a34d
vmsdk: Pack the .vdi as well. 2018-02-07 10:19:49 +01:00
parazyd
2e871f39e7
fixup! net.ifnames=0 in vm's grub 2017-07-20 17:09:34 +02:00
parazyd
378887ba79
net.ifnames=0 in vm's grub 2017-07-20 15:54:30 +02:00
parazyd
258bcc8083
enable root login in vm's sshd (new openssh changed the keyword) 2017-07-20 13:45:54 +02:00
parazyd
32c372909a
limit code to 80ch width 2017-03-18 21:30:58 +01:00
parazyd
059a533ff7
added virtualbox cleanup on vm_pack_dist() 2017-02-15 15:42:57 +01:00
parazyd
a2a1ecd2c5
implement support for qcow2 images 2017-02-15 14:49:02 +01:00
parazyd
3165af5c09
disable sync in vagrantfile 2017-02-15 13:48:52 +01:00
parazyd
f002c12258
refresh libdevuansdk code 2017-02-14 20:03:12 +01:00
parazyd
a4cf35c5b6
apply fixes for a valid build 2017-02-14 18:46:21 +01:00
parazyd
056c2d943f
initial import of vm/vagrant code 2017-02-14 17:23:23 +01:00