overlay: use OVL_BASE_SCRATCH_MNT instead of SCRATCH_DEV
authorAmir Goldstein <amir73il@gmail.com>
Tue, 28 Feb 2017 12:18:37 +0000 (14:18 +0200)
committerEryu Guan <eguan@redhat.com>
Wed, 1 Mar 2017 10:36:02 +0000 (18:36 +0800)
commit33e41998959efe6e7759d42aa2c454ff899c76b7
treefaad01a599af09119f39c70c5a4253f6c1f32bcc
parent2ab614524d618150b92abb029b499c84df34e26d
overlay: use OVL_BASE_SCRATCH_MNT instead of SCRATCH_DEV

Use the new var OVL_BASE_SCRATCH_MNT to refer to overlay
base dir instead of the legacy SCRATCH_DEV var.

In overlay/011, when using MOUNT_PROG directly, provide
OVL_BASE_SCRATCH_MNT as device argument instead of 'none'.
This fix is required to support mount of base fs.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
26 files changed:
tests/overlay/001
tests/overlay/002
tests/overlay/003
tests/overlay/004
tests/overlay/005
tests/overlay/006
tests/overlay/008
tests/overlay/009
tests/overlay/010
tests/overlay/011
tests/overlay/012
tests/overlay/013
tests/overlay/014
tests/overlay/015
tests/overlay/016
tests/overlay/017
tests/overlay/018
tests/overlay/019
tests/overlay/020
tests/overlay/021
tests/overlay/022
tests/overlay/023
tests/overlay/024
tests/overlay/027
tests/overlay/028
tests/overlay/029