]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: create device table after package installation
authorChen Qi <Qi.Chen@windriver.com>
Tue, 13 Aug 2013 06:11:50 +0000 (14:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Aug 2013 10:14:13 +0000 (11:14 +0100)
commitd073ca77ba886c7912abd3ec0640881c00aea3bb
tree592e6a5bc7f6ebe6aba0d85d0505e8d834d1a80b
parent1fcf718e3a1e50446ab61972069566e5016bc625
image.bbclass: create device table after package installation

Now that the makedevs supports using user/group names in the devcie
table files, and it uses passwd and group files under the rootfs which
is provided by the base-passwd package, we should let package installation
finish first, so that makedevs can get a correct mapping from user/group
names to uid/gid.

The check for existence of ${IMAGE_ROOTFS}/dev is removed. This is because
do_rootfs doesn't have 'nostamp' flag any more, so the do_rootfs task will
not be rerun for every build. Checking for the existence of ${IMAGE_ROOTFS}/dev
is not necessary any more. Besides, as base-files package also installs the
/dev directory, this checking does not serve as a good criteria.

[YOCTO #1159]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/image.bbclass