1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 19:40:46 +03:00
openwrt-xburst/package/block-mount
acinonyx 5d875c6c40 [package] block-mount: fsck.sh should only call pi_include() if dir /lib/functions/fsck exists.
/etc/functions.sh:pi_include() checks if the argument exists and prints
a warning if not. To prevent this warning if package block-mount is installed
but not package e2fsprogs, the script should check if this directory exists
before calling pi_include()

A wrong patch to suppress this warning was previously posted
with subject:
	[PATCH] Fix typo in name of to be included file

Signed-off-by: Mark Vels <mark.vels@team-embedded.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-06 20:50:06 +00:00
..
files [package] block-mount: fsck.sh should only call pi_include() if dir /lib/functions/fsck exists. 2011-04-06 20:50:06 +00:00
Config.in [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
Makefile [package] block-mount base-files: Added additional check to pi_include to ensure that a directory used with pi_include actually contains files matching the souring pattern because if not the shell dies due to an empty string in for statement. Added /lib/functions/fsck as an empty dir to block-mount. This combination fixes a warning which generates a lot of bug reports, without panicking the kernel like the last attempt. 2011-04-05 12:12:57 +00:00