Control: tag -1 upstream
On Fri, 29 Mar 2013 20:06:42 +0100 "Christian T. Steigies" <cts@debian.org> wrote:
> Package: linux-source-3.8
> Version: 3.8.3-1~experimental.1
> Severity: normal
>
> Dear Maintainer,
> the builddeb script does not support m68k nor cross-compiling. The following
> patch fixes this, the second part comes from this report:
>
> https://patchwork.kernel.org/patch/752622/
>
> Please apply, if this is the correct way to add support.
>
> --- scripts/package/builddeb.orig 2013-03-14 19:27:14.000000000 +0100
> +++ scripts/package/builddeb 2013-03-29 19:34:05.311940456 +0100
> @@ -28,7 +28,7 @@
> # Attempt to find the correct Debian architecture
> local forcearch="" debarch=""
> case "$UTS_MACHINE" in
> - i386|ia64|alpha)
> + i386|ia64|alpha|m68k)
> debarch="$UTS_MACHINE" ;;
> x86_64)
> debarch=amd64 ;;
Please submit the above change upstream.
> @@ -254,6 +254,12 @@
> rm -f "$objtree/debian/hdrsrcfiles" "$objtree/debian/hdrobjfiles"
> arch=$(dpkg --print-architecture)
>
> +if [ -n "$KBUILD_DEBARCH" ] ; then
> + arch="$KBUILD_DEBARCH"
> +else
> + arch=$(dpkg --print-architecture)
> +fi
> +
> cat <<EOF >> debian/control
>
> Package: $kernel_headers_packagename
This is no longer needed since:
commit f8ce239dfc7ba9add41d9ecdc5e7810738f839fa
Author: Ben Hutchings <ben@decadent.org.uk>
Date: Thu Dec 5 14:37:35 2013 +0000
deb-pkg: Fix cross-building linux-headers package
Ben.
--
Ben Hutchings
Always try to do things in chronological order;
it's less confusing that way.
Attachment:
signature.asc
Description: This is a digitally signed message part