makedevs: support using user/group names in device table files
authorChen Qi <Qi.Chen@windriver.com>
Tue, 13 Aug 2013 06:11:49 +0000 (14:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Aug 2013 10:14:33 +0000 (11:14 +0100)
commit1dc7d82a06c46ef293264b454b7064f5a97cf4bb
tree9f87780ca5861c2546d16cfb0d1611c51e876fcc
parent27605f995ca88bb558b4193b667d53550f3ef2df
makedevs: support using user/group names in device table files

Compared to hard coding the numeric group and user ids in the device
table files, the way of using user/group names is preferred.

This patch adds the ability to makedevs to correctly deal with device
table files with user/group names in them.

To maintain backward compatibility, the way of using uid/gid is still
supported.

[YOCTO #1159]

(From OE-Core rev: 1fcf718e3a1e50446ab61972069566e5016bc625)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c