[PATCH Lucid/Oneiric SRU] UBUNTU: [packaging] Remove dangling symlink from headers package

Tim Gardner tim.gardner at canonical.com
Tue Feb 5 16:08:47 UTC 2013


BugLink: http://bugs.launchpad.net/bugs/1112442

Signed-off-by: Herton Krzesinski <herton.krzesinski at canonical.com>
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
 debian/rules.d/2-binary-arch.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 1a8e818..18b4401 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -164,7 +164,7 @@ endif
 	$(kmake) O=$(hdrdir) -j1 silentoldconfig prepare scripts
 	# We'll symlink this stuff
 	rm -f $(hdrdir)/Makefile
-	rm -rf $(hdrdir)/include2
+	rm -rf $(hdrdir)/include2 $(hdrdir)/source
 	# powerpc seems to need some .o files for external module linking. Add them in.
 ifeq ($(arch),powerpc)
 	mkdir -p $(hdrdir)/arch/powerpc/lib
-- 
1.7.9.5





More information about the kernel-team mailing list