Move ramdisk images to CHROOTCACHEDIR
This commit is contained in:
parent
a3379e0eb1
commit
10db445b32
@ -99,7 +99,7 @@ wget -c http://images.ansolabs.com/tty.tgz -O $CHROOTCACHE/natty-stack$DEST/file
|
|||||||
|
|
||||||
# Use this version of devstack?
|
# Use this version of devstack?
|
||||||
if [ "$USE_CURRENT_DEVSTACK" = "1" ]; then
|
if [ "$USE_CURRENT_DEVSTACK" = "1" ]; then
|
||||||
rm -rf $$CHROOTCACHE/natty-stack/$DEST/devstack
|
rm -rf $CHROOTCACHE/natty-stack/$DEST/devstack
|
||||||
cp -pr $CWD $CHROOTCACHE/natty-stack/$DEST/devstack
|
cp -pr $CWD $CHROOTCACHE/natty-stack/$DEST/devstack
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -97,12 +97,12 @@ git_clone $OPENSTACKX_REPO $DEST/openstackx $OPENSTACKX_BRANCH
|
|||||||
|
|
||||||
# Use this version of devstack?
|
# Use this version of devstack?
|
||||||
if [ "$USE_CURRENT_DEVSTACK" = "1" ]; then
|
if [ "$USE_CURRENT_DEVSTACK" = "1" ]; then
|
||||||
rm -rf $$CHROOTCACHE/natty-stack/$DEST/devstack
|
rm -rf $CHROOTCACHE/natty-stack/$DEST/devstack
|
||||||
cp -pr $CWD $CHROOTCACHE/natty-stack/$DEST/devstack
|
cp -pr $CWD $CHROOTCACHE/natty-stack/$DEST/devstack
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# build a new image
|
# build a new image
|
||||||
BASE=build.$$
|
BASE=$CHROOTCACHE/build.$$
|
||||||
IMG=$BASE.img
|
IMG=$BASE.img
|
||||||
MNT=$BASE/
|
MNT=$BASE/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user