|
@@ -465,7 +465,7 @@ mount-chroot-mount(){
|
|
unionfs_dir)
|
|
unionfs_dir)
|
|
if [ $with_unionfs -eq 1 ]; then
|
|
if [ $with_unionfs -eq 1 ]; then
|
|
[ -d ${UNIONFS_ROOT} ] || mkdir -p ${UNIONFS_ROOT}
|
|
[ -d ${UNIONFS_ROOT} ] || mkdir -p ${UNIONFS_ROOT}
|
|
- [ -z "$(mount | grep ${BUILD_ROOT})" ] && \
|
|
+ [ -z "$(mount | grep ${UNIONFS_ROOT})" ] && \
|
|
mount -t unionfs -o dirs=${UNIONFS_ROOT}=rw:${BUILD_ROOT}=ro unionfs ${BUILD_ROOT}
|
|
mount -t unionfs -o dirs=${UNIONFS_ROOT}=rw:${BUILD_ROOT}=ro unionfs ${BUILD_ROOT}
|
|
unionctl ${BUILD_ROOT} --list
|
|
unionctl ${BUILD_ROOT} --list
|
|
fi
|
|
fi
|