I agree about mounting configfs in the init script, but please
note that /sys/kernel/config *is* mounted early at boot time.
Its just not available yet.
Maybe the LSB header is bad, or the timeout in rtslib-fb-targetctl
has to be increased.
Regards
Harri
--- rtslib-fb-targetctl.bak 2016-02-28 15:49:37.000000000 +0100
+++ rtslib-fb-targetctl 2017-03-24 11:30:42.124356400 +0100
@@ -35,11 +35,11 @@
check_configfs_mounted () {
WORD_TO_GREP_IN_PROCMOUNT=configfs
#echo -n "Waiting for configfs to be loaded"
- NUM_RETRY=50
+ NUM_RETRY=120
while ! cat /proc/mounts | grep -q ${WORD_TO_GREP_IN_PROCMOUNT} && [ "${NUM_RETRY}" != 0 ] ; do
NUM_RETRY=$(( $NUM_RETRY - 1 ))
- #echo -n "."
- sleep 0.1
+ echo -n "."
+ sleep 1
done
if ! cat /proc/mounts | grep -q ${WORD_TO_GREP_IN_PROCMOUNT} ; then