autopackage: do not copy tarball to build output
The tarball can be recreated with 'git archive'; it is not useful to keep it as part of the build output. Change-Id: I585aaaac765d9a52e444bcd878d3826bb7b96a45 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
f78d24935d
commit
8f5a22d56e
@ -26,14 +26,11 @@ find . -iname "spdk-*.tar.gz" -delete
|
||||
git archive HEAD -9 --prefix=${pv}/ -o ${pv}.tar.gz
|
||||
|
||||
tarball=$(ls -1 spdk-*.tar.gz)
|
||||
if [ $PWD != $out ]; then
|
||||
mv $tarball $out/
|
||||
fi
|
||||
|
||||
# Build from packaged source
|
||||
tmpdir=$(mktemp -d)
|
||||
echo "tmpdir=$tmpdir"
|
||||
tar -C "$tmpdir" -xf $out/$tarball
|
||||
tar -C "$tmpdir" -xf $tarball
|
||||
(
|
||||
cd "$tmpdir"/spdk-*
|
||||
time $MAKE ${MAKEFLAGS} DPDK_DIR=$DPDK_DIR CONFIG_DEBUG=n CONFIG_WERROR=y
|
||||
|
Loading…
Reference in New Issue
Block a user