summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* system: vm: Build vm-image using native qemu, for the Hurd.series-4069Jan (janneke) Nieuwenhuizen2020-05-24
| | | | | | | | | | | | | | | | | Cross-building a vm-image is usually done using a cross-qemu, e.g, qemu-ARM, because, e.g., a native, x86_64 Grub cannot install an armhf-Grub. That solution does not work for the Hurd, as there is no qemu-HURD. This patch enables cross building vm-images for the Hurd using a native qemu vm. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Run native qemu-command; use native linux, initrd, bootloader-package and bootloader-installer, for the Hurd. [preserve-target]: New helper to install cross-packages into the native vm. * gnu/bootloader/grub.scm (eye-candy): Use native font. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* system: vm: Do not register-closures when cross-building to the Hurd.Jan (janneke) Nieuwenhuizen2020-05-24
| | | | | | | | | This supports cross-building building a vm-image for the Hurd, running a native qemu. * gnu/system/vm.scm (qemu-image)[register-closures?]: Default to #f when cross-compiling to the Hurd. Only create sql-schema when actually registering closures.
* utils: Move 'reset-timestamps' out of database.Jan (janneke) Nieuwenhuizen2020-05-24
This supports calling reset-timestamps without loading sqlite3. * guix/store/database.scm (reset-timestamps): Move to... * guix/utils.scm (reset-timestamps): ... here. * gnu/build/vm.scm: Include it.