Skip to content

Commit

Permalink
Cleanup script at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Dec 3, 2016
1 parent ee34ffa commit bcc1ddb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packer-template-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ message "Updating squashfs..."
cd /
umount /android /mnt/android
mksquashfs /android/overlay /android.squashfs -Xcompression-level 7

message "Cleanup new files..."
rm -rf /android
mkdir -p /android/{overlay,work}/

0 comments on commit bcc1ddb

Please sign in to comment.