forked from pool/util-linux
26 lines
954 B
Diff
26 lines
954 B
Diff
|
Index: util-linux-2.24/sys-utils/setarch.c
|
||
|
===================================================================
|
||
|
--- util-linux-2.24.orig/sys-utils/setarch.c
|
||
|
+++ util-linux-2.24/sys-utils/setarch.c
|
||
|
@@ -146,6 +146,7 @@ set_arch(const char *pers, unsigned long
|
||
|
int perval;
|
||
|
const char *target_arch, *result_arch;
|
||
|
} transitions[] = {
|
||
|
+ {UNAME26, "uname26", NULL},
|
||
|
{PER_LINUX32, "linux32", NULL},
|
||
|
{PER_LINUX, "linux64", NULL},
|
||
|
#if defined(__powerpc__) || defined(__powerpc64__)
|
||
|
Index: util-linux-2.24/sys-utils/Makemodule.am
|
||
|
===================================================================
|
||
|
--- util-linux-2.24.orig/sys-utils/Makemodule.am
|
||
|
+++ util-linux-2.24/sys-utils/Makemodule.am
|
||
|
@@ -89,7 +89,7 @@ usrbin_exec_PROGRAMS += setarch
|
||
|
dist_man_MANS += sys-utils/setarch.8
|
||
|
setarch_SOURCES = sys-utils/setarch.c
|
||
|
|
||
|
-SETARCH_LINKS = linux32 linux64
|
||
|
+SETARCH_LINKS = uname26 linux32 linux64
|
||
|
|
||
|
if ARCH_S390
|
||
|
SETARCH_LINKS += s390 s390x
|