Skip to content

Commit

Permalink
Be less agressive with removal of files, do not touch tmp and depende…
Browse files Browse the repository at this point in the history
…nt .gits
  • Loading branch information
ayufan committed Sep 20, 2017
1 parent 441a6a2 commit 4dda4b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ node('docker && linux-build') {
set +xe
export CCACHE_DIR=$WORKSPACE/ccache
ccache -M 0 -F 0
git clean -ffdx -e ccache
git clean -fdx -e ccache tmp .repo
'''
}

Expand Down
3 changes: 1 addition & 2 deletions rootfs/make_rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ case $DISTRO in
esac

mkdir -p $BUILD
TARBALL="$TEMP/$(basename $ROOTFS)"
TARBALL="tmp/$(basename $ROOTFS)"

mkdir -p "$BUILD"
if [ ! -e "$TARBALL" ]; then
Expand All @@ -110,7 +110,6 @@ echo -n "Extracting ... "
set -x
tar -xf "$TARBALL" -C "$DEST" $TAR_OPTIONS
echo "OK"
rm -f "$TARBALL"

# Add qemu emulation.
cp /usr/bin/qemu-aarch64-static "$DEST/usr/bin"
Expand Down

0 comments on commit 4dda4b7

Please sign in to comment.