summary refs log tree commit diff
path: root/pkgs/build-support/vm
Commit message (Collapse)AuthorAge
* reewide: Purge all uses `stdenv.system` and top-level `system`John Ericson2018-08-30
| | | | It is deprecated and will be removed after 18.09.
* treewide: Purge `stdenv.platform` and top-level `platform`John Ericson2018-08-20
| | | | Progress towards #27069
* [bot]: remove unreferenced codevolth2018-07-20
|
* 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
|
* lib, openssl: Get rid of openssl.systemJohn Ericson2018-01-26
| | | | We compute it on the fly, careful to avoid any mass rebuilds for now.
* 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
| * Init Centos 7.3 vmTools diskImageBenjamin Hipple2017-11-18
| | | | | | | | | | This commit adds the CentOS 7.3 base image from the CentOS vault, for use with building RPMs or evaluating Nix expressions.
* | vm: Create /dev/fullEelco Dolstra2017-11-21
|/ | | | https://hydra.nixos.org/build/64519371
* vm: remove trusty-updates hash as it changes too oftenDomen Kožar2017-09-14
|
* vm: bump trusty-updates hashDomen Kožar2017-09-11
| | | | | In future we might just not use the updates if hash changes too often.
* vm: Add trusty-updates to the packages listAntoine Eiche2017-08-30
|
* makeImageFromDebDist: Add extraDebs argumentsEelco Dolstra2017-07-27
| | | | | | | | | | | | This allows adding packages that are not part of the distribution, e.g.g extraDebs = [ (pkgs.fetchurl { name = "openjdk.deb"; url = http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/pool/main/o/openjdk-8/openjdk-8-jdk-headless_8u111-b14-3~14.04.1_amd64.deb; sha256 = "1n5ibpkx9pjmc4nr052rls1yqbq7ckav2rabixjhd4yxbyhjl0ap"; }) ];
* debian: 8.8 -> 8.9Eelco Dolstra2017-07-26
|
* NixOS VM tests: Don't create a setgid group in vde_switchEelco Dolstra2017-06-07
| | | | | | Nix no longer allows this for security reasons. http://hydra.nixos.org/build/53993125
* debian: 8.7 -> 8.8Eelco Dolstra2017-05-08
|
* /bin/sh -> ${stdenv.shell}rht2017-04-30
|
* build-support/vm: replace sha256 with sha1Jörg Thalheim2017-02-26
|
* GrrrEelco Dolstra2017-02-21
|
* Fix Ubuntu 16.10 nameEelco Dolstra2017-02-21
|
* Add Ubuntu 16.10Eelco Dolstra2017-02-21
|
* VM builds: Use -smp when enableParallelBuilding is setEelco Dolstra2017-02-21
|
* Add Fedora 25Eelco Dolstra2017-02-21
|
* VM tests: veryloose -> cache=looseEelco Dolstra2017-02-13
|
* cygwin-iso: fix the most obvious parts of bit rotMichael Raskin2017-02-09
| | | | Still doesn't build though. Is anyone still using it?
* debian: 8.6 -> 8.7Eelco Dolstra2017-01-17
|
* Use looser 9pfs caching in VM tests/buildsEelco Dolstra2016-12-29
| | | | | This can give significant speed ups, see https://github.com/edolstra/linux/commit/7e20254412c780a2102761fee92cb1d32ceeaefd.
* netcat: make netcat-openbsd the default netcat (#19411)sternenseemann2016-10-30
| | | | | | | The motivation for this change is the following: As gnu-netcat, e. g. does not support ipv6, it is not suitable as default netcat. This commit also fixes all obvious build issues caused by this change.
* Merge staging without python splitting for nowVladimír Čunát2016-10-14
|\ | | | | | | | | The split needs more time to finish rebuilding, but the rest seems OK and there are security fixes.
| * stdenv/stripHash: print to stdout, not to variableProfpatsch2016-10-11
| | | | | | | | | | | | | | | | | | | | `stripHash` documentation states that it prints out the stripped name to the stdout, but the function stored the value in `strippedName` instead. Basically all usages did something like `$(stripHash $foo | echo $strippedName)` which is just braindamaged. Fixed the implementation and all invocations.
* | add docs to docker build functionsAllen Nelson2016-09-29
|/ | | | | | | | | | bring back ls_tar replace goPackages with go don't hardcode /nix/store in vmTools more docs
* debian: 8.5 -> 8.6Eelco Dolstra2016-09-22
|
* runVM: mount devptsNikolay Amiantov2016-09-04
|
* runVM: check exit code before postVM evalNikolay Amiantov2016-09-04
|