Skip to content

Commit a1323fd

Browse files
bwhacksmichal42
authored andcommitted
deb-pkg: Add automatic support for s390x architecture
The Debian s390x architecture has 64-bit userland whereas s390 has 32-bit userland. A 64-bit kernel can be used with either. Now that Debian supports multiarch and officially supports s390x, it makes more sense to assign a 64-bit kernel package to s390x. Reported-by: Stephen Powell <zlinuxman@wowway.com> References: https://bugs.debian.org/750925 Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Michal Marek <mmarek@suse.cz>
1 parent 90829ad commit a1323fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/package/builddeb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ create_package() {
3535
sparc*)
3636
debarch=sparc ;;
3737
s390*)
38-
debarch=s390 ;;
38+
debarch=s390$(grep -q CONFIG_64BIT=y $KCONFIG_CONFIG && echo x || true) ;;
3939
ppc*)
4040
debarch=powerpc ;;
4141
parisc*)

0 commit comments

Comments
 (0)