From 1c48048e679ff9b06304d5f2e01b88140dacfd3f Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Sat, 6 Aug 2005 09:32:51 +0000 Subject: [PATCH] r3694: waldi | 2005-08-05 20:01:12 +0000 Strip down the scripts dir in the headers packages. * debian/changelog: Update. * debian/templates/post-install.in: Copy neccesary files into the scripts dir of the headers package. r3696: waldi | 2005-08-05 20:15:48 +0000 debian/rules: Bail out after gencontrol runs. svn path=/trunk/kernel/source/linux-2.6/; revision=3701 --- debian/changelog | 2 ++ debian/rules | 1 + debian/templates/post-install.in | 14 +++++++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 062f58597..0b23acb70 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,8 @@ linux-2.6 (2.6.12-2) UNRELEASED; urgency=low * Add ARM support. (Vincent Sanders) * Add desc.* files for ia64. (dann frazier) + + * Strip down the scripts dir in the headers packages. (Bastian Blank) * Add m68k support. (Christian T. Steigies) diff --git a/debian/rules b/debian/rules index 11edb85b3..505a068c6 100755 --- a/debian/rules +++ b/debian/rules @@ -227,5 +227,6 @@ binary: binary-indep binary-arch # debian/control: debian/changelog $(wildcard debian/templates/control.*.in) debian/bin/gencontrol.py + exit 1 .PHONY: clean build unpack binary-indep binary-arch binary patch unpatch source tree diff --git a/debian/templates/post-install.in b/debian/templates/post-install.in index dec6b1304..ef6b0e4ab 100644 --- a/debian/templates/post-install.in +++ b/debian/templates/post-install.in @@ -70,7 +70,6 @@ find . -mindepth 1 -maxdepth 1 \ -printf "../linux-headers-$prefix/%f\n" | xargs ln -s --target-directory="$dir" -cp -a scripts $dir cd include find . -mindepth 1 -maxdepth 1 \ ! -name config -a ! -name linux -a \( \ @@ -90,6 +89,19 @@ cd .. mkdir -p $top/lib/modules/$version ln -s /usr/src/linux-headers-$version $top/lib/modules/$version/build +mkdir -p $dir/scripts/basic +mkdir -p $dir/scripts/kconfig +mkdir -p $dir/scripts/mod +cp -a scripts/Makefile* $dir/scripts +cp -a scripts/kallsyms $dir/scripts +strip $dir/scripts/kallsyms +cp -a scripts/basic/fixdep $dir/scripts/basic +strip $dir/scripts/basic/fixdep +cp -a scripts/kconfig/conf $dir/scripts/kconfig +strip $dir/scripts/kconfig/conf +cp -a scripts/mod/modpost $dir/scripts/mod +strip $dir/scripts/mod/modpost + debhelper_post $pkg #