virtualbox: 5.1.22 -> 5.1.24

This commit is contained in:
Tim Steinbach
2017-07-23 22:22:33 -04:00
parent 26cf940da8
commit ee6edb8af5
3 changed files with 6 additions and 89 deletions
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
sha256 = "54df14f234b6aa484b94939ab0f435b5dd859417612b65a399ecc34a62060380";
sha256 = "0hxxv2707fb6x34m5cmjhj73sxwgmy2dgir7mbbdh9wivw07b9q1";
};
KERN_DIR = "${kernel.dev}/lib/modules/*/build";
@@ -62,9 +62,6 @@ stdenv.mkDerivation {
for i in *
do
cd $i
# Files within the guest additions ISO are using DOS line endings
sed -re '/^(@@|---|\+\+\+)/!s/$/\r/' ${../linux-4.12.patch} \
| patch -d vboxguest -p4
find . -type f | xargs sed 's/depmod -a/true/' -i
make
cd ..