When I wanted to create devices from a package I stumbled upon a couple of problems with the makedevs program. Most notable was that it failed to set the correct uid/gid for devices created as part of a block (i.e., with a count > 0).
PATCH v2: And now with Signed-off-by lines, as requested. PATCH v3: Also made count for blocks of devices behave as a count rather than the end (noticed after looking a makedevs.c from BusyBox). PATCH v4: Added a Signed-off-by to the fifth patch. Will only resend it as the other patches have already been accepted. The following changes since commit efb8a460d2a977dbd481a0650fba8eb637c65bec: package.bbclass: Fix sources contents (2013-05-14 08:52:47 +0300) are available in the git repository at: git://git.yoctoproject.org/poky-contrib pkj/makedevs http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/makedevs Peter Kjellerstedt (5): makedevs: Create blocks of devices with the correct uid/gid makedevs: Correct the device number calculation for blocks of devices makedevs: Make the mode number readable in debug messages makedevs: Avoid unnecessary timestamp calculation makedevs: Make count actually behave as a count for device blocks meta/files/device_table-minimal.txt | 2 +- .../makedevs/makedevs-1.0.0/makedevs.c | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) -- 1.8.2.1 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core