common: export overlay lower/upper/work directories as variables

This turns hard coded lower/upper/work dir names to configurable
variables.

Suggested-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Eryu Guan
2016-02-08 09:27:14 +11:00
committed by Dave Chinner
parent 22bc781c39
commit 379d6e0130
2 changed files with 10 additions and 7 deletions
+3
View File
@@ -77,6 +77,9 @@ export XFS_MKFS_OPTIONS=${XFS_MKFS_OPTIONS:=-bsize=4096}
export TIME_FACTOR=${TIME_FACTOR:=1}
export LOAD_FACTOR=${LOAD_FACTOR:=1}
export DEBUGFS_MNT=${DEBUGFS_MNT:="/sys/kernel/debug"}
export OVERLAY_UPPER_DIR=${OVERLAY_UPPER_DIR:="upper"}
export OVERLAY_LOWER_DIR=${OVERLAY_LOWER_DIR:="lower"}
export OVERLAY_WORK_DIR=${OVERLAY_WORK_DIR:="work"}
export PWD=`pwd`
#export DEBUG=${DEBUG:=...} # arbitrary CFLAGS really.