diff options
Diffstat (limited to 'meta/recipes-core/base-passwd/base-passwd-3.5.24')
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd-3.5.24/nobash.patch | 23 | ||||
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd-3.5.24/root-home.patch | 16 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd-3.5.24/nobash.patch b/meta/recipes-core/base-passwd/base-passwd-3.5.24/nobash.patch new file mode 100644 index 0000000000..6371576440 --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd-3.5.24/nobash.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | use /bin/sh instead of /bin/bash, since the latter may not be included in | ||
2 | some images such as minimal | ||
3 | |||
4 | comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06 | ||
5 | |||
6 | remove "*" for root since we don't have a /etc/shadow so far. | ||
7 | |||
8 | by Kevin Tian <kevin.tian@intel.com>, 2010-07-06 | ||
9 | |||
10 | Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher | ||
11 | |||
12 | Upstream-Status: Invalid [configuration] | ||
13 | |||
14 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
15 | |||
16 | --- base-passwd/passwd.master~nobash | ||
17 | +++ base-passwd/passwd.master | ||
18 | @@ -1,4 +1,4 @@ | ||
19 | -root:*:0:0:root:/root:/bin/bash | ||
20 | +root::0:0:root:/root:/bin/sh | ||
21 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | ||
22 | bin:*:2:2:bin:/bin:/bin/sh | ||
23 | sys:*:3:3:sys:/dev:/bin/sh | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd-3.5.24/root-home.patch b/meta/recipes-core/base-passwd/base-passwd-3.5.24/root-home.patch new file mode 100644 index 0000000000..eab77f124f --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd-3.5.24/root-home.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | we use /home/root instead of /root | ||
2 | |||
3 | Comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06 | ||
4 | |||
5 | Upstream-Status: Inappropriate [configuration] | ||
6 | |||
7 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
8 | |||
9 | --- base-passwd/passwd.master.orig 2005-07-08 06:26:22.000000000 +0200 | ||
10 | +++ base-passwd/passwd.master 2005-07-08 06:31:58.000000000 +0200 | ||
11 | @@ -1,4 +1,4 @@ | ||
12 | -root::0:0:root:/root:/bin/sh | ||
13 | +root::0:0:root:/home/root:/bin/sh | ||
14 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | ||
15 | bin:*:2:2:bin:/bin:/bin/sh | ||
16 | sys:*:3:3:sys:/dev:/bin/sh | ||