Move ROOTFSDIR declaration to testing.conf
This commit is contained in:
committed by
Tobias Brunner
parent
ee1cd88c7a
commit
62a277cfae
@@ -21,7 +21,6 @@ echo "Creating guest images"
|
|||||||
[ `id -u` -eq 0 ] || die "You must be root to run $0"
|
[ `id -u` -eq 0 ] || die "You must be root to run $0"
|
||||||
|
|
||||||
BASE=$BUILDDIR/base.img
|
BASE=$BUILDDIR/base.img
|
||||||
ROOTFSDIR=$BUILDDIR/root-fs
|
|
||||||
HOSTSDIR=$PWD/hosts
|
HOSTSDIR=$PWD/hosts
|
||||||
|
|
||||||
[ -f $BASE ] || die "Base image $BASE not found"
|
[ -f $BASE ] || die "Base image $BASE not found"
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ echo "Building root image"
|
|||||||
|
|
||||||
[ -f "$ROOTFS" ] || die "Root image $ROOTFS not found"
|
[ -f "$ROOTFS" ] || die "Root image $ROOTFS not found"
|
||||||
|
|
||||||
ROOTFSDIR=$BUILDDIR/root-fs
|
|
||||||
mkdir -p $ROOTFSDIR
|
mkdir -p $ROOTFSDIR
|
||||||
mkdir -p $LOOPDIR
|
mkdir -p $LOOPDIR
|
||||||
mkdir -p $ROOTFSCOMPILEDIR
|
mkdir -p $ROOTFSCOMPILEDIR
|
||||||
|
|||||||
@@ -55,6 +55,9 @@ ROOTFS=$BUILDDIR/debian-$ROOTFSSUITE-$ROOTFSARCH.img
|
|||||||
ROOTFSMIRROR=http://cdn.debian.net/debian
|
ROOTFSMIRROR=http://cdn.debian.net/debian
|
||||||
ROOTFSCOMPILEDIR=$BUILDDIR/compile
|
ROOTFSCOMPILEDIR=$BUILDDIR/compile
|
||||||
|
|
||||||
|
# Path to guest images
|
||||||
|
ROOTFSDIR=$BUILDDIR/root-fs
|
||||||
|
|
||||||
# Filename of the built UML Kernel
|
# Filename of the built UML Kernel
|
||||||
UMLKERNEL=$BUILDDIR/linux-uml-$KERNELVERSION
|
UMLKERNEL=$BUILDDIR/linux-uml-$KERNELVERSION
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user