diff -Nru dkms-2.2.0.3/debian/changelog dkms-2.2.0.3/debian/changelog --- dkms-2.2.0.3/debian/changelog 2016-05-18 22:09:19.000000000 -0400 +++ dkms-2.2.0.3/debian/changelog 2016-09-08 16:44:18.000000000 -0400 @@ -1,3 +1,10 @@ +dkms (2.2.0.3-2ubuntu13) yakkety; urgency=medium + + * debian/patches/Parallel-depmod-failure.patch: (LP: #1608499) + - Backport fix from 2.3 to fix a race condition in dkms autoinstall + + -- Robert Hooker Thu, 08 Sep 2016 16:43:56 -0400 + dkms (2.2.0.3-2ubuntu12) yakkety; urgency=medium * debian/patches/shim_secureboot_support.patch: move to using the script diff -Nru dkms-2.2.0.3/debian/patches/Parallel-depmod-failure.patch dkms-2.2.0.3/debian/patches/Parallel-depmod-failure.patch --- dkms-2.2.0.3/debian/patches/Parallel-depmod-failure.patch 1969-12-31 19:00:00.000000000 -0500 +++ dkms-2.2.0.3/debian/patches/Parallel-depmod-failure.patch 2016-09-08 16:43:20.000000000 -0400 @@ -0,0 +1,26 @@ +From 00114cbc0a1f8c0aa5143808205d1a7cc9e58d3b Mon Sep 17 00:00:00 2001 +From: Simone Caronni +Date: Thu, 18 Sep 2014 13:37:48 +0200 +Subject: [PATCH 01/23] Parallel depmod failure + + +--- + dkms | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dkms b/dkms +index f97037b0b30b..e78588933669 100644 +--- a/dkms ++++ b/dkms +@@ -3241,7 +3241,7 @@ autoinstall() { + for mv in "${to_install[@]}"; do + IFS=/ read m v <<< "$mv" + if [[ -z "${build_depends[$m]}" ]]; then +- (module="$m"; module_version="$v"; install_module) & ++ (module="$m"; module_version="$v"; install_module) + installed_modules[${#installed_modules[@]}]="$m" + install_count=$(($install_count +1)) + else +-- +2.9.0.244.g00fa316 + diff -Nru dkms-2.2.0.3/debian/patches/series dkms-2.2.0.3/debian/patches/series --- dkms-2.2.0.3/debian/patches/series 2016-01-11 09:45:14.000000000 -0500 +++ dkms-2.2.0.3/debian/patches/series 2016-09-08 16:43:20.000000000 -0400 @@ -12,3 +12,4 @@ 1491729-0001-Add-POST_BUILD-to-the-dkms_conf_variables-list.patch 1491729-0002-Add_BUILD_DEPENDS_configuration_option.patch shim_secureboot_support.patch +Parallel-depmod-failure.patch