cookutils rev 567 slitaz-tank

libmodular.sh: Build squashfs modules in union function.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jan 05 11:42:43 2013 +0000 (2013-01-05)
parents 594175c90cf3
children 096f73373805
files lib/libmodular.sh
line diff
     1.1 --- a/lib/libmodular.sh	Sat Jan 05 11:41:41 2013 +0000
     1.2 +++ b/lib/libmodular.sh	Sat Jan 05 11:42:43 2013 +0000
     1.3 @@ -156,6 +156,10 @@
     1.4  	info "Removing unionfs .wh. files."
     1.5  	find ${MODULES_DIR} -type f -name ".wh.*" -exec rm {} \;
     1.6  	find ${MODULES_DIR} -type d -name ".wh.*" -exec rm -rf {} \;
     1.7 +	
     1.8 +	for mod1 in $UNION_MODULES; do
     1.9 +		_mksquash $MODULES_DIR/$mod1 $ROOTCD/$CDNAME/base $INSTALLED
    1.10 +	done
    1.11  }
    1.12  
    1.13  # _mksquash dirname