equal
deleted
inserted
replaced
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 |
57 #mount --bind /dev "$MOUNT/dev" |
58 #mount --bind /dev "$MOUNT/dev" |
58 #mount --bind /dev/pts "$MOUNT/dev/pts" |
59 #mount --bind /dev/pts "$MOUNT/dev/pts" |
59 mount -t proc proc $MOUNT/proc |
60 mount -t proc proc $MOUNT/proc |
60 |
61 |
61 chroot $MOUNT ./action/go |
62 chroot $MOUNT ./action/go |
62 |
63 echo "Completed successfully" |