rootfile-check: exclude gdb
gdb always contain aarch64 in a syscall list. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
parent
b689391f27
commit
e1253a4d34
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue