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

Bug#611382: marked as done (linux-2.6: Provide all packaging instructions in linux-source package)



Your message dated Sat, 17 Mar 2012 23:30:11 +0000
with message-id <1332027011.31699.5.camel@deadeye>
and subject line Re: linux-source-2.6: please add support for linux-libc-dev-$(DEB_HOST_ARCH)-cross package
has caused the Debian Bug report #550776,
regarding linux-2.6: Provide all packaging instructions in linux-source package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
550776: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550776
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-2.6
Severity: wishlist
Tags: patch

I am working on cross toolchain packages for Ubuntu. During work on 10.10 'maverick'
release I got it working and now want to add it also to Debian archive.

To get it done I need some changes to be done in linux-2.6 packaging. None of them
affects backward compatibility - they extend it a bit. This bug report is about first
change - adding debian/ directory to linux-source package so it could be possible to
rebuild linux kernel/headers/includes packages just from contents of linux-source 
binary package.

I need this to get my armel-cross-toolchain-base package be able to generate
linux-libc-dev package during cross compiler boostrap process (which is automated
and occurs on buildd in two source packages).

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-12-generic
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Index: linux-2.6-2.6.37/debian/rules.real
===================================================================
--- linux-2.6-2.6.37.orig/debian/rules.real	2011-01-27 13:26:09.000000000 +0000
+++ linux-2.6-2.6.37/debian/rules.real	2011-01-28 13:36:06.744220002 +0000
@@ -523,11 +533,23 @@
 	find '$(pfull)/debian' ! -path '*/series/*' -type f -execdir bzip2 '{}' ';' -execdir chmod 644 '{}.bz2' ';'
 	+$(MAKE_SELF) install-base
 
+install-source: PACKAGE_NAME = linux-source-$(VERSION)
+install-source: PACKAGE_DIR = debian/$(PACKAGE_NAME)
 install-source: DH_OPTIONS = -plinux-source-$(VERSION)
 install-source: $(BUILD_DIR)/linux-source-$(UPSTREAMVERSION).tar.bz2
 	dh_testdir
 	dh_testroot
 	dh_install '$<' /usr/src
+	find './debian' \
+		-path './debian/linux-*' -prune -o \
+		-path './debian/firmware-linux-free*' -prune -o \
+		-path './debian/$(src_pkg_name)-*' -prune -o \
+		-path './debian/build' -prune -o \
+		-path './debian/files' -prune -o \
+		-path './debian/stamps' -prune -o \
+		-path './debian/tmp' -prune -o \
+		-print | \
+		cpio -pd --preserve-modification-time '$(CURDIR)/$(PACKAGE_DIR)/usr/src/linux-source-$(VERSION)'
 	+$(MAKE_SELF) install-base
 
 install-firmware: PACKAGE_NAME = firmware-linux-free

--- End Message ---
--- Begin Message ---
linux-libc-dev is now marked 'Multi-Arch: same', so you can install a
foreign package and build with that if the compiler supports multiarch
include paths.

Ben.

-- 
Ben Hutchings
Life would be so much easier if we could look at the source code.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: