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

Re: Custom kernel comes out as wrong arch



On 07/28/2016 07:19 PM, alexmcwhirter@triadic.us wrote:
> I've been working on some kernel customizations to fix a few issues, and went ahead and compiled a kernel with " make deb-pkg". The problem is that the
> resulting .deb is the wrong arch.

Sounds like those particular scripts have DEB_TARGET_ARCH overriden to force sparc which would actually
make sense when building a 64-bit kernel for a 32-bit userland (which we did in the past).

Which scripts exactly where you using? Please list the steps that lead to the problem.

> Is there a way to override the arch to sparc64 when building or did i make a mistake along the way?

You can actually add "sparc" to the list of architectures in dpkg with "dpkg --add-architecture sparc"
but you really don't want to install "sparc" packages on "sparc64" in this particular case.

Let's fix the scripts.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: