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

Re: Custom kernel comes out as wrong arch



On 2016-07-28 13:19, 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.

dpkg -i linux-headers-4.6.4-rt6-5yn3r6y_4.6.4-1_sparc.deb
dpkg: error processing archive
linux-headers-4.6.4-rt6-5yn3r6y_4.6.4-1_sparc.deb (--install):
 package architecture (sparc) does not match system (sparc64)
Errors were encountered while processing:
 linux-headers-4.6.4-rt6-5yn3r6y_4.6.4-1_sparc.deb

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

Turns out the kernel's deb build script needed a bit of tweaking, i noted this down to be put on the wiki.


Reply to: