dev/chroot-test/run-test
changeset 308 e1f71a2eafb6
parent 283 01eca64f77ab
child 310 38c222727017
equal deleted inserted replaced
307:9009a37ad45b 308:e1f71a2eafb6
    29     umount $MOUNT || true
    29     umount $MOUNT || true
    30     rm -rf $MOUNT
    30     rm -rf $MOUNT
    31 fi
    31 fi
    32 if [ -e $BACKING ] ; then
    32 if [ -e $BACKING ] ; then
    33     echo "Copying deb files into cache"
    33     echo "Copying deb files into cache"
       
    34     mkdir -p $BUILDDIR/aptcache/$DEBVERSION
    34     cp $BACKING/var/cache/apt/archives/* $BUILDDIR/aptcache/$DEBVERSION || true
    35     cp $BACKING/var/cache/apt/archives/* $BUILDDIR/aptcache/$DEBVERSION || true
    35     echo "Deleting old filesystem backing store"
    36     echo "Deleting old filesystem backing store"
    36     rm -rf $BACKING
    37     rm -rf $BACKING
    37 fi
    38 fi
    38 mkdir $BACKING $MOUNT
    39 mkdir $BACKING $MOUNT