1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 10:17:09 +02:00
openwrt-xburst/package/block-mount/files
jow b6a1b5d84d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 11:06:32 +00:00
..
10-swap add the block-mount package by Daniel Dickinson (cshore), replacing existing automount functionality 2010-02-26 22:45:39 +00:00
20-fsck add the block-mount package by Daniel Dickinson (cshore), replacing existing automount functionality 2010-02-26 22:45:39 +00:00
40-mount block-mount: do not auto-mount anonymous mtdblock devices (fixes #10960, #10850) 2012-02-13 15:31:31 +00:00
50_determine_usb_root Fix extroot by UUID 2012-07-01 11:06:32 +00:00
55_determine_extroot_sysupgrade [package] 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
60_pivot_usb_root [package] 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
block.sh [package] /etc/functions.sh => /lib/functions.sh 2012-06-05 16:04:23 +00:00
extmount.sh [package] block-mount: Fixed module loading (double cat is wrong) 2011-11-02 18:38:38 +00:00
fsck.sh [package] block-mount: Reverting 26503. Was already fixed in a better way in commit 26474. 2011-04-07 01:00:14 +00:00
fstab.config Revert "[package/block-mount] remove example config file" 2011-06-08 20:45:19 +00:00
fstab.init [package] block-mount: remove explicit lock waits, solves some potential race conditions 2011-06-19 18:15:14 +00:00
mount.sh [package] block-mount block-extroot: Rename /tmp/rom-disabled to /tmp/whole_root-dsibled for disabled mounts of a non-overlay external rootfs. 2011-03-27 05:39:47 +00:00