]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
rootfile-check: exclude gdb
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 3 Dec 2020 06:50:41 +0000 (07:50 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 3 Dec 2020 06:50:41 +0000 (07:50 +0100)
gdb always contain aarch64 in a syscall list.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
tools/checknewlog.pl
tools/checkrootfiles

index 0df390b5cb298c00a9d25026390755e142afb087..c1d80eaeb28fc5466a2532a74ff781d120524caa 100755 (executable)
@@ -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";
index d11ab8d5ebc0e0d32f360b983e130f903b023eaa..5e465700d2cc8b6233664715461f1b7178d6c308 100755 (executable)
@@ -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