diff options
author | Laszlo Papp <lpapp@kde.org> | 2014-01-30 18:41:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-02 22:37:41 +0000 |
commit | 152679df1fd8080b9963da38eb88690c7532edc0 (patch) | |
tree | 7bdaee45c89e58cb53a5dad77f7196db3363a525 /meta/recipes-core | |
parent | b96375bd83b7712c5910dbf5e8f30102c3461d12 (diff) | |
download | poky-152679df1fd8080b9963da38eb88690c7532edc0.tar.gz |
meta/recipes-core/base-passwd/base-passwd/noshadow.patch: Split it into two parts
The current change contains two different logics resulting that users like me
may need to partially override the behavior of it. It would be easier for end
users to keep one change while dropping the other if needed, like in our case.
(From OE-Core rev: 0ca984f32682151cfeff852167f0174aca20a8bc)
Signed-off-by: Laszlo Papp <lpapp@kde.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd/nobash.patch | 10 | ||||
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd/noshadow.patch | 14 | ||||
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd_3.5.29.bb | 1 |
3 files changed, 16 insertions, 9 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd/nobash.patch b/meta/recipes-core/base-passwd/base-passwd/nobash.patch index 6371576440..eed87db6cb 100644 --- a/meta/recipes-core/base-passwd/base-passwd/nobash.patch +++ b/meta/recipes-core/base-passwd/base-passwd/nobash.patch | |||
@@ -1,14 +1,6 @@ | |||
1 | use /bin/sh instead of /bin/bash, since the latter may not be included in | 1 | use /bin/sh instead of /bin/bash, since the latter may not be included in |
2 | some images such as minimal | 2 | some images such as minimal |
3 | 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] | 4 | Upstream-Status: Invalid [configuration] |
13 | 5 | ||
14 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | 6 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> |
@@ -17,7 +9,7 @@ Signed-off-by: Scott Garman <scott.a.garman@intel.com> | |||
17 | +++ base-passwd/passwd.master | 9 | +++ base-passwd/passwd.master |
18 | @@ -1,4 +1,4 @@ | 10 | @@ -1,4 +1,4 @@ |
19 | -root:*:0:0:root:/root:/bin/bash | 11 | -root:*:0:0:root:/root:/bin/bash |
20 | +root::0:0:root:/root:/bin/sh | 12 | +root:*:0:0:root:/root:/bin/sh |
21 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | 13 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh |
22 | bin:*:2:2:bin:/bin:/bin/sh | 14 | bin:*:2:2:bin:/bin:/bin/sh |
23 | sys:*:3:3:sys:/dev:/bin/sh | 15 | sys:*:3:3:sys:/dev:/bin/sh |
diff --git a/meta/recipes-core/base-passwd/base-passwd/noshadow.patch b/meta/recipes-core/base-passwd/base-passwd/noshadow.patch new file mode 100644 index 0000000000..e1cded61d6 --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd/noshadow.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | remove "*" for root since we don't have a /etc/shadow so far. | ||
2 | |||
3 | Upstream-Status: Invalid [configuration] | ||
4 | |||
5 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
6 | |||
7 | --- base-passwd/passwd.master~nobash | ||
8 | +++ base-passwd/passwd.master | ||
9 | @@ -1,4 +1,4 @@ | ||
10 | -root:*:0:0:root:/root:/bin/sh | ||
11 | +root::0:0:root:/root:/bin/sh | ||
12 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | ||
13 | bin:*:2:2:bin:/bin:/bin/sh | ||
14 | sys:*:3:3:sys:/dev:/bin/sh | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb index 082037a2a3..5b31fce87f 100644 --- a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb +++ b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb | |||
@@ -9,6 +9,7 @@ DEPENDS = "docbook-utils-native linuxdoc-tools-native" | |||
9 | SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \ | 9 | SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \ |
10 | file://add_shutdown.patch \ | 10 | file://add_shutdown.patch \ |
11 | file://nobash.patch \ | 11 | file://nobash.patch \ |
12 | file://noshadow.patch \ | ||
12 | file://input.patch \ | 13 | file://input.patch \ |
13 | file://disable-docs.patch \ | 14 | file://disable-docs.patch \ |
14 | " | 15 | " |