summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c
Commit message (Collapse)AuthorAgeFilesLines
* makedevs: Make count actually behave as a count for device blocksPeter Kjellerstedt2013-06-041-1/+1
| | | | | | | | | | Previously count actually behaved as end, and did not take start into account. (From OE-Core rev: 4fe2b01bfd2831b002e7138dadbc0437df6e9ed6) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* makedevs: Avoid unnecessary timestamp calculationPeter Kjellerstedt2013-05-301-2/+0
| | | | | | | (From OE-Core rev: af4b5eac7acf36444de078c294c3adc3f2763511) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* makedevs: Make the mode number readable in debug messagesPeter Kjellerstedt2013-05-301-4/+4
| | | | | | | (From OE-Core rev: 56f4adfc37d44e9626a5d157863f4b760bb516ec) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* makedevs: Correct the device number calculation for blocks of devicesPeter Kjellerstedt2013-05-301-1/+1
| | | | | | | | | | | If the increment > 1 and the start > 0 then the calculation for the minor device number was incorrect. (From OE-Core rev: 0a878426bee607a7d961ba475a7ec7e89115df35) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* makedevs: Create blocks of devices with the correct uid/gidPeter Kjellerstedt2013-05-301-2/+3
| | | | | | | | | | | | | When creating a block of devices (i.e., when count > 0), the wrong path was used with the call to chown(), effectively trying to change the owner of some (probably) non-existent file. Thus the created device nodes were always owned by root. (From OE-Core rev: e7796880164d6a37c2699a94e1c5391337c5eaa5) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Major layout change to the packages directoryRichard Purdie2010-08-271-0/+360
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>