summary refs log tree commit diff
path: root/pkgs/build-support/vm/default.nix
Commit message (Collapse)AuthorAge
* vmTools: update current maintained debian versionsJörg Thalheim2021-05-27
| | | | Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
* vmTools: update current lts versions of ubuntuJörg Thalheim2021-05-26
|
* lzma: deprecate aliasSandro Jäckel2021-04-04
|
* treewide: stdenv.lib -> libPavol Rusnak2021-01-24
|
* lib: Clean up how linux and gcc config is specifiedJohn Ericson2021-01-23
| | | | | | | Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that commit for details. This reverts commit 0bc275e63423456d6deb650e146120c39c1e0723.
* Revert "lib: Clean up how linux and gcc config is specified"Jonathan Ringer2021-01-22
| | | | | | | This is a stdenv-rebuild, and should not be merged into master This reverts commit 8929989614589ee3acd070a6409b2b9700c92d65.
* lib: Clean up how linux and gcc config is specifiedJohn Ericson2021-01-21
| | | | | | | | | | | | | | | | The `platform` field is pointless nesting: it's just stuff that happens to be defined together, and that should be an implementation detail. This instead makes `linux-kernel` and `gcc` top level fields in platform configs. They join `rustc` there [all are optional], which was put there and not in `platform` in anticipation of a change like this. `linux-kernel.arch` in particular also becomes `linuxArch`, to match the other `*Arch`es. The next step after is this to combine the *specific* machines from `lib.systems.platforms` with `lib.systems.examples`, keeping just the "multiplatform" ones for defaulting.
* vm: Remove runInWindowsVM implementationaszlig2020-12-17
| | | | | | | | | | | | Originally this was meant to support other Windows versions than just Windows XP, but before I actually got a chance to implement this I left the project that I implemented this for. The code has been broken for years now and I highly doubt anyone is interested in resurrecting this (including me), so in order to make this less of a maintenance burden for everybody, let's remove it. Signed-off-by: aszlig <aszlig@nix.build>
* utillinux: rename to util-linuxGraham Christensen2020-11-24
|
* Merge pull request #82258 from erikarvstedt/fix-xchg-cachingFlorian Klink2020-06-01
|\ | | | | fix inconsistent caching of VM xchg dirs
| * qemu-vm: fix inconsistent caching of xchg dirsErik Arvstedt2020-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | xchg is advertised as a bidirectional exchange dir, but file content transfer from host to VM fails due to caching: If a file is read in the VM and then modified on the host, subsequent re-reads in the VM can yield old, cached data. This is caused by the use of 9p's cache=loose mode that is explicitly meant for read-only mounts. 9p doesn't provide any suitable cache modes, so fix this by disabling caching. Also, remove a now unnecessary sync in the test driver.
* | treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-10
| |
* | vmTools.diskImageFuns.debian9i386: update source urlSymphorien Gibol2020-03-29
|/ | | | | | referenced packets were removed from the mirrors Fixes #77396 #80041
* runInLinuxVM: Ensure tools requiring /etc/passwd workSamuel Dionne-Riel2020-02-20
| | | | | | | | | | | | | This includes, but is not limited to: * whoami * nix >= 2.3.1 See * https://github.com/NixOS/nixpkgs/issues/71157 * https://github.com/NixOS/nixops/issues/1216 * https://github.com/nix-community/nixops-libvirtd/issues/5
* vmTools.fillDiskWithRPMs: fix cpio useLancelot SIX2019-12-08
| | | | | | | | | | | | | | | | | When updating to cpio-2.13 in fe758f5fa368ebcdc03419c54412dd9abfd76b35, a patch from SUSE was dropped. This patch was intended to resolve CVE-2015-1197, and introduced the '--extract-over-symlink' option to disable its own effects. The CVE-2015-1197 was fixed in cpio-2.13 release[1] by other means, making this patch useless. Given that this patch is no longer used, we do not need to disable its effects anymore with the `--extract-over-symlink` argument switch. This Commit fixes #74984 [1] https://lists.gnu.org/archive/html/info-gnu/2019-11/msg00002.html
* Merge branch 'master' into os-prober-testLéo Gaspard2019-09-16
|\
| * treewide: remove redundant recvolth2019-08-28
| |
| * mirrors: Add centos mirror (#66537)Josef Kemetmüller2019-08-20
| | | | | | | | This should remove the need to rename links from mirror.centos.org to vault.centos.org as the removed comment mentions.
* | nixos/tests: add a test for os-proberSymphorien Gibol2019-06-09
|/
* vmTools: update debian-9.4 repositories to debian-9.8 Release.xz urlsAlexandre Peyroux2019-05-14
|
* Merge remote-tracking branch 'origin/master' into stagingMatthew Bauer2019-02-09
|\
| * Merge pull request #54626 from FlorianFranzen/bionicEelco Dolstra2019-02-05
| |\ | | | | | | buid-support: Add Ubuntu bionic base images
| | * buid-support: Add Ubuntu bionic base imagesFlorian Franzen2019-01-26
| | |
* | | Merge branch 'staging-next' into stagingVladimír Čunát2019-02-01
|\| |
| * | runInLinuxVM: pkgs.linux -> kernelvolth2019-01-29
| |/ | | | | | | | | There is a function params `kernel' intended to specify which kernel to use. It defaults to `pkgs.linux`. But when we override `kernel', compiling and using two kernels seems not to be the intendend bevavior.
* / treewide: use ${stdenv.shell} instead of /bin/sh where possiblernhmjoj2019-01-16
|/
* debian vm tools: use snapshot.debian.orgLinus Heckemann2018-10-08
| | | | | snapshot.debian.org actually keeps track of all of the updates as they come in rather than doing arbitrary (?) snapshots.
* Revert "virtualization/qemu-vm: fix and improve virtio/scsi switching"Sarah Brofeldt2018-09-25
| | | | | | | This reverts commit f777d2b719be0db4cb7819d5b6dbdd121db29a37. cc #34409 This breaks evaluation of the tested job: attribute 'diskInterface' missing, at /nix/store/5k9kk52bv6zsvsyyvpxhm8xmwyn2yjvx-source/pkgs/build-support/vm/default.nix:316:24
* virtualization/qemu-vm: fix and improve virtio/scsi switchingStefan Junker2018-09-22
|
* vmTools: update debian repositories to stable Release.xz urlsAndreas Rammhold2018-09-13
| | | | | | | Previously the Release.xz URL would show up with a new hash whenever debian releases an update. By using archive.org we should have a stable source for those. I wasn't able to find the equivalent in the debian world. Maybe they don't keep all the different Release files around..
* treewide: Purge `stdenv.platform` and top-level `platform`John Ericson2018-08-20
| | | | Progress towards #27069
* vmTools: Fix BusyBox runtime error in initrdaszlig2018-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the recent update of BusyBox to version 1.29.0 in d6aa506e3baa3565eb375bbf8a4e68c3e3134ec9 there is now a new dependency on libresolv. This now throws a runtime error when executing ash, eg. whenever we do something like this: nix-build -E 'with import ./. {}; vmTools.runInLinuxVM hello' The resulting error will be: .../ash: error while loading shared libraries: libresolv.so.2: cannot open shared object file: No such file or directory I tried to override BusyBox with enableStatic, but that still requires parts of glibc: Static linking against glibc, can't use --gc-sections Trying libraries: crypt m resolv Library crypt is not needed, excluding it Library m is needed, can't exclude it (yet) Library resolv is needed, can't exclude it (yet) Library m is needed, can't exclude it (yet) Library resolv is needed, can't exclude it (yet) Final link with: m resolv In the long term maybe switching to a more minimal C library such as musl would make more sense, but for now I just added libresolv.so to the initrd which fixes the runtime error. Signed-off-by: aszlig <aszlig@nix.build> Cc: @edolstra, @rbvermaa Signed-off-by: aszlig <aszlig@nix.build>
* vmTools: update Debian minor version to 8.11Jacob Mitchell2018-07-01
|
* azure: stop carrying qemu-220 patchCole Mickens2018-06-12
|
* runInLinuxVM: fix ext4 and crc32c-intel interactionsMichael Bishop2018-05-03
|
* vmTools: update Debian 9 names and hashesHenry Till2018-04-22
|
* vmTools: Add crc32c_generic to the initrdEelco Dolstra2018-04-10
| | | | | | | | This is necessary due to a e2fsprogs update (e6114781b0fad5345a2430fac3587d618273bda2) that causes mke2fs to enable a feature (metadata_csum) that depends on crc32c. https://hydra.nixos.org/build/72636785
* Fix typoEelco Dolstra2018-03-22
|
* vmTools: update distributionsNikolay Amiantov2018-02-21
| | | | | | | | Drop currently unsupported releases. Add Fedora 26 and 27. Update CentOS. Add Debian 9. Add Ubuntu 17.10.
* makeModulesClosure: support firmwareNikolay Amiantov2018-02-16
| | | | Link it in stage 1.
* runInLinuxVM: Use QEMU command line that works on other architecturesTuomas Tynkkynen2018-01-30
| | | | | ... by moving the existing definition to qemu-flags.nix and reusing that.
* runInLinuxVM: Don't hardcode x86-specific serial deviceTuomas Tynkkynen2018-01-30
|
* nixos/initrd: Don't include some x86-specific modules unconditionallyTuomas Tynkkynen2018-01-22
|
* build-support/vm: Autodetect kernel filenameTuomas Tynkkynen2018-01-22
| | | | It's 'Image' on AArch64.
* vmTools: omit '-drive ...' entirely instead of using /dev/nullWill Dietz2018-01-07
| | | | Fixes #33378.
* build-support/vm: Use devtmpfs, not static device nodesTuomas Tynkkynen2017-12-12
| | | | In 2017, there is no reason to create a static /dev.
* debian: 8.9 -> 8.10Eelco Dolstra2017-12-12
|
* Init Centos 7.4 vmTools diskImageBenjamin Hipple2017-12-03
| | | | | | | This commit adds the CentOS 7.4 base image from the CentOS mirror, for use with building RPMs or evaluating Nix expressions in a CentOS image. When CentOS 7.5 comes out, I will swap this URL to the permanently vaulted image.
* nixos/qemu-guest: Ensure virtio_mmio is available in initrdTuomas Tynkkynen2017-11-26
| | | | ARM and AArch64 might use virtio_mmio in some cases.
* Merge pull request #31801 from bhipple/centos-7.3-vmtools-imageGraham Christensen2017-11-22
|\ | | | | Init Centos 7.3 vmTools diskImage