|
@@ -523,7 +523,8 @@ mount-chroot-mount(){
|
|
|
unionfs_dir)
|
|
|
if [ $with_unionfs -eq 1 ]; then
|
|
|
[ -d ${UNIONFS_ROOT} ] || mkdir -p ${UNIONFS_ROOT}
|
|
|
- if ( /sbin/modprobe aufs >& /dev/null ) ; then
|
|
|
+ /sbin/modprobe aufs >& /dev/null ||:
|
|
|
+ if ( grep -q aufs /proc/filesystem ) ; then
|
|
|
[ -z "$(mount | grep ${UNIONFS_ROOT})" ] && \
|
|
|
mount -t aufs -o br=${UNIONFS_ROOT}=rw:${BUILD_ROOT}=ro aufs ${BUILD_ROOT}
|
|
|
else
|