diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-02 21:37:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-21 09:32:43 +0000 |
commit | 91a1baaf57153a86b7e14318c9d36e1cc38e3077 (patch) | |
tree | 51bb1d2724bbc5d3b98d9412de9cab8fb7b02524 /meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch | |
parent | c1f9507c69cac8cc28fec837a4bbb070c52a8a39 (diff) | |
download | poky-91a1baaf57153a86b7e14318c9d36e1cc38e3077.tar.gz |
glibc: Upgrade to 2.23
Drop kconfig and options-group support
Forward port cross-localedef support
Assume ssp support in libc when building gcc-initial
(From OE-Core rev: 9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch b/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch new file mode 100644 index 0000000000..0c9ae6c139 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch | |||
@@ -0,0 +1,73 @@ | |||
1 | From cd9d9fe7316f4ce4ca9d8e67e22f5718879535e4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 31 Dec 2015 14:33:02 -0800 | ||
4 | Subject: [PATCH 17/24] Remove bash dependency for nscd init script | ||
5 | |||
6 | The nscd init script uses #! /bin/bash but only really uses one bashism | ||
7 | (translated strings), so remove them and switch the shell to #!/bin/sh. | ||
8 | |||
9 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | nscd/nscd.init | 14 +++++++------- | ||
13 | 1 file changed, 7 insertions(+), 7 deletions(-) | ||
14 | |||
15 | diff --git a/nscd/nscd.init b/nscd/nscd.init | ||
16 | index a882da7..b02986e 100644 | ||
17 | --- a/nscd/nscd.init | ||
18 | +++ b/nscd/nscd.init | ||
19 | @@ -1,4 +1,4 @@ | ||
20 | -#!/bin/bash | ||
21 | +#!/bin/sh | ||
22 | # | ||
23 | # nscd: Starts the Name Switch Cache Daemon | ||
24 | # | ||
25 | @@ -49,7 +49,7 @@ prog=nscd | ||
26 | start () { | ||
27 | [ -d /var/run/nscd ] || mkdir /var/run/nscd | ||
28 | [ -d /var/db/nscd ] || mkdir /var/db/nscd | ||
29 | - echo -n $"Starting $prog: " | ||
30 | + echo -n "Starting $prog: " | ||
31 | daemon /usr/sbin/nscd | ||
32 | RETVAL=$? | ||
33 | echo | ||
34 | @@ -58,7 +58,7 @@ start () { | ||
35 | } | ||
36 | |||
37 | stop () { | ||
38 | - echo -n $"Stopping $prog: " | ||
39 | + echo -n "Stopping $prog: " | ||
40 | /usr/sbin/nscd -K | ||
41 | RETVAL=$? | ||
42 | if [ $RETVAL -eq 0 ]; then | ||
43 | @@ -67,9 +67,9 @@ stop () { | ||
44 | # a non-privileged user | ||
45 | rm -f /var/run/nscd/nscd.pid | ||
46 | rm -f /var/run/nscd/socket | ||
47 | - success $"$prog shutdown" | ||
48 | + success "$prog shutdown" | ||
49 | else | ||
50 | - failure $"$prog shutdown" | ||
51 | + failure "$prog shutdown" | ||
52 | fi | ||
53 | echo | ||
54 | return $RETVAL | ||
55 | @@ -103,13 +103,13 @@ case "$1" in | ||
56 | RETVAL=$? | ||
57 | ;; | ||
58 | force-reload | reload) | ||
59 | - echo -n $"Reloading $prog: " | ||
60 | + echo -n "Reloading $prog: " | ||
61 | killproc /usr/sbin/nscd -HUP | ||
62 | RETVAL=$? | ||
63 | echo | ||
64 | ;; | ||
65 | *) | ||
66 | - echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}" | ||
67 | + echo "Usage: $0 {start|stop|status|restart|reload|condrestart}" | ||
68 | RETVAL=1 | ||
69 | ;; | ||
70 | esac | ||
71 | -- | ||
72 | 2.6.4 | ||
73 | |||