nixpkgs/pkgs/os-specific/linux
aszlig 389e654e03
systemd: Backport fix for detecting VirtualBox.
This is a backport of systemd/systemd@e32886e.

As noted by @ts468 in #9876, systemd-detect-virt will report KVM if
we're running inside VirtualBox 5.x. Instead of just disabling the
check, this essentially fixes systemd to be able to detect VirtualBox
again.

Tested this against nixos/tests/simple.nix (just to make sure systemd is
still working) and nixos/tests/virtualbox.nix (all tests succeed).

Thanks a lot to @ts468 for catching this and also to @domenkozar for
testing various things concerning that bug.

Fixes #9876.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-09-17 16:02:43 +02:00
..
915resolution * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless 2012-01-18 20:16:00 +00:00
acpi transformed meta.maintainers of some packages into lists 2014-09-13 13:52:02 +02:00
acpi-call Try to fix acpi_call for 3.17 2014-10-06 12:15:46 +04:00
acpid acpid: 2.0.23 -> 2.0.25 2015-08-18 11:32:29 -07:00
acpitool Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
afuse afuse: change from git to tarball source 2015-01-11 13:21:37 -08:00
alienfx Add #include <unisted.h> for sleep and usleep 2014-01-25 13:46:48 -05:00
alsa-firmware alsa-firmware: longDescription => description 2015-03-18 21:26:20 +01:00
alsa-lib alsaLib: 1.0.28 -> 1.0.29 2015-04-25 21:27:53 -07:00
alsa-oss alsa{Oss,Utils}: update to 1.0.28 2014-06-20 10:12:43 +02:00
alsa-plugins alsa-plugins: 1.0.28 -> 1.0.29 2015-04-25 21:43:37 -07:00
alsa-utils AlsaUtils: 1.0.28 -> 1.0.29 2015-04-11 15:10:35 -03:00
android-udev-rules android-udev-rules: 20150301 -> 20150821 2015-08-22 18:24:20 +08:00
apparmor apparmor: don't depend on tetex 2015-08-26 20:38:41 +02:00
ati-drivers Only use underscored versions of read_cr4 and write_cr4 in 3.18 and above. 2015-08-03 21:42:08 -04:00
atop atop: update 2.1-1 -> 2.2-3 2015-07-05 00:32:53 +03:00
audit audit: Update to 2.4.2 2015-06-04 14:54:53 +02:00
autofs Fix references to current-system/sw/sbin 2015-04-01 13:57:36 -07:00
batman-adv alfred: Add new package 2015-01-18 00:02:56 +01:00
bbswitch bbswitch: maintain, fix (transient?) hash failure 2015-04-06 02:58:30 +03:00
blcr blcr: drop support for kernel 3.12 2015-09-12 13:17:01 +02:00
bluez bluez5: 5.32 -> 5.33 2015-08-18 11:33:23 -07:00
bridge-utils bridge-utils: Add missing patch 2014-11-15 14:21:32 -08:00
broadcom-sta broadcom-sta: fixes for kernel version >= 3.18 2015-05-05 16:34:59 -04:00
busybox busybox: 1.22.1 -> 1.23.2 2015-05-06 00:15:16 -07:00
can-utils can-utils: updated homepage url (close #9425) 2015-08-24 18:55:55 +02:00
cgmanager cgmanager: 0.36 -> 0.37 2015-07-31 17:11:11 -07:00
checkpolicy selinux: Use fstack-protector=all 2015-07-31 17:11:11 -07:00
checksec checksec: use binutils instead of elfutils 2015-04-05 21:13:26 +02:00
cifs-utils fetchurl: collate samba project urls into a mirror 2015-02-08 22:29:27 +01:00
conky conky: 1.9.0 -> 1.10.0 2015-08-30 14:18:47 +00:00
conntrack-tools conntrack_tools: 1.4.2 -> 1.4.3; maintain 2015-09-10 23:01:30 +02:00
consoletools linux-console-tools: update from 1.4.7 to 1.4.8 2015-02-06 15:31:32 +01:00
conspy Update conspy; note the project move to SF.net 2014-08-31 20:18:53 +04:00
cpufrequtils Change occurrences of gcc to the more general cc 2014-12-26 11:06:21 -06:00
cpupower Fixed many descriptions 2014-11-11 14:36:34 +01:00
cramfsswap Use mirror:// URIs for ftp.debian.org 2015-05-22 10:39:27 +02:00
criu criu: upgrade to 1.3-rc2 2014-08-11 21:49:54 +03:00
cryopid
cryptodev Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
cryptsetup cryptsetup: Use openssl instead of libgcrypt 2015-05-18 13:12:27 -07:00
dietlibc
directvnc all-packages: Use callPackage where possible 2015-09-14 22:27:19 -06:00
disk-indicator fix: add missing versions 2015-06-04 23:34:14 +03:00
dmidecode dmidecode: 2.12 -> 3.0 2015-09-13 15:55:49 -07:00
dmraid dmraid: Fix install target in lib/Makefile.in. 2014-10-03 01:14:53 +02:00
dmtcp dmtcp: major update (close #5229) 2015-01-20 15:25:39 +01:00
drbd drbd: hash changed 2015-04-20 15:59:13 +00:00
dstat dstat: add python-wifi dependency for --wifi 2015-09-14 23:53:21 +02:00
e3cfsprogs Remove obsolete useDietLibC stdenv adapter 2014-10-29 13:43:00 +01:00
e1000e Update and fix kernel packages to new kernel build 2014-01-04 21:17:04 -05:00
ebtables ebtables: Update to 2.0.10-4 and fix build 2013-01-28 17:19:01 +01:00
edac-utils Fixed some descriptions 2015-06-29 16:20:58 +02:00
eudev eudev: disable install-exec-hook target (ZHF) 2015-07-09 12:28:24 +02:00
fanctl fanctl: fix state directory 2015-08-22 14:14:56 -04:00
fatrace Don't use "with licenses;" for single licences 2015-05-28 19:20:29 +02:00
fbterm Upstream tracking files for asymptote and fbterm 2012-12-04 14:55:19 +04:00
ffado Revert "Refactor mkFlag / shouldUsePkg into the nixpkgs libraries" 2015-06-04 14:54:48 +02:00
firejail firejail: Fix source URL 2015-07-12 21:12:06 +02:00
firmware linux-firmware: 2015-07-23 -> 2015-09-07 2015-09-07 23:10:53 -07:00
flashbench Add package 'flashbench'. 2015-01-03 22:49:08 +01:00
forktty Adding forktty terminal connection/disconnection helper 2013-10-20 20:27:50 +04:00
frandom Merge remote-tracking branch 'origin/master' into staging. 2014-08-04 16:51:47 +02:00
freefall freefall: 3.19 -> 4.2 2015-08-31 17:17:30 +02:00
ftop Don't use "with licenses;" for single licences 2015-05-28 19:20:29 +02:00
fuse transformed meta.maintainers of some packages into lists 2014-09-13 13:52:02 +02:00
fusionio meta.description fixups 2015-04-30 18:17:42 +02:00
fxload * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless 2012-01-18 20:16:00 +00:00
gfxtablet Adding desktop side of GfxTablet tablet-as-input-device Android app 2013-10-22 09:30:49 +04:00
gogoclient Another attempt to eradicate ensureDir 2014-06-30 14:56:10 +02:00
google-authenticator Merge remote-tracking branch 'origin/master' into staging. 2014-08-04 16:51:47 +02:00
gradm gradm: fix download (ZHF) 2015-07-22 10:04:00 +02:00
guvcview add guvcview package 2014-02-07 00:01:40 +00:00
hal-flash Use common licence attributes from lib/licenses.nix 2015-05-27 22:00:06 +02:00
hdparm hdparm: 9.45 -> 9.48 2015-07-09 17:30:35 -07:00
hibernate Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
hostapd hostapd: Refactoring 2015-04-24 15:12:55 -07:00
htop htop: also touch headers in subdirectories 2015-09-11 05:12:06 +02:00
hwdata hwdata: 249 -> 276 2015-03-26 12:00:34 -07:00
i2c-tools i2c-tools: New package at version 3.1.1 2015-06-15 17:49:35 +02:00
i7z Merge remote-tracking branch 'origin/master' into staging. 2014-08-04 16:51:47 +02:00
i810switch Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
ifenslave ifenslave: Add new package 2013-12-31 09:28:52 -06:00
ifplugd
ima-evm-utils ima-evm-utils: init at 1.0.0 2015-08-04 01:10:13 +02:00
iomelt Don't use ensureDir 2014-07-22 11:01:32 +02:00
iotop buildPythonPackage: fix more borken packages 2014-02-21 18:29:57 +01:00
iproute nixos: add support for Ubuntu Fan Networking 2015-08-13 14:27:14 -04:00
ipsec-tools ipsec-tools: apply debians patch to fix CVE-2015-4047 2015-06-08 13:56:42 +02:00
ipset ipset: 6.24 -> 6.26 2015-08-28 17:49:15 -07:00
iptables Trying to update iptables - apparently, already latest 2014-12-13 12:55:24 +03:00
iputils iputils: Don't depend on both GNU TLS and OpenSSL 2013-06-04 14:57:37 +02:00
iw iw: 3.15 -> 4.1 2015-06-08 17:41:10 -07:00
jfbview Remove unnecessary rec{s from "my" packages 2015-07-31 02:02:07 +02:00
jool jool: init at 3.3.2 2015-07-12 07:25:44 +02:00
jujuutils Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
kbd Merge branch 'master.upstream' into staging.upstream 2015-08-19 13:54:48 -07:00
kbdlight Add kbdlight package and setuid wrapper 2015-05-11 13:23:01 +08:00
kernel grsecurity: Update patches 2015-09-16 13:35:41 -07:00
kernel-headers Remove unused file 2015-07-22 12:25:11 +02:00
kernel-headers-cross
kexectools kexec-tools: 2.0.9 -> 2.0.10 2015-07-03 04:28:43 +02:00
keyutils Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
klibc klibc: bump 2014-09-05 19:09:00 -04:00
kmod Unmaintain a bunch of packages 2015-07-01 08:11:05 -04:00
kmod-blacklist-ubuntu Revert "kmod-blacklist-ubuntu: update to Vivid" 2015-06-08 12:34:24 +02:00
kmod-debian-aliases kmod-debian-aliases: init at 21-1 2015-09-13 10:55:44 +02:00
kmscon Unmaintain a bunch of packages 2015-07-01 08:11:05 -04:00
latencytop Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
ldm ldm: Bump to 0.5. 2014-08-12 13:52:48 +02:00
libaio libaio: update to 0.3.110 2014-08-29 13:45:04 +01:00
libatasmart Upgrade libatasmart from 0.17 -> 0.19 2013-11-29 02:08:52 -06:00
libcap Remove isLinux assertion from libcap 2015-05-15 15:33:35 -07:00
libcap-ng Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
libcgroup nixpkgs: libcgroup adopt, bump 0.38 -> 0.41 2015-04-11 15:22:52 -05:00
libnl libnl 3.2.25 -> 3.2.26 2015-06-03 22:41:30 +02:00
libnscd
libselinux policycoreutils: 2.3 -> 2.4 2015-07-31 17:11:11 -07:00
libsemanage selinux: Use fstack-protector=all 2015-07-31 17:11:11 -07:00
libsepol selinux: Use fstack-protector=all 2015-07-31 17:11:11 -07:00
libsmbios
libvolume_id libvolume_id: update from 0.81.0 to 0.81.1 2013-12-13 22:41:58 +02:00
light Add "light" package and setuid wrapper 2014-11-09 19:45:43 -07:00
lightum fix: add missing versions 2015-06-04 23:34:14 +03:00
lm-sensors lm_sensors: update from 3.3.4 to 3.3.5 2014-02-04 21:58:25 +02:00
lockdep nixpkgs: lockdep 3.19.1 -> 4.1.2 2015-07-20 13:52:33 -05:00
lsiutil Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
lsscsi lsscsi: update from 0.24 to 0.27 2013-12-14 00:16:59 +02:00
lttng-modules lttng-modules: 2.6.2-1-g7a88f8b -> 2.6.3 2015-09-14 21:45:37 +02:00
lvm2 lvm2: 2.02.124 -> 2.02.128 2015-08-18 17:01:13 -07:00
lxc lxc: 1.1.2 -> 1.1.3 2015-08-18 11:33:37 -07:00
macchanger macchanger: 1.6.0 -> 1.7.0 2015-03-26 15:04:44 -07:00
mbpfan mbpfan: new package 2015-04-30 21:21:15 -04:00
mcelog mcelog: 125 -> 126 2015-09-15 00:17:18 +02:00
mdadm mdadm: add gcc5 compat 2015-06-12 15:40:38 -07:00
microcode microcode-amd: Update to early loading 2015-03-25 14:44:19 -07:00
mingetty Set some meta.platforms 2015-03-20 20:04:42 +01:00
module-init-tools Merge remote-tracking branch 'origin/glibc-2.20' into staging 2014-11-16 22:17:36 +01:00
mstpd mstpd: Fix patch 2015-01-07 13:44:15 -08:00
multipath-tools Eradicate gzip -9 without -n 2014-12-28 13:45:27 +01:00
musl nixpkgs: musl 1.1.10 -> 1.1.11 2015-08-31 03:17:17 -05:00
ndiswrapper Update and fix kernel packages to new kernel build 2014-01-04 21:17:04 -05:00
net-tools Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
netatop kernelPackages_3_17.{netatop,betman-adv}: disable 2014-10-10 21:35:26 +02:00
nfs-utils nfs-utils: 1.2.5 -> 1.3.2, potentially fixes CVE-2013-1923 2015-07-20 12:20:42 +03:00
nftables nftables: 0.3 -> 0.4 2014-12-17 14:44:30 -08:00
nss_ldap nss_ldap: fixing crash with glibc >= 2.16 2013-05-17 10:23:37 +02:00
numactl numactl: 1.0.2 -> 2.0.10 2015-04-21 20:57:58 -07:00
nvidia-x11 nvidia-x11: don't install libvdpau* that we have already 2015-09-01 13:27:12 +02:00
nvidiabl nvidiabl: fix for other kernel versions than current 2015-03-18 10:48:45 +01:00
open-iscsi Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
opengl/xorg-sys rename all occurrences of stdenv.cc.gcc to stdenv.cc.cc 2015-01-14 20:27:55 -08:00
openvswitch Fixed meta.license: s/licence/license 2015-05-30 15:19:05 +02:00
otpw Merge remote-tracking branch 'origin/master' into staging. 2014-08-04 16:51:47 +02:00
pam pam: 1.2.0 -> 1.2.1 2015-07-19 12:22:51 -07:00
pam_ccreds More description fixes 2013-10-06 12:01:38 +02:00
pam_devperm
pam_krb5 pam_krb5: Use the eyrie version 4.7 2015-01-04 22:39:22 -08:00
pam_ldap change md5sum to sha256sum for a few packages 2014-10-12 16:13:21 +02:00
pam_mount pam_mount: fix PATH issue 2015-07-04 16:36:47 +02:00
pam_ssh_agent_auth pam_ssh_agent_auth: fix nix eval 2013-05-23 15:24:15 +02:00
pam_u2f add support for pam_u2f to nixos pam module 2015-05-03 19:22:00 +01:00
pam_usb Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
pax-utils nixpkgs: pax-utils 1.0.5 -> 1.1.1 2015-08-31 03:17:17 -05:00
paxctl Merge recent master into staging 2014-09-13 21:48:29 +02:00
pcmciautils pcmcia-utils: update to 017 2015-02-05 17:13:05 +03:00
perf-tools nixpkgs: perf-tools 20150704 -> 20150723 2015-07-24 00:31:45 -05:00
phc-intel phc-intel: 0.4.0-rev{17 -> 18} for Linux 4.2 2015-08-31 20:53:41 +02:00
pipework pipework: init at 2015-07-30 2015-08-10 15:01:34 -04:00
plymouth plymouth: hacky fix build (automake-related) 2015-03-04 22:02:09 +01:00
pm-utils Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
pmount Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
pmtools Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
policycoreutils policycoreutils: fix i686-linux compilation error, closes #9544 2015-08-31 09:39:07 +02:00
pommed Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
powertop powertop: Patch out path to /sbin/modprobe (close #8702) 2015-07-09 11:57:38 +02:00
prl-tools "Parallel Tools" -> Parallels Tools 2015-09-15 08:51:02 +02:00
procps Revert "procps: 3.2.8 -> 3.3.10" 2015-03-27 10:52:14 -07:00
procps-ng procps-ng: 3.3.10 -> 3.3.11 2015-08-18 11:12:34 -07:00
psmisc psmisc: (from upstream) Typo in fuser makes -M on all the time 2014-04-27 20:19:31 +02:00
psmouse-alps Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
radeontools Fix broken license references. 2014-07-28 11:43:20 +02:00
radeontop radeontop: 2015-06-24 -> 2015-08-06 2015-08-06 16:21:59 +02:00
read-edid read-edid: New package at version 3.0.2 2015-06-15 17:49:35 +02:00
regionset
reptyr reptyr: 0.5 -> 0.6.2 2015-08-27 10:11:11 +02:00
rfkill Another attempt to eradicate ensureDir 2014-06-30 14:56:10 +02:00
rtkit rtkit: Update from 0.10 to 0.11 2014-04-21 23:22:10 +02:00
rtl8812au rtl8812au: init at 4.2.2 2015-09-03 23:50:05 +02:00
s6-linux-utils Add myself as maintainer for skarnet software 2015-06-01 15:20:56 -05:00
schedtool schedtool: add package 2015-04-22 17:50:41 +03:00
sdparm Don't use "with licenses;" for single licences 2015-05-28 19:20:29 +02:00
sepolgen sepolgen: 1.2.1 -> 1.2.2 2015-07-31 17:11:11 -07:00
setools setools: 3.3.8 -> 2015-02-12 2015-07-31 17:11:11 -07:00
seturgent fix: add missing versions 2015-06-04 23:34:14 +03:00
shadow Upgrade shadow package 2014-08-01 21:19:21 +03:00
sinit Don't trust sinit snapshots to be stable 2014-12-08 14:49:34 +03:00
smem Merge recent master into staging 2014-09-13 21:48:29 +02:00
spl spl: Update to 0.6.5 2015-09-11 17:45:38 -07:00
statifier statifier: fix meta.platforms syntax 2015-07-20 12:32:01 +02:00
sysdig sysdig: 0.1.101 -> 0.1.102 2015-08-08 21:01:31 +03:00
sysfsutils Turn more licenses into lib.licenses style 2014-11-06 00:48:16 +00:00
sysklogd Set some meta.platforms 2015-03-20 20:04:42 +01:00
syslinux syslinux: Fix failed loading on gcc5 2015-07-06 17:49:07 -07:00
sysstat Fix sysstat build. 2014-12-18 14:47:22 +01:00
systemd systemd: Backport fix for detecting VirtualBox. 2015-09-17 16:02:43 +02:00
sysvinit Set some meta.platforms 2015-03-20 20:04:42 +01:00
tcp-wrappers Remove duplicate tcp-wrappers package 2012-11-29 15:26:13 +01:00
tp_smapi Update and fix kernel packages to new kernel build 2014-01-04 21:17:04 -05:00
trace-cmd nixpkgs: trace-cmd 2.5.3 -> 2.6 2015-08-31 03:17:18 -05:00
trinity trinity: init at version 1.5 2015-04-26 00:03:01 +03:00
ttysnoop Fix license attribute in ttysnoop 2013-10-20 21:15:14 +04:00
tunctl Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
uclibc uclibc: Provide a more stable location for source. 2015-08-19 18:43:24 +02:00
udisks Move some more gtk-docs to the doc output 2015-07-26 13:43:49 +02:00
udisks-glue Turn more licenses into lib.licenses style 2014-11-06 00:48:16 +00:00
untie
upower upower: Update to 0.99.3 2015-09-09 11:44:14 +02:00
upstart change md5sum to sha256sum for a few packages 2014-10-12 16:13:21 +02:00
usbutils Fix usbutils 2015-05-15 11:10:03 +02:00
usermount Fixed many descriptions 2014-11-11 14:36:34 +01:00
util-linux buildEnv: Support package priorities like nix-env 2015-08-25 00:40:40 +02:00
v4l2loopback v4l2loopback: update 0.8.0 -> 0.9.1 2015-07-25 11:59:09 +10:00
v4l-utils v4l-utils: 1.6.2 -> 1.6.3 2015-05-31 19:54:03 -04:00
v86d v86d: refactor 2015-04-25 17:36:56 -04:00
wireless-tools
wis-go7007 Put all firmware in $out/lib/firmware 2015-08-25 00:40:34 +02:00
wpa_supplicant Merge branch 'master.upstream' into staging.upstream 2015-06-22 10:57:36 -07:00
wvdial Fix wvdial build by inserting missing unistd.h includes 2014-02-02 19:21:08 +04:00
x86info Revert "Introduce patchShebangsPhase ran in preConfigurePhases" 2015-01-08 10:26:49 +01:00
xf86-input-mtrack Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
xf86-input-multitouch Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
xf86-input-wacom xf86_input_wacom: update from 0.30.0 to 0.31.0 2015-08-30 17:37:36 +02:00
xf86-video-nested Tidy up: use the web interface for the git repo as the homepage 2013-03-03 19:40:17 +01:00
xsensors xsensors: init at 0.70 2015-07-03 22:55:10 -04:00
zfs zfs: Update to 0.6.5 2015-09-11 17:45:38 -07:00