Commit 8d88177a authored by Jim Harris's avatar Jim Harris
Browse files

autobuild.sh: don't check for untracked files in submodules



This is a somewhat temporary workaround for avoiding git status
errors related to symlinked files in the DPDK submodule.  The
build pools will be fixed to not change symlinks to regular
files when copying repositories between systems, but until
then apply this fix so we can move forward with switching
to DPDK 18.05 (which now has symlinked files in its
repository).

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: I8a6df76fb77a6f3ee3817bd975d198ae4cc3014a
Reviewed-on: https://review.gerrithub.io/420444


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent bb684fe7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ timing_exit "$make_timing_label"

# Check for generated files that are not listed in .gitignore
timing_enter generated_files_check
if [ `git status --porcelain | wc -l` -ne 0 ]; then
if [ `git status --porcelain --ignore-submodules | wc -l` -ne 0 ]; then
	echo "Generated files missing from .gitignore:"
	git status --porcelain
	exit 1
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ timing_enter autopackage

$MAKE clean

if [ `git status --porcelain | wc -l` -ne 0 ]; then
if [ `git status --porcelain --ignore-submodules | wc -l` -ne 0 ]; then
	echo make clean left the following files:
	git status --porcelain
	exit 1