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

login
register
mail settings
Submitter Tim Gardner
Date Feb. 5, 2013, 4:08 p.m.
Message ID <1360080527-119185-1-git-send-email-tim.gardner@canonical.com>
Download mbox | patch
Permalink /patch/218284/
State New
Headers show

Comments

Tim Gardner - Feb. 5, 2013, 4:08 p.m.
BugLink: http://bugs.launchpad.net/bugs/1112442

Signed-off-by: Herton Krzesinski <herton.krzesinski@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
 debian/rules.d/2-binary-arch.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Herton Ronaldo Krzesinski - Feb. 5, 2013, 4:52 p.m.

Brad Figg - Feb. 5, 2013, 5:06 p.m.
On 02/05/2013 08:08 AM, Tim Gardner wrote:
> BugLink: http://bugs.launchpad.net/bugs/1112442
> 
> Signed-off-by: Herton Krzesinski <herton.krzesinski@canonical.com>
> Signed-off-by: Tim Gardner <tim.gardner@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
>

Patch

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