aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2022-11-21 10:37:20 -0500
committerTheodore Ts'o <tytso@mit.edu>2022-11-21 10:37:20 -0500
commit5878ef60e12abce364c8d934d1cb3b40cec8c279 (patch)
treecf2f007db3ed61b4d6b921bc38b814a70f5ff88b
parent6f0d5246eca73ff50f50436f1a87f788750b35b9 (diff)
downloadxfstests-bld-5878ef60e12abce364c8d934d1cb3b40cec8c279.tar.gz
gen-image: create the kvm-xfstests test appliance as root_fs.img.<ARCH>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rwxr-xr-xtest-appliance/gen-image6
1 files changed, 3 insertions, 3 deletions
diff --git a/test-appliance/gen-image b/test-appliance/gen-image
index 88c6b5e2..cd19bca9 100755
--- a/test-appliance/gen-image
+++ b/test-appliance/gen-image
@@ -8,8 +8,9 @@ SUITE=buster
MIRROR=http://mirrors.kernel.org/debian
DIR=$(pwd)
ROOTDIR=$DIR/rootdir
-RAW_ROOT_FS=$DIR/root_fs.raw
-ROOT_FS=$DIR/root_fs.img
+DEBIAN_ARCH="$(dpkg --print-architecture)"
+RAW_ROOT_FS="$DIR/root_fs.raw.$DEBIAN_ARCH"
+ROOT_FS="$DIR/root_fs.img.$DEBIAN_ARCH"
COMPAT="-o compat=0.10"
SAVE_RAW_ROOT=no
DO_GCE=no
@@ -388,7 +389,6 @@ if test "$RESUME" -le 5 -a -f "backport-packages-$SUITE" ; then
fi
rm -rf "$ROOTDIR/debootstrap"
fi
-DEBIAN_ARCH="$(dpkg --print-architecture)"
DEBS="$(find debs -name "*_${DEBIAN_ARCH}.deb" -o -name "*_all.deb")"
if test -n "$DEBS"
then