Skip to content

Commit

Permalink
Revert "Be less agressive with removal of files, do not touch tmp and…
Browse files Browse the repository at this point in the history
… dependent .gits"

This reverts commit 4dda4b7.
  • Loading branch information
ayufan committed Sep 20, 2017
1 parent 4dda4b7 commit 549d7d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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 -fdx -e ccache tmp .repo
git clean -ffdx -e ccache
'''
}

Expand Down
3 changes: 2 additions & 1 deletion 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="tmp/$(basename $ROOTFS)"
TARBALL="$TEMP/$(basename $ROOTFS)"

mkdir -p "$BUILD"
if [ ! -e "$TARBALL" ]; then
Expand All @@ -110,6 +110,7 @@ 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 549d7d6

Please sign in to comment.