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