From 13dec9fbdd76194e22e4708467d609c5749b6797 Mon Sep 17 00:00:00 2001 From: Luoyaoming Date: Sun, 9 Oct 2022 14:40:34 +0800 Subject: [PATCH] Import Debian changes 3.0.7-ok1 dkms (3.0.7-ok1) yangtze; urgency=low * Initial release. --- debian/compat | 1 - debian/files | 1 - debian/patches/exact-cc.patch~ | 23 ----------------------- debian/source/local-options | 2 -- 4 files changed, 27 deletions(-) delete mode 100644 debian/compat delete mode 100644 debian/files delete mode 100644 debian/patches/exact-cc.patch~ delete mode 100644 debian/source/local-options diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b4de394..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/debian/files b/debian/files deleted file mode 100644 index 9923d08..0000000 --- a/debian/files +++ /dev/null @@ -1 +0,0 @@ -dkms_3.0.7-ok1_source.buildinfo kernel optional diff --git a/debian/patches/exact-cc.patch~ b/debian/patches/exact-cc.patch~ deleted file mode 100644 index c7221be..0000000 --- a/debian/patches/exact-cc.patch~ +++ /dev/null @@ -1,23 +0,0 @@ -Description: Use exact compiler for dkms as used to build the kernel - Ubuntu kernel builds do not export .kernelvariables file, thus extend - CC detection to read compiler binary from the .config file - - -Index: dkms-3.0.3/dkms.in -=================================================================== ---- dkms-3.0.3.orig/dkms.in -+++ dkms-3.0.3/dkms.in -@@ -1007,6 +1007,13 @@ actual_build() - unset CC - fi - -+ if [[ -e $kernel_source_dir/.config ]]; then -+ cc=$(sed -n 's|^CONFIG_CC_VERSION_TEXT="\([^ ]*\) .*"|\1|p' $kernel_source_dir/.config) -+ if command -v "$cc" >/dev/null; then -+ export CC="$cc" -+ fi -+ fi -+ - invoke_command "$clean" "Cleaning build area" background - echo $"DKMS make.log for $module-$module_version for kernel $kernelver ($arch)" >> "$build_log" - date >> "$build_log" diff --git a/debian/source/local-options b/debian/source/local-options deleted file mode 100644 index 00131ee..0000000 --- a/debian/source/local-options +++ /dev/null @@ -1,2 +0,0 @@ -#abort-on-upstream-changes -#unapply-patches