summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-20 19:18:45 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-20 19:18:45 (EDT)
commit7ed3288dec9c83224130b737961c8981e29ea4c7 (patch)
tree6a8dec7ad6f63f6762af982e248dc9a20065c2af
parent4015c63d40653675e47a1a0bcb8eb4eee5523021 (diff)
Rename CONFIG_FEATURE_UNAME_OS_NAME option.
-rw-r--r--patches/03_make-uname-info-os-configurable.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/03_make-uname-info-os-configurable.patch b/patches/03_make-uname-info-os-configurable.patch
index 2915f5b..ac14db2 100644
--- a/patches/03_make-uname-info-os-configurable.patch
+++ b/patches/03_make-uname-info-os-configurable.patch
@@ -11,7 +11,7 @@ diff -Naur src.orig/coreutils/Config.src src/coreutils/Config.src
help
uname is used to print system information.
-+config FEATURE_UNAME_OS_NAME
++config FEATURE_UNAME_OS
+ string "Operating system name"
+ default "BusyBox/Linux"
+ depends on UNAME
@@ -33,7 +33,7 @@ diff -Naur src.orig/coreutils/uname.c src/coreutils/uname.c
//usage: "$ uname -a\n"
-//usage: "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n"
+//usage: "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 "
-+//usage: CONFIG_FEATURE_UNAME_OS_NAME "\n"
++//usage: CONFIG_FEATURE_UNAME_OS "\n"
#include "libbb.h"
/* After libbb.h, since it needs sys/types.h on some systems */
@@ -42,7 +42,7 @@ diff -Naur src.orig/coreutils/uname.c src/coreutils/uname.c
char processor[sizeof(((struct utsname*)NULL)->machine)];
char platform[sizeof(((struct utsname*)NULL)->machine)];
- char os[sizeof("GNU/Linux")];
-+ char os[sizeof(CONFIG_FEATURE_UNAME_OS_NAME)];
++ char os[sizeof(CONFIG_FEATURE_UNAME_OS)];
} uname_info_t;
static const char options[] ALIGN1 = "snrvmpioa";
@@ -51,7 +51,7 @@ diff -Naur src.orig/coreutils/uname.c src/coreutils/uname.c
strcpy(uname_info.processor, unknown_str);
strcpy(uname_info.platform, unknown_str);
- strcpy(uname_info.os, "GNU/Linux");
-+ strcpy(uname_info.os, CONFIG_FEATURE_UNAME_OS_NAME);
++ strcpy(uname_info.os, CONFIG_FEATURE_UNAME_OS);
#if 0
/* Fedora does something like this */
strcpy(uname_info.processor, uname_info.name.machine);