properly handle return codes Signed-off-by: John Crispin <blogic@openwrt.org>
libfstools: convert to ulog() api Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
libfstools: extroot: simplify kmodloader invocation Now that kmodloader supports LD_LIBRARY_PATH and ignores argv[2] we can remove the extra argument and save one intermediate pointer. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
libfstools: extroot: rework libdir and block tool discovery Account for new upper/ directory component in recent overlayfs versions. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
libfstools: extroot: support builtin block Fix regression introduced with migration to fs-tools. The old ubox based exroot did a fall back to /sbin/block if $cfg/sbin/block did not exist. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
document mount_root and block (extroot) a bit Also s/fs_data/blkdev_path/ which should make more sense. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
set LD_LIBRARY_PATH when invoking block extroot from temporary overlay Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
split fs-state back into seperate tools Signed-off-by: John Crispin <blogic@openwrt.org>
move files around Signed-off-by: John Crispin <blogic@openwrt.org>