From: root <root@deb7build.(none)> Add a possibility to customize variables similar to kvm-xfstests/config.custom One can add local mirrors to speedup image generation --- kvm-xfstests/test-appliance/gen-root-image | 3 +++ kvm-xfstests/test-appliance/gen-test-image | 3 +++ 2 files changed, 6 insertions(+) diff --git a/kvm-xfstests/test-appliance/gen-root-image b/kvm-xfstests/test-appliance/gen-root-image index 977c4c2..516b7b5 100644 --- a/kvm-xfstests/test-appliance/gen-root-image +++ b/kvm-xfstests/test-appliance/gen-root-image @@ -12,6 +12,9 @@ RAW_ROOT_FS=$DIR/root_fs.raw ROOT_FS=$DIR/root_fs.img COMPAT="-o compat=0.10" +if test -f $DIR/config.custom ; then + . $DIR/config.custom +fi if test $(df -k /tmp | tail -1 | awk '{print $4}') -gt 350000 then diff --git a/kvm-xfstests/test-appliance/gen-test-image b/kvm-xfstests/test-appliance/gen-test-image index ab02592..fde1798 100755 --- a/kvm-xfstests/test-appliance/gen-test-image +++ b/kvm-xfstests/test-appliance/gen-test-image @@ -8,6 +8,9 @@ TEST_FS=$DIR/test_fs.img TESTDIR=$DIR/testdir COMPAT="-o compat=0.10" +if test -f $DIR/config.custom ; then + . $DIR/config.custom +fi if test $(df -k /tmp | tail -1 | awk '{print $4}') -gt 350000 then -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html