* Add dh-kpatches to build-deps-indep.

* Copy asm-offsets.s in place instead of symlinking
* Make sure DEBIAN does not get into packages.

svn path=/branches/kernel-image-2.6.11/; revision=3289
This commit is contained in:
Jurij Smakov 2005-05-31 23:38:14 +00:00
parent edb12584a9
commit e5298f3519
4 changed files with 4 additions and 4 deletions

2
debian/Makefile vendored
View File

@ -210,7 +210,7 @@ build-stamp-$(subarch)-%: build-$(subarch)-%
src="arch/$${arch}/kernel/asm-offsets.s"; \
dst="../$(kdir)/$${src}"; \
if [ -f "$${src}" ] && [ ! -e "$${dst}" ]; then \
ln -s "$$(pwd)/$${src}" "$${dst}"; \
cp -a "$$(pwd)/$${src}" "$${dst}"; \
fi
touch build-stamp-$(subarch)-$*
#

2
debian/control vendored
View File

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Standards-Version: 3.6.1.0
Build-Depends: gcc (>= 4:3.3), debhelper (>= 4), kernel-package (>= 8.135), module-init-tools, dpkg-dev (>= 1.10.23), debian-utils (>= 1.6), bzip2, console-tools, sparc-utils [sparc]
Build-Depends-Indep: bzip2, debhelper (>= 4), docbook-utils, gs, kernel-package (>= 8.135), transfig
Build-Depends-Indep: bzip2, debhelper (>= 4), docbook-utils, gs, kernel-package (>= 8.135), transfig, dh-kpatches (>= 0.99.35)
Package: linux-source-2.6.11
Architecture: all

2
debian/rules vendored
View File

@ -199,7 +199,7 @@ clean: unpatch
cd debian; \
rm -f *-stamp-* *-stamp config.* *.kpatches.arch; \
rm -f header-install-* post-install-* bin/touch.orig; \
rm -rf kernel-source-* build-* install-*
rm -rf linux-source-* build-* install-*
dh_clean
binary-indep: source tree patch-debian doc

View File

@ -65,7 +65,7 @@ cp -a Module.symvers $dir
find . -mindepth 1 -maxdepth 1 \
! -name debian -a ! -name Documentation -a ! -name include -a \
! -name '.*' -a \( \
! -name DEBIAN -a ! -name '.*' -a \( \
-name Makefile -o -type d \) \
-printf "../linux-headers-$prefix/%f\n" |
xargs ln -s --target-directory="$dir"