Bug#750925: "make deb-pkg" produces a non-installable package on the s390x architecture
On Sun, 08 Jun 2014 09:59:47 -0400 (EDT), maximilian attems wrote:
>
> see scripts/package/builddeb:
> s390*)
> debarch=s390 ;;
>
> this debarch setting very likely predates s390x
Thanks for the tip. While looking at this file, I discovered
a circumvention. Use the make variable
KBUILD_DEBARCH=s390x
This works, even with an unmodified builddeb script. In my test case,
I set CONFIG_LOCALVERSION to "-1custom01-s390x" during kernel configuration
(under "General Setup"). I also set CONFIG_DEBUG_INFO off. (This is under
"Kernel Hacking".) Then I issued
make KDEB_PKGVERSION=3.14.4-1 KBUILD_PKG_ROOTCMD=fakeroot \
INSTALL_MOD_STRIP=1 KBUILD_DEBARCH=s390x deb-pkg
as a non-root user. It built a kernel image package just the way I wanted it.
--
.''`. Stephen Powell
: :' :
`. `'`
`-
Reply to: