openwrt/package/block-mount
Jo-Philipp Wich 6e419fbdeb Fix extroot by UUID
Extroot works fine when the target device is specified by a path. It fails
however if the device is specified by UUID (the target partition gets mounted
much later by hotplug hooks). This is because the blkid command is no longer
compiled into BusyBox (since changeset [1]) so it's unavailable for the
preinit phase.

The closest bug report I was able to find is [2], although the reporting person
mentions that /tmp/overlay-disabled showed up which wasn't there in my case.

This patch sets PATH and LD_LIBRARY_PATH environment variables so that the
blkid command installed on the target device can be used by that particular
preinit script.

[1] https://dev.openwrt.org/changeset/26245
[2] https://dev.openwrt.org/ticket/10653

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>

SVN-Revision: 32567
2012-07-01 11:06:32 +00:00
..
files Fix extroot by UUID 2012-07-01 11:06:32 +00:00
Config.in block-mount: Merged block-mount, block-extroot, and block-hotplug into a single binary package called block-mount. 2011-03-27 06:40:51 +00:00
Makefile block-mount: invoke blkid without cache file, this seems to fix mounts by uuid or label 2012-03-21 02:29:26 +00:00