[OE-core] [krogoth][master][PATCH] peusdo: Add nobody user and group

Davis, Michael michael.davis at essvote.com
Wed Aug 3 21:24:21 UTC 2016


Nodejs expects the user and group nobody to exist on global install commands.
The target build work work 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 at essvote.com>
---
 meta/recipes-devtools/pseudo/files/fallback-group  | 1 +
 meta/recipes-devtools/pseudo/files/fallback-passwd | 1 +
 2 files changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/pseudo/files/fallback-group b/meta/recipes-devtools/pseudo/files/fallback-group
index 81bf732..bb3dbca 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 c1458dc..0889c57 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
-- 
2.5.5



More information about the Openembedded-core mailing list