vm: 'expression->derivation-in-linux-vm' code can now use dlopen.
authorLudovic Courtès <ludo@gnu.org>
Wed, 6 Jun 2018 21:11:18 +0000 (23:11 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 14 Jun 2018 09:16:59 +0000 (11:16 +0200)
commitbe43c08b172ecb17acf7ccfa033aab93d586fa19
treee165895b89946e46cbd386adad8409f3b00f3eba
parent49c393ccaae99dbddffcbebac73ecabeacd1bc9b
vm: 'expression->derivation-in-linux-vm' code can now use dlopen.

* gnu/system/vm.scm (expression->derivation-in-linux-vm)
[user-builder]: Define in non-monadic style as 'program-file'.
[loader]: Likewise, and 'execl' USER-BUILDER instead of loading it.
(system-docker-image): Pass BUILD as the second
argument to 'expression->derivation-in-linux-vm'.
(make-iso9660-image, qemu-image): Remove call to 'reboot'.
gnu/system/vm.scm