[arch-commits] Commit in dkms/trunk (0001-Fix-creation-of-temp-build-dir.patch)

Sébastien Luttringer seblu at gemini.archlinux.org
Mon Nov 15 11:47:02 UTC 2021


    Date: Monday, November 15, 2021 @ 11:47:01
  Author: seblu
Revision: 428528

Remove dangling patch

Deleted:
  dkms/trunk/0001-Fix-creation-of-temp-build-dir.patch

-------------------------------------------+
 0001-Fix-creation-of-temp-build-dir.patch |   29 ----------------------------
 1 file changed, 29 deletions(-)

Deleted: 0001-Fix-creation-of-temp-build-dir.patch
===================================================================
--- 0001-Fix-creation-of-temp-build-dir.patch	2021-11-15 11:46:37 UTC (rev 428527)
+++ 0001-Fix-creation-of-temp-build-dir.patch	2021-11-15 11:47:01 UTC (rev 428528)
@@ -1,29 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <heftig at archlinux.org>
-Date: Fri, 12 Nov 2021 20:25:22 +0000
-Subject: [PATCH] Fix creation of temp build dir
-
-Since `$source_dir` is just a symlink to the actual source directory,
-using `cp -a` on it just copies the symlink instead of the contents.
-
-This makes the build fail when the source directory isn't writable.
-
-Commit d038a604bf525b01d7bd12b98706b1f861e4ea27 broke this when it
-dropped the trailing slash.
----
- dkms.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/dkms.in b/dkms.in
-index c907d1f60a61..115eb062a382 100644
---- a/dkms.in
-+++ b/dkms.in
-@@ -872,7 +872,7 @@ prepare_build()
- 
-     # Set up temporary build directory for build
-     rm -rf "$build_dir"
--    cp -a "$source_dir" "$build_dir"
-+    cp -a "$source_dir/" "$build_dir"
- 
-     cd "$build_dir"
- 



More information about the arch-commits mailing list