[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#273878: kernel-headers-2.4.27-1-686: dangling includes in makefile



On Tue, Oct 19, 2004 at 12:05:46AM -0500, Manoj Srivastava wrote:
> On Mon, 18 Oct 2004 12:44:21 +0900, Horms  <horms@debian.org> said: 
> 
> > I have made a patch to the kernel-image-2.4.26 package to add the
> > missing files that you detail above. However the build scripts for
> > that package only control the files that are addeeed to
> > kernel-headers-2.4.26-1-FLAVOUR. To add the missing files to
> > kernel-headers-2.4.26-1 itself a patch to kernel-package is
> > required.
> 
> > Manoj, can you please consider this for inclusion, I won't add the
> > change to the kernel-image package unless you are in agreement with
> > this change.
> 
> > The patches are below. Packages built with these patches can be
> > found at http://debian.vergenet.net/testing/bug273878/
> 
> 	Umm, what are these patches supposed to apply to? They seem to
>  patch a file called post-install, which is not something that
>  kernel-package knows about.  It would be simpler if you gave me a
>  list of symbolic links to install -- and the directory to install
>  them in (inside the .deb).

Sure,

the files in question are Rules.make and arch/$(KERNEL_ARCH)/Makefile
The patch below seems to add them to kernel-package produced packages.

-- 
Horms


diff -ru kernel-package-8.103/kernel/rules kernel-package-8.103.0.bug.273878/kernel/rules
--- kernel-package-8.103/kernel/rules	2004-10-09 04:20:40.000000000 +0900
+++ kernel-package-8.103.0.bug.273878/kernel/rules	2004-10-14 12:50:00.000000000 +0900
@@ -1846,6 +1846,9 @@
 	         $(HEADER_DOC)/Buildinfo
 	chmod 0644 $(HEADER_DOC)/Buildinfo
 	$(install_file) Makefile       $(HEADER_SRC)
+	$(install_file) Rules.make     $(HEADER_SRC)
+	$(make_directory) $(HEADER_SRC)/arch/$(KERNEL_ARCH)
+	$(install_file) arch/$(KERNEL_ARCH)/Makefile $(HEADER_SRC)/arch/$(KERNEL_ARCH)
 ifneq ($(strip $(int_follow_symlinks_in_src)),)
 	-tar cfh - include |        (cd $(HEADER_SRC); umask 000; tar xsf -)
 	(cd $(HEADER_SRC)/include; rm -rf asm; ln -s asm-$(KERNEL_ARCH) asm)



Reply to: