diff options
Diffstat (limited to 'main/busybox/busybox-uname-is-not-gnu.patch')
-rw-r--r-- | main/busybox/busybox-uname-is-not-gnu.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/busybox/busybox-uname-is-not-gnu.patch b/main/busybox/busybox-uname-is-not-gnu.patch new file mode 100644 index 000000000..95b31394c --- /dev/null +++ b/main/busybox/busybox-uname-is-not-gnu.patch @@ -0,0 +1,20 @@ +--- busybox-1.18.2.orig/coreutils/uname.c ++++ busybox-1.18.2/coreutils/uname.c +@@ -56,7 +56,7 @@ + struct utsname name; + char processor[sizeof(((struct utsname*)NULL)->machine)]; + char platform[sizeof(((struct utsname*)NULL)->machine)]; +- char os[sizeof("GNU/Linux")]; ++ char os[sizeof("Linux")]; + } uname_info_t; + + static const char options[] ALIGN1 = "snrvmpioa"; +@@ -123,7 +123,7 @@ + #endif + strcpy(uname_info.processor, unknown_str); + strcpy(uname_info.platform, unknown_str); +- strcpy(uname_info.os, "GNU/Linux"); ++ strcpy(uname_info.os, "Linux"); + #if 0 + /* Fedora does something like this */ + strcpy(uname_info.processor, uname_info.name.machine); |