summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavis, Michael <michael.davis@essvote.com>2016-08-03 21:26:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-10 09:36:28 +0100
commit40b89061c1efe8c150c1ac0886616d1b6facc2a0 (patch)
treeb803a7b8f008caef771750081b3d0eba2c0df392
parente38f649fe08c504bb4aea2004ef6980c346e474c (diff)
downloadopenembedded-core-contrib-40b89061c1efe8c150c1ac0886616d1b6facc2a0.tar.gz
openembedded-core-contrib-40b89061c1efe8c150c1ac0886616d1b6facc2a0.tar.bz2
openembedded-core-contrib-40b89061c1efe8c150c1ac0886616d1b6facc2a0.zip
pseudo: Add nobody user and group
Nodejs expects the user and group nobody to exist on global install commands. The target build works as base-passwd contained it, however the fallback passwd did not. This broke the SDK if nodejs was included. Signed-off-by: Michael Davis <michael.davis@essvote.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/pseudo/files/fallback-group1
-rw-r--r--meta/recipes-devtools/pseudo/files/fallback-passwd1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/files/fallback-group b/meta/recipes-devtools/pseudo/files/fallback-group
index 81bf732312..bb3dbca606 100644
--- a/meta/recipes-devtools/pseudo/files/fallback-group
+++ b/meta/recipes-devtools/pseudo/files/fallback-group
@@ -1,2 +1,3 @@
root:*:0:
mail:*:8:
+nobody:*:99:
diff --git a/meta/recipes-devtools/pseudo/files/fallback-passwd b/meta/recipes-devtools/pseudo/files/fallback-passwd
index c1458dc0f6..0889c5704c 100644
--- a/meta/recipes-devtools/pseudo/files/fallback-passwd
+++ b/meta/recipes-devtools/pseudo/files/fallback-passwd
@@ -1 +1,2 @@
root::0:0:root:/home/root:/bin/sh
+nobody:*:65534:65534:nobody:/nonexistent:/bin/sh