From: Ruediger Meier Date: Thu, 22 May 2014 07:42:32 +0000 (+0200) Subject: setarch: add shortcut binary uname26 X-Git-Tag: v2.25-rc1~99^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6eb160c6ec9217e2ce8218edee657b7216bf5fc;p=thirdparty%2Futil-linux.git setarch: add shortcut binary uname26 There are some uname26 binaries flying around. Let's make it available everywhere. Internal SUSE references: fate313476, sr226509 CC: Stanislav Brabec Signed-off-by: Ruediger Meier --- diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am index 2653385efe..a2a1d6df26 100644 --- a/sys-utils/Makemodule.am +++ b/sys-utils/Makemodule.am @@ -113,7 +113,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 diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c index f957c79758..8e2b6e531a 100644 --- a/sys-utils/setarch.c +++ b/sys-utils/setarch.c @@ -146,6 +146,7 @@ set_arch(const char *pers, unsigned long options, int list) 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__)