From bb1112ecc9c06d51fb5f0d392495f2f340b02dda Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Tue, 19 Jul 2005 23:29:30 +0000 Subject: [PATCH] copy scripts/ subdir into per-flavour linux-headers package svn path=/trunk/kernel/source/linux-2.6-2.6.12/; revision=3593 --- debian/templates/post-install.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/templates/post-install.in b/debian/templates/post-install.in index 1e62c3115..c57fbf729 100644 --- a/debian/templates/post-install.in +++ b/debian/templates/post-install.in @@ -65,7 +65,7 @@ cp -a Module.symvers $dir find . -mindepth 1 -maxdepth 1 \ ! -name debian -a ! -name Documentation -a ! -name include -a \ - ! -name DEBIAN -a ! -name '.*' -a \( \ + ! -name DEBIAN -a ! -name scripts -a ! -name '.*' -a \( \ -name Makefile -o -type d \) \ -printf "../linux-headers-$prefix/%f\n" | xargs ln -s --target-directory="$dir" @@ -77,6 +77,7 @@ find . -mindepth 1 -maxdepth 1 \ -printf "../../linux-headers-$prefix/include/%f\n" | xargs ln -s --target-directory=$dir/include cp -a config $dir/include +cp -a scripts $dir/include ln -sf asm-${arch} $dir/include/asm find linux -mindepth 1 -maxdepth 1 \ ! -name autoconf.h -a ! -name compile.h -a ! -name version.h \