[kernel] r22363 - in dists/sid/linux/debian: . patches patches/debian

Ian James Campbell ijc at moszumanska.debian.org
Tue Feb 10 04:17:23 UTC 2015


Author: ijc
Date: Tue Feb 10 04:17:23 2015
New Revision: 22363

Log:
Try and avoid nuking people's debian dir

... provide less rope at least.

Added:
   dists/sid/linux/debian/patches/debian/no-clean.patch
Modified:
   dists/sid/linux/debian/changelog
   dists/sid/linux/debian/patches/series

Modified: dists/sid/linux/debian/changelog
==============================================================================
--- dists/sid/linux/debian/changelog	Tue Feb 10 01:13:04 2015	(r22362)
+++ dists/sid/linux/debian/changelog	Tue Feb 10 04:17:23 2015	(r22363)
@@ -2,6 +2,7 @@
 
   [ Ian Campbell ]
   * [armhf] Add DTB for Olimex A20-OLinuXino-LIME2. (Closes: #777455)
+  * Don't delete debian dir on make clean/mrproper/etc.
 
  -- Ian Campbell <ijc at debian.org>  Mon, 09 Feb 2015 06:17:31 +0000
 

Added: dists/sid/linux/debian/patches/debian/no-clean.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/sid/linux/debian/patches/debian/no-clean.patch	Tue Feb 10 04:17:23 2015	(r22363)
@@ -0,0 +1,19 @@
+From: Ian Campbell <ijc at debian.org>
+Subject: Do not clean (remove) /debian/ dir
+Date: Tue, 10 Feb 2015 03:51:27 +0000
+Forwarded: not-needed
+
+When running "make clean" in the root of an actual Debian source package we
+don't want to remove the debian dir.
+
+--- a/scripts/package/Makefile
++++ b/scripts/package/Makefile
+@@ -90,8 +90,6 @@
+ 	$(MAKE) KBUILD_SRC=
+ 	$(call cmd,builddeb)
+ 
+-clean-dirs += $(objtree)/debian/
+-
+ 
+ # tarball targets
+ # ---------------------------------------------------------------------------

Modified: dists/sid/linux/debian/patches/series
==============================================================================
--- dists/sid/linux/debian/patches/series	Tue Feb 10 01:13:04 2015	(r22362)
+++ dists/sid/linux/debian/patches/series	Tue Feb 10 04:17:23 2015	(r22363)
@@ -6,6 +6,7 @@
 debian/mips-disable-werror.patch
 debian/arch-sh4-fix-uimage-build.patch
 debian/powerpcspe-omit-uimage.patch
+debian/no-clean.patch
 features/all/Kbuild-kconfig-Verbose-version-of-listnewconfig.patch
 
 # Fixes/improvements to firmware loading



More information about the Kernel-svn-changes mailing list