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 : :' : `. `'` `- -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/223528771.113881.1402361863179.javamail.r...@md01.wow.synacor.com
Processed: Re: Bug#750925: "make deb-pkg" produces a non-installable package on the s390x architecture
Processing control commands: > tag -1 upstream patch Bug #750925 [linux] "make deb-pkg" produces a non-installable package on the s390x architecture Added tag(s) upstream and patch. -- 750925: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750925 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/handler.s.b750925.14022623454723.transcr...@bugs.debian.org
Bug#750925: "make deb-pkg" produces a non-installable package on the s390x architecture
Control: tag -1 upstream patch On Sun, 2014-06-08 at 09:30 -0400, Stephen Powell wrote: > Package: linux > Version: 3.14.4-1 > Severity: normal > > "make deb-pkg", when issued on the s390x architecture, produces a > non-installable > package. The package is built for the s390 architecture, not the s390x > architecture, and dpkg won't allow it to be installed, even if the package > file is renamed to the expected naming convention (*_s390x.deb). You can probably install it if you run 'dpkg --add-architecture s390' first. I previously sent a patch for this upstream in <1381079114.2788.26.ca...@deadeye.wl.decadent.org.uk>, but this hasn't been applied yet. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part
Bug#750925: "make deb-pkg" produces a non-installable package on the s390x architecture
On Sun, Jun 08, 2014 at 09:30:23AM -0400, Stephen Powell wrote: > Package: linux > Version: 3.14.4-1 > Severity: normal > > "make deb-pkg", when issued on the s390x architecture, produces a > non-installable > package. The package is built for the s390 architecture, not the s390x > architecture, and dpkg won't allow it to be installed, even if the package > file is renamed to the expected naming convention (*_s390x.deb). see scripts/package/builddeb: s390*) debarch=s390 ;; this debarch setting very likely predates s390x -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140608135947.gp15...@stro.at
Bug#750925: "make deb-pkg" produces a non-installable package on the s390x architecture
Package: linux Version: 3.14.4-1 Severity: normal "make deb-pkg", when issued on the s390x architecture, produces a non-installable package. The package is built for the s390 architecture, not the s390x architecture, and dpkg won't allow it to be installed, even if the package file is renamed to the expected naming convention (*_s390x.deb). -- .''`. Stephen Powell : :' : `. `'` `- -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/121909425.93017.1402234223970.javamail.r...@md01.wow.synacor.com