summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/pseudo/files
diff options
context:
space:
mode:
authorPeter A. Bigot <pab@pabigot.com>2014-11-01 06:48:03 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-25 12:58:21 +0000
commit91443426246fbe13083c19801b7c74365e041271 (patch)
treeca2e83f9c50cf4e70c7d05d3a37fe8805bc69768 /meta/recipes-devtools/pseudo/files
parent899fe3d1d05054a10e4d427810c20ad1e34f916a (diff)
downloadopenembedded-core-91443426246fbe13083c19801b7c74365e041271.tar.gz
openembedded-core-91443426246fbe13083c19801b7c74365e041271.tar.bz2
openembedded-core-91443426246fbe13083c19801b7c74365e041271.zip
pseudo: provide fallback passwd and group files
Normally pseudo is built with --without-passwd-fallback, which requires that somebody provide target passwd and group files. Those come from base-passwd in OE, but base-passwd cannot be built without first invoking operations under pseudo that require getpw*/getgr*. Provide the absolute minimum stub files, matching in content what will eventually be on the target, that can be used in the cases where the target files are not yet available. The requirements for minimum stub are the usernames and groups identified in meta/files/fs-perms.txt. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Diffstat (limited to 'meta/recipes-devtools/pseudo/files')
-rw-r--r--meta/recipes-devtools/pseudo/files/fallback-group2
-rw-r--r--meta/recipes-devtools/pseudo/files/fallback-passwd1
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/files/fallback-group b/meta/recipes-devtools/pseudo/files/fallback-group
new file mode 100644
index 0000000000..81bf732312
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/fallback-group
@@ -0,0 +1,2 @@
+root:*:0:
+mail:*:8:
diff --git a/meta/recipes-devtools/pseudo/files/fallback-passwd b/meta/recipes-devtools/pseudo/files/fallback-passwd
new file mode 100644
index 0000000000..c1458dc0f6
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/fallback-passwd
@@ -0,0 +1 @@
+root::0:0:root:/home/root:/bin/sh