#86 is already adding support for build aquariums, but for certain tasks like building Android ROMs, it would be nice for Bob to be able to create build VMs. This functionality should probably be built into aquariums and maybe we could also use the same AquariumBuilder/Aquarium class but that I don't know. Either way, here are the steps needed for support:
- Linux kernel & imaging support for aquariums.
- VM support for aquariums.
- Integration into Bob.
Since we can't always dynamically change the size of the VM image and I want to leave users the freedom to back it with a ZVOL for instance, we should probably just let the user create a disk image themselves and then pass it on to Bob through an envvar or something.
What I wanna use this for
We could make a bsys for building Android ROMs for instance, when running bob build in https://github.com/LineageOS/android.
#86 is already adding support for build aquariums, but for certain tasks like building Android ROMs, it would be nice for Bob to be able to create build VMs. This functionality should probably be built into aquariums and maybe we could also use the same
AquariumBuilder/Aquariumclass but that I don't know. Either way, here are the steps needed for support:Since we can't always dynamically change the size of the VM image and I want to leave users the freedom to back it with a ZVOL for instance, we should probably just let the user create a disk image themselves and then pass it on to Bob through an envvar or something.
What I wanna use this for
We could make a bsys for building Android ROMs for instance, when running
bob buildin https://github.com/LineageOS/android.