summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd/base-passwd-3.5.22
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/base-passwd/base-passwd-3.5.22')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd-3.5.22/mysql.patch13
-rw-r--r--meta/recipes-core/base-passwd/base-passwd-3.5.22/nobash.patch20
-rw-r--r--meta/recipes-core/base-passwd/base-passwd-3.5.22/root-home.patch11
3 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd-3.5.22/mysql.patch b/meta/recipes-core/base-passwd/base-passwd-3.5.22/mysql.patch
new file mode 100644
index 0000000000..8bfd757929
--- /dev/null
+++ b/meta/recipes-core/base-passwd/base-passwd-3.5.22/mysql.patch
@@ -0,0 +1,13 @@
1# set correct uid/gid for mysql, from OE (8836cd807198c224ed23b05fa4f708f096881b27).
2# however poky doesn't include mysql so far. Remove it from patch list, but keep
3# this patch for a while
4#
5# comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
6--- base-passwd/group.master.orig 2005-07-08 06:36:07.717990112 +0200
7+++ base-passwd/group.master 2005-07-08 06:36:32.000000000 +0200
8@@ -36,4 +36,5 @@
9 staff:*:50:
10 games:*:60:
11 users:*:100:
12+mysql:*:64001:
13 nogroup:*:65534:
diff --git a/meta/recipes-core/base-passwd/base-passwd-3.5.22/nobash.patch b/meta/recipes-core/base-passwd/base-passwd-3.5.22/nobash.patch
new file mode 100644
index 0000000000..52650166f8
--- /dev/null
+++ b/meta/recipes-core/base-passwd/base-passwd-3.5.22/nobash.patch
@@ -0,0 +1,20 @@
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
13--- base-passwd/passwd.master~nobash
14+++ base-passwd/passwd.master
15@@ -1,4 +1,4 @@
16-root:*:0:0:root:/root:/bin/bash
17+root::0:0:root:/root:/bin/sh
18 daemon:*:1:1:daemon:/usr/sbin:/bin/sh
19 bin:*:2:2:bin:/bin:/bin/sh
20 sys:*:3:3:sys:/dev:/bin/sh
diff --git a/meta/recipes-core/base-passwd/base-passwd-3.5.22/root-home.patch b/meta/recipes-core/base-passwd/base-passwd-3.5.22/root-home.patch
new file mode 100644
index 0000000000..87c4655a04
--- /dev/null
+++ b/meta/recipes-core/base-passwd/base-passwd-3.5.22/root-home.patch
@@ -0,0 +1,11 @@
1# poky uses /home/root instead of /root.
2#
3# comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
4--- base-passwd/passwd.master.orig 2005-07-08 06:26:22.000000000 +0200
5+++ base-passwd/passwd.master 2005-07-08 06:31:58.000000000 +0200
6@@ -1,4 +1,4 @@
7-root::0:0:root:/root:/bin/sh
8+root::0:0:root:/home/root:/bin/sh
9 daemon:*:1:1:daemon:/usr/sbin:/bin/sh
10 bin:*:2:2:bin:/bin:/bin/sh
11 sys:*:3:3:sys:/dev:/bin/sh