Commit Graph

1295 Commits

Author SHA1 Message Date
Will Dietz
35dea87c70
Merge pull request #60133 from dtzWill/update/qemu-4.0.0
qemu: 3.1.0 -> 4.0.0
2019-05-21 03:12:21 -05:00
Sascha Grunert
9b43c29047 cri-o: init at version v1.14.1
This commits adds the CRI-O package, which includes the `crio` binary as
well as `conmon` and `pause`. The configuration is not part of this
package because it would be included in a service.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2019-05-20 11:12:11 +01:00
Spencer Baugh
4b8803dae6 switch users of "gnupg1" to plain "gnupg"
gnupg is gnupg 2.2. gnupg1 is also gnupg 2.2, just with a few extra
symlinks in the bin directory. None of these packages need those
symlinks, and it's confusing for them to say they're depending on
"gnupg1", so switch their dep to plain "gnupg".
2019-05-12 20:08:50 +02:00
Florian Klink
7495a761cc
virtualbox: python2 -> python3 (#61100)
virtualbox: python2 -> python3
2019-05-10 14:54:56 +02:00
Ambroz Bizjak
5bec9dc65b virtualbox: 5.2.28 -> 6.0.6
Quite some fixing was needed to get this to work.

Changes in VirtualBox and additions:

- VirtualBox is no longer officially supported on 32-bit hosts so i686-linux is removed from platforms
  for VirtualBox and the extension pack. 32-bit additions still work.

- There was a refactoring of kernel module makefiles and two resulting bugs affected us which had to be patched.
  These bugs were reported to the bug tracker (see comments near patches).

- The Qt5X11Extras makefile patch broke. Fixed it to apply again, making the libraries logic simpler
  and more correct (it just uses a different base path instead of always linking to Qt5X11Extras).

- Added a patch to remove "test1" and "test2" kernel messages due to forgotten debugging code.

- virtualbox-host NixOS module: the VirtualBoxVM executable should be setuid not VirtualBox.
  This matches how the official installer sets it up.

- Additions: replaced a for loop for installing kernel modules with just a "make install",
  which seems to work without any of the things done in the previous code.

- Additions: The package defined buildCommand which resulted in phases not running, including RUNPATH
  stripping in fixupPhase, and installPhase was defined which was not even run. Fixed this by
  refactoring using phases. Had to set dontStrip otherwise binaries were broken by stripping.
  The libdbus path had to be added later in fixupPhase because it is used via dlopen not directly linked.

- Additions: Added zlib and libc to patchelf, otherwise runtime library errors result from some binaries.
  For some reason the missing libc only manifested itself for mount.vboxsf when included in the initrd.

Changes in nixos/tests/virtualbox:

- Update the simple-gui test to send the right keys to start the VM. With VirtualBox 5
  it was enough to just send "return", but with 6 the Tools thing may be selected by
  default. Send "home" to reliably select Tools, "down" to move to the VM and "return"
  to start it.

- Disable the VirtualBox UART by default because it causes a crash due to a regression
  in VirtualBox (specific to software virtualization and serial port usage). It can
  still be enabled using an option but there is an assert that KVM nested virtualization
  is enabled, which works around the problem (see below).

- Add an option to enable nested KVM virtualization, allowing VirtualBox to use hardware
  virtualization. This works around the UART problem and also allows using 64-bit
  guests, but requires a kernel module parameter.

- Add an option to run 64-bit guests. Tested that the tests pass with that. As mentioned
  this requires KVM nested virtualization.
2019-05-09 23:36:57 +02:00
Graham Christensen
e2f6e36401
virtualbox: python2 -> python3 2019-05-07 14:54:39 -04:00
lewo
cbb0a0c108
Merge pull request #60466 from vdemeester/update-runc
runc: 1.0.0-rc7 -> 1.0.0-rc8
2019-05-05 09:22:06 +02:00
Mario Rodas
6e90393ead
looking-glass-client: fix build
spice-protocol removed the spice/error_codes.h header file [1], which
looking-glass-client was still using.

[1] 334cef51d0
2019-05-02 22:06:56 -05:00
Vincent Demeester
c64087b4a3
runc: 1.0.0-rc7 -> 1.0.0-rc8
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-04-30 10:56:50 +02:00
Artemis Tosini
ea29d811b5
virtualbox: 5.2.26 → 5.2.28 2019-04-28 23:07:55 +00:00
Neil Mayhew
48415a20b9 docker: 18.09.2 -> 18.09.5 2019-04-27 17:48:50 -04:00
Neil Mayhew
f100ec7939 docker: make overridable 2019-04-27 17:48:50 -04:00
volth
56b25e7034 qemu: fix cross (#60261) 2019-04-27 09:19:06 +02:00
Will Dietz
bf35e8f0ba qemu: drop fix-hda-recording.patch, appears applied upstream
(across multiple commits, maybe?)
2019-04-23 21:44:25 -05:00
Will Dietz
b6f020fe51 qemu: fix patch, drop CVE patch included 2019-04-23 21:44:23 -05:00
Will Dietz
9a711ccb8c qemu: 3.1.0 -> 4.0.0 2019-04-23 20:31:13 -05:00
Austin Seipp
d3fad881d6
firecracker: 0.15.0 -> 0.15.2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-22 11:52:40 -05:00
Vincent Demeester
6adf0f3e9a
containerd: 1.2.5 -> 1.2.6
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-04-09 20:05:38 +02:00
Vladimír Čunát
a6dd84a126
Merge #57951: qemu: apply CVE-2019-3812 patch 2019-04-07 11:23:20 +02:00
lewo
79016d9f40
Merge pull request #58732 from r-ryantm/auto-update/open-vm-tools
open-vm-tools: 10.3.5 -> 10.3.10
2019-04-06 19:29:35 +02:00
Vincent Demeester
91fc821cc1
podman: 1.1.2 -> 1.2.0
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-04-05 16:56:37 +02:00
markuskowa
3eecb297bc
Merge pull request #58936 from bzizou/charliecloud
charliecloud: init at 0.9.8
2019-04-04 14:43:36 +02:00
Bruno Bzeznik
8a298f8d5a charliecloud: init at 0.9.8 2019-04-04 14:16:48 +02:00
R. RyanTM
475ea05064 open-vm-tools: 10.3.5 -> 10.3.10
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/open-vm-tools/versions
2019-04-01 21:24:10 -07:00
Vincent Demeester
28a2dd8024
runc: 1.0.0-rc6 -> 1.0.0-rc7
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-03-29 11:12:04 +01:00
Andreas Rammhold
c7d7c6fc41
qemu: apply CVE-2019-3812 patch 2019-03-20 11:15:41 +01:00
aszlig
12efcc2dee
Merge overlayfs fix, LTS kernel bump and test
In Linux 4.19 there has been a major rework of the overlayfs
implementation and it now opens files in lowerdir with O_NOATIME, which
in turn caused issues in our VM tests because the process owner of QEMU
doesn't match the file owner of the lowerdir.

The crux here is that 9p propagates the O_NOATIME flag to the host and
the guest kernel has no way of verifying whether that flag will lead to
any problems beforehand.

There is ongoing work to possibly fix this in the kernel, but it will
take a while until there is a working patch and consensus.

So in order to bring our default kernel back to 4.19 and of course make
it possible to run newer kernels in VM tests, I'm merging a small QEMU
patch as an interim solution, which we can drop once we have a working
fix in the next round of stable kernels.

Now we already had Linux 4.19 set as the default kernel, but that was
subsequently reverted in 048c36ccaa
because the patch we have used was the revert of the commit I bisected a
while ago.

This patch broke overlayfs in other ways, so I'm also merging in a VM
test by @bachp, which only tests whether overlayfs is working, just to
be on the safe side that something like this won't happen in the future.

Even though this change could be considered a moderate mass-rebuild at
least for GNU/Linux, I'm merging this to master, mainly to give us some
time to get it into the current 19.03 release branch (and subsequent
testing window) once we got no new breaking builds from Hydra.

Cc: @samueldr, @lheckemann

Fixes: https://github.com/NixOS/nixpkgs/issues/54509
Fixes: https://github.com/NixOS/nixpkgs/issues/48828
Merges: https://github.com/NixOS/nixpkgs/pull/57641
Merges: https://github.com/NixOS/nixpkgs/pull/54508
2019-03-19 00:15:51 +01:00
Jason Samsa
a7147c868f update xhyve to tip of master 2019-03-18 17:39:18 -05:00
aszlig
4c1ddb3a57
qemu: Apply interim fix for overlayfs + O_NOATIME
Our VM tests and everything related to our virtualisation infrastructure
is currently broken if used with kernel 4.19 or later.

The reason for this is that since 4.19, overlayfs uses the O_NOATIME
flag when opening files in lowerdir and this doesn't play nice with the
way we pass the Nix store to our QEMU guests.

On a NixOS system, paths in the Nix store are typically owned by root
but the QEMU process is usually run by an ordinary user. Using O_NOATIME
on a file where you're not the owner (or superuser) will return with
EPERM (Operation not permitted).

This is exactly what happens in our VM tests, because we're using
overlayfs in the guests to allow writes to the store.

Another implication of this is that the default kernel version for NixOS
19.03 has been reverted to Linux 4.14.

Work on getting this upstream is still ongoing and the patch I posted
previously was incomplete, needs rework and also some more review from
upstream maintainers - in summary: This will take a while.

So instead of rushing in a kernel patch to nixpkgs, which will affect
all users of overlayfs, not just NixOS VM tests, I opted to patch QEMU
for now to ignore the O_NOATIME flag in 9p.

I think this is also the least impacting change, because even if you
care about whether access times are written or not, you get the same
behaviour as with Linux 4.19 in conjunction with QEMU.

Signed-off-by: aszlig <aszlig@nix.build>
Fixes: https://github.com/NixOS/nixpkgs/issues/54509
2019-03-18 13:34:30 +01:00
Vincent Demeester
115dde6d33
containerd: 1.2.4 -> 1.2.5
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-03-14 17:05:29 +01:00
Jascha Geerds
ffedc3e4a9 misc: Remove myself from list of maintainers
Unfortunately I don't have the time anymore to maintain those
packages.
2019-03-12 23:50:52 +01:00
Florian Franzen
871c1d5bb1 virtmanager: Fix gobject-introspection (#57385) 2019-03-12 22:29:45 +01:00
Michael Raskin
fdeb864cc8
Merge pull request #57498 from r-ryantm/auto-update/virt-viewer
virt-viewer: 7.0 -> 8.0
2019-03-12 15:28:30 +00:00
R. RyanTM
8f92b77ab4 virt-viewer: 7.0 -> 8.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/virt-viewer/versions
2019-03-12 02:09:33 -07:00
Wael M. Nasreddine
eee09b103c
docker: export GOCACHE for all platforms 2019-03-11 09:59:10 -07:00
Vincent Demeester
54cf5b4bbf containerd: 1.2.2 -> 1.2.4 (#56947)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-03-08 22:56:00 +01:00
Vincent Demeester
1bd0655e6d podman: 1.1.0 -> 1.1.2 (#56945)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-03-08 22:31:58 +01:00
lewo
f5462b19d5
Merge pull request #56513 from vdemeester/update-podman
Update podman
2019-03-05 21:12:51 +01:00
Jörg Thalheim
27cb0669c6
Merge pull request #56500 from kalbasit/nixpkgs_add-support-go-1-12
go_1_12: init at go 1.12
2019-03-04 14:22:27 +00:00
jD91mZM2
4901af69c5 x11docker: v5.4.1 -> v5.4.4 (#56570) 2019-03-04 13:38:19 +01:00
Wael M. Nasreddine
6ef04cabd4
go_1_12: init at go 1.12 2019-03-02 14:24:17 -08:00
R. RyanTM
d047e1e397 docker-compose: 1.23.1 -> 1.23.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/docker-compose/versions
2019-03-01 18:16:02 -08:00
Frederik Rietdijk
2fcb11a244 Merge staging-next into master 2019-03-01 09:06:20 +01:00
Vincent Demeester
42a79f7bc2
podman: 1.0.0 -> 1.1.0
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-02-28 11:54:53 +01:00
Vincent Demeester
e8a4d2a2be
conmon: unstable-2018-11-28 -> unstable-2019-02-15
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-02-28 11:25:24 +01:00
Averell Dalton
d6c2fe76ed nvidia-docker: init at 2.0.3
nvidia_x11 and persistenced were modified to provide binaries which can be
mounted inside a docker-container to be executed there.

most ldconfig-based discovery of bundled nvidia libraries is patched out

ldconfig itself is patched to be able to deal with patchelf'ed libraries
See https://sourceware.org/bugzilla/show_bug.cgi?id=23964
2019-02-27 09:56:03 +01:00
Frederik Rietdijk
c2eac6741b Merge master into staging-next 2019-02-24 09:19:12 +01:00
Florian Klink
29d7e7a0c6 virtualbox: 5.2.22 -> 5.2.26 (#56210) 2019-02-22 17:55:47 -08:00
Austin Seipp
d011a91b70
firecracker: 0.14.0 -> 0.15.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-22 13:23:46 -06:00
Vladimír Čunát
71f4ba29a3
Merge branch 'master' into staging-next
Hydra nixpkgs: ?compare=1506218
2019-02-22 17:51:01 +01:00
Vladimír Čunát
4ba49d3d6c
Merge #55988: treewide meta.platforms: linux -> unix 2019-02-22 07:59:34 +01:00
Frederik Rietdijk
e2cd07b997 Merge staging-next into staging 2019-02-21 07:54:33 +01:00
zimbatm
288f353cdb
firecracker: 0.13.0 -> 0.14.0 2019-02-20 21:16:30 +01:00
Michael Weiss
5a4c8092c0
dynamips: 0.2.19 -> 0.2.20 2019-02-20 20:36:39 +01:00
Matthew Bauer
b1bbd94bb6 Merge remote-tracking branch 'NixOS/master' into staging 2019-02-18 20:36:48 -05:00
Frederik Rietdijk
815b77cbe6 Merge master into staging-next 2019-02-18 14:18:04 +01:00
Freezeboy
8f87a61de2 Replace platforms.linux with platforms.darwin for expressions that compile on darwin too (too restrictive platforms) 2019-02-18 10:56:58 +01:00
Justin Bedő
05ab1a6e5a
Merge branch 'master' into singularity 2019-02-17 21:49:37 +00:00
Vladimír Čunát
f7f1a2f54e
Merge branch 'master' into staging-next
A mass darwin rebuild from master (#55784).
2019-02-17 08:05:24 +01:00
Jaka Hudoklin
fcf505ad09
Merge pull request #55803 from r-ryantm/auto-update/virt-manager
virtmanager: 2.0.0 -> 2.1.0
2019-02-16 13:29:21 +01:00
Maximilian Bosch
3784198856
Merge pull request #55723 from jD91mZM2/x11docker
x11docker: init at 5.4.1
2019-02-16 10:27:42 +01:00
Frederik Rietdijk
fd48a94b62 Merge staging-next into staging 2019-02-16 09:30:46 +01:00
Frederik Rietdijk
6fe10d2779 Merge master into staging-next 2019-02-16 09:29:54 +01:00
Samuel Dionne-Riel
f8eef26991
Merge pull request #55732 from oxij/tree/move-defaults-to-package-files-mostly-pulse
all-packages.nix: move defaults to package files continues
2019-02-15 17:49:01 -05:00
jD91mZM2
5a00711ef8
x11docker: init at 5.4.1 2019-02-15 17:16:42 +01:00
R. RyanTM
912751bad8 virtmanager: 2.0.0 -> 2.1.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/virt-manager/versions
2019-02-14 23:22:42 -08:00
Daiderd Jordan
9edf7609ec
Merge pull request #55668 from bwolf/qemu-darwin-hvf
qemu: Add support for the Hypervisor framework on Darwin
2019-02-14 22:19:40 +01:00
Jan Tojnar
606ceda352
gnome3: stop using aliases 2019-02-14 02:31:15 +01:00
Jan Malakhovski
e295651108 virtualbox: move defaults to package file 2019-02-13 23:12:38 +00:00
Frederik Rietdijk
7257dedd7c Merge master into staging-next 2019-02-13 12:33:29 +01:00
Marcus Geiger
355d9a6378 qemu: Add support for the Hypervisor framework on Darwin
This provides macOS native hardware acceleration to Qemu.
2019-02-12 22:58:50 +01:00
Sarah Brofeldt
09080380ee docker: 18.09.1 -> 18.09.2 2019-02-12 13:14:31 +00:00
Matthew Bauer
5c09d977c7 Merge remote-tracking branch 'origin/master' into staging 2019-02-09 12:14:06 -05:00
tilpner
b02d871652
podman: install manpages 2019-02-08 14:31:33 +01:00
Daniel Kuehn
3b7713a4d6 qemu: Add argument to enable support for ceph rbd storage 2019-02-06 19:53:23 +01:00
scalavision
f08b99c42f singularity: rewrite path to cp in bootstrap script 2019-02-05 16:53:33 -05:00
scalavision
f392a07e61 singularity: 2.6.0 -> 2.6.1 2019-02-05 13:13:32 -05:00
Joachim F
6e8ce991f8
Merge pull request #55070 from lopsided98/lkl-hijack-fix
lkl: install liblkl.so and liblkl-hijack.so
2019-02-04 10:29:47 +00:00
Florian Klink
bb49dca6aa cbfstool: 4.7 -> 4.9
also fix source, followup of #55066
2019-02-02 23:31:55 +01:00
Ben Wolsieffer
2ebb4a358c lkl: install liblkl.so and liblkl-hijack.so 2019-02-01 23:31:50 -05:00
Vladimír Čunát
8ba516664b
Merge branch 'staging-next' into staging 2019-02-01 09:42:53 +01:00
Justin Bedo
5611397f33
singularity: 2.6.0 -> 3.0.1 2019-01-31 09:21:18 +11:00
Vincent Demeester
bd51ec497c
containerd: 1.2.1 -> 1.2.2
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-01-28 15:51:23 +01:00
Matthew Bauer
92f0f8dd68 Merge remote-tracking branch 'NixOS/master' into staging 2019-01-27 00:01:13 -05:00
Will Dietz
18f23748dc
Merge pull request #54574 from dtzWill/update/docker-18.09.1
docker: 18.09.0 -> 18.09.1
2019-01-26 13:08:28 -06:00
Florian Franzen
dd5fab287e virt-viewer: Fix USB redirection 2019-01-26 17:07:43 +01:00
Will Dietz
487a43324e docker: 18.09.0 -> 18.09.1
https://github.com/docker/docker-ce/releases/tag/v18.09.1
2019-01-25 07:37:39 -06:00
Vladimír Čunát
3fe32b675e
Merge branch 'master' into staging 2019-01-22 15:59:42 +01:00
Vincent Demeester
de5fd9e611
podman: 0.12.1.2 -> 1.0.0
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-01-21 12:24:12 +01:00
Jörg Thalheim
3ca7722757
podman: use buildGoPackage 2019-01-21 12:21:12 +01:00
Vincent Demeester
1a10caf4df
podman: 0.12.1 -> 0.12.1.2
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-01-21 12:21:12 +01:00
Vincent Demeester
e3452cd875
podman: 0.11.1 -> 0.12.1
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-01-21 12:21:12 +01:00
Vincent Demeester
a97b42511f
podman: add patch from containers/libpod#1977
Removes the `-i` from the `go build` commands. Once the PR is merged
and released, this patch won't be required anymore.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-01-21 12:21:12 +01:00
Vincent Demeester
b5eda4cccc
podman: init at 0.11.1.1
podman is a binary build from libpod : libpod is a library used to
create container pods. podman aims to be *almost* compatible with the
docker cli but doesn't require a docker daemon.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-01-21 12:21:11 +01:00
Vincent Demeester
933b8388da
conmon: init at unstable-2018-11-28
conmon is a required dependency for `podman`

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-01-21 12:21:09 +01:00
lewo
befc464d4c
Merge pull request #54056 from r-ryantm/auto-update/remotebox
remotebox: 2.5 -> 2.6
2019-01-20 18:31:18 +01:00
Michael Weiss
af100d55d3
dynamips: 0.2.18 -> 0.2.19 2019-01-19 17:20:37 +01:00
Frederik Rietdijk
d531da6f8a
Merge pull request #54094 from rnhmjoj/shell
treewide: use ${stdenv.shell} instead of /bin/sh where possible
2019-01-19 14:15:51 +01:00
rnhmjoj
bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
Will Dietz
94a8a9b812
Merge pull request #52541 from dtzWill/update/iasl-2018-and-xen-fix
iasl: 20180313 -> 20181213; patch xen to work with new acpica-tools
2019-01-16 08:53:32 -06:00