summaryrefslogtreecommitdiffstats
path: root/devices
Commit message (Collapse)AuthorAgeFilesLines
* More robusst comment-ignoring in kboot parser.Jeremy Kerr2007-04-051-0/+3
| | | | | | The previous check wouldn't ignore comment lines that contain an '='. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Stop on first valid config foundJeremy Kerr2007-04-051-1/+1
| | | | | | Removed the stop case during testing, so put it back now. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Fix random bytes in string in kboot parserJeremy Kerr2007-04-051-0/+1
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Fix bogon in parser testJeremy Kerr2007-04-051-1/+1
| | | | | | fprintf isn't vfprintf. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Use pb_log in the udev-helper.Jeremy Kerr2007-04-053-15/+17
| | | | | | Rather than printf(), as stdout gets lost in the ether. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Separate parsing infrastructure and add test wrapperJeremy Kerr2007-04-058-140/+238
| | | | | | | | Add a parsers.h header, providing the interface that parsers should be written to (instead of the olf udev-helper.h). This allows us to build the parsers into a separate test executable. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Ignore ramdisk devices.Jeremy Kerr2007-04-051-0/+15
| | | | | | | Don't try and parse the config from ramdisk devices, and add a general system for device ignoring. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Fix space issue with kboot parser.Jeremy Kerr2007-04-051-1/+2
| | | | | | | | | We weren't adding spaces around foo=bar kernel command-line parameters. Also, use the short name for the kernel path in the (debug) description field. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Don't block udev if udev-helper sleepsJeremy Kerr2007-04-051-8/+30
| | | | | | | | If udev-helper is going to sleep(), then detach from the main udev process first. Previously, this meant that new devices were 'stuck' behind polling helpers. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Don't crash when ID_BUS isn't in the env.Jeremy Kerr2007-04-051-0/+2
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add kboot.conf parserJeremy Kerr2007-04-052-1/+236
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Remove duplicate prepend_mountpoint() functions.Jeremy Kerr2007-04-044-37/+27
| | | | | | | Replace prepend_mountpoint() with join_paths(), and make it available to all parsers, instead of duplicating it in each. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add USE_FAKE_SOCKET compile optionBenjamin Herrenschmidt2007-04-031-3/+7
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Primitive support for polling removable devicesBenjamin Herrenschmidt2007-04-031-10/+142
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add some basic yaboot.conf parsing supportDavid Woodhouse2007-04-036-9/+798
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Make petitboot installableJeremy Kerr2007-04-021-23/+17
| | | | | | | Add an install target and PREFIX= option the makefile, and change the artwork loading code to use the prefixed-path. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Integrate devices/MakefileJeremy Kerr2007-04-021-9/+0
| | | | | | Roll the Makefile for the udev-helper into the top-level Makefile. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Initial gitification of petitbootJeremy Kerr2007-04-027-0/+1229
Start a git repo for petitboot, sources from Ben Herrenschmidt and Jeremy Kerr. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud