Package: kernel-package
Version: 10.067
Severity: wishlist
Tags: patch
While creating linux-headers-$VERSION package I found that my system run for
three hours on this loop:
k=`find
/usr/local/src/kernel/linux-2.6.23-rc8/debian/linux-headers-2.6.23-rc8-gs1
-type f | ( while read i; do \
if file -b $i | egrep -q "^ELF.*executable.*dynamically linked" ;
then \
j="$j $i"; \
fi; \
done; echo $j; )`; test -z "$k" || dpkg-shlibdeps $k; \
test -n "$k" || perl -pli~ -e 's/\$\{shlibs:Depends\}\,?//g'
debian/control
Of course my machine is not probably the fastest in the world, but I am not
sure about this loop should be executed at all.
If I understand correctly, this loop try to find executable to be stripped,
i.e., binary
files compiled in this run.
I don't think that the $mydir/debian/linux-headers-$VERSION include any such
files, so I
am wondering if this look could be avoid.
I include a simple patch that comment out the whole loop from headers.mk
Bye,
Giuseppe
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: mips (mips64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-r5k-ip32
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to it_IT.UTF-8)
Versions of packages kernel-package depends on:
ii dpkg 1.13.25 package maintenance system for Deb
ii dpkg-dev 1.13.25 package building tools for Debian
ii file 4.17-5etch3 Determines file type using "magic"
ii gcc [c-compiler] 4:4.1.1-15 The GNU C compiler
ii gcc-4.1 [c-compiler] 4.1.1-21 The GNU C compiler
ii gettext 0.16.1-1 GNU Internationalization utilities
ii make 3.81-2 The GNU version of the "make" util
ii perl 5.8.8-7 Larry Wall's Practical Extraction
ii po-debconf 1.0.8 manage translated Debconf template
Versions of packages kernel-package recommends:
ii bzip2 1.0.3-6 high-quality block-sorting file co
ii libc6-dev [libc-dev] 2.3.6.ds1-13etch2 GNU C Library: Development Librari
-- no debconf information
--- /usr/share/kernel-package/ruleset/targets/headers.mk.orig 2007-02-25 07:54:41.000000000 +0100
+++ /usr/share/kernel-package/ruleset/targets/headers.mk 2007-09-27 07:10:09.000000000 +0200
@@ -176,13 +176,13 @@
chmod 755 $(TMPTOP)/DEBIAN/postinst
# echo "/etc/kernel/postinst.d/create_link-$(version)" > $(TMPTOP)/DEBIAN/conffiles
cp -pf debian/control debian/control.dist
- k=`find $(TMPTOP) -type f | ( while read i; do \
- if file -b $$i | egrep -q "^ELF.*executable.*dynamically linked" ; then \
- j="$$j $$i"; \
- fi; \
- done; echo $$j; )`; test -z "$$k" || dpkg-shlibdeps $$k; \
- test -n "$$k" || perl -pli~ -e 's/\$$\{shlibs:Depends\}\,?//g' debian/control
- test ! -e debian/control~ || rm -f debian/control~
+# k=`find $(TMPTOP) -type f | ( while read i; do \
+# if file -b $$i | egrep -q "^ELF.*executable.*dynamically linked" ; then \
+# j="$$j $$i"; \
+# fi; \
+# done; echo $$j; )`; test -z "$$k" || dpkg-shlibdeps $$k; \
+# test -n "$$k" || perl -pli~ -e 's/\$$\{shlibs:Depends\}\,?//g' debian/control
+# test ! -e debian/control~ || rm -f debian/control~
ifneq ($(strip $(header_clean_hook)),)
(cd $(SRCDIR); test -x $(header_clean_hook) && $(header_clean_hook))
endif