From: Arne Fitzenreiter Date: Thu, 3 Dec 2020 06:50:41 +0000 (+0100) Subject: rootfile-check: exclude gdb X-Git-Tag: v2.25-core155~384^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1253a4d348f23d0d368ef69bc213b184acb8b56;p=ipfire-2.x.git rootfile-check: exclude gdb gdb always contain aarch64 in a syscall list. Signed-off-by: Arne Fitzenreiter --- diff --git a/tools/checknewlog.pl b/tools/checknewlog.pl index 0df390b5cb..c1d80eaeb2 100755 --- a/tools/checknewlog.pl +++ b/tools/checknewlog.pl @@ -28,7 +28,7 @@ foreach(@FILES) { # print $_."\n"; my $Found = 0; - if ( $_ =~ /$\.log/ || $_ =~ /^\.+/ || $_=~ /-install/ || $_=~ /-tools/ || $_=~ /-config/ || $_=~ /-kmod-/|| $_=~ /u-boot-.*-1/|| $_=~ /coreutils/ || $_=~ /cmake/ || $_=~ /libsigc/ || $_ eq 'FILES' ){ + if ( $_ =~ /$\.log/ || $_ =~ /^\.+/ || $_=~ /-install/ || $_=~ /-tools/ || $_=~ /-config/ || $_=~ /-kmod-/|| $_=~ /u-boot-.*-1/|| $_=~ /coreutils/ || $_=~ /cmake/ || $_=~ /gdb/ || $_=~ /libsigc/ || $_ eq 'FILES' ){ next; } elsif ( $_=~ /missing_rootfile/ ){ print "Rootfile for $_ missing!\n"; diff --git a/tools/checkrootfiles b/tools/checkrootfiles index d11ab8d5eb..5e465700d2 100755 --- a/tools/checkrootfiles +++ b/tools/checkrootfiles @@ -54,7 +54,7 @@ if [ "${?}" == "0" ]; then echo "Replace by xxxMACHINExxx !" fi -grep -r '/aarch64' ./config/rootfiles/ --exclude gcc --exclude-dir oldcore --exclude-dir aarch64 >/dev/null 2>&1 +grep -r '/aarch64' ./config/rootfiles/ --exclude gcc --exclude gdb --exclude-dir oldcore --exclude-dir aarch64 >/dev/null 2>&1 if [ "${?}" == "0" ]; then echo "Error! '/aarch64' in rootfiles files found!" grep -r '/aarch64' ./config/rootfiles/ --exclude gcc --exclude-dir oldcore --exclude-dir aarch64