]> code.ossystems Code Review - openembedded-core.git/commit
systemd: make udev-hwdb postinstall run on host
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 14 May 2013 11:23:29 +0000 (14:23 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 May 2013 21:09:41 +0000 (00:09 +0300)
commit0f6c0ed7888603c8d026a671f2acb1515ce799bf
tree7ec4ac551680f4450b25e82f87c7025c07d7e519
parent18d3e5eb9102a984d00837f8fec16fda522c511a
systemd: make udev-hwdb postinstall run on host

Run udevadm inside qemu in order to create the HW database index on
host.

The alternative would be to build a native version
of udevadm which would imply several things: split out systemd recipe,
create a common inc file and create a new recipe for udevadm native.

However, this latter solution might also add up to the build time
(the native recipe would need to run configure, make udevadm, install),
besides the time spent in the actual postinstall...

So, having the postinstall run through qemu is a good trade-off.

[YOCTO #4341]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/systemd/systemd_199.bb