support/scripts/check-bin-arch: ignore /usr/lib/grub
authorAlex Xu <alex_y_xu@yahoo.ca>
Tue, 7 May 2019 12:43:45 +0000 (08:43 -0400)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 20 May 2019 20:33:14 +0000 (22:33 +0200)
/lib/grub is already ignored, so add /usr/lib/grub to support
BR2_ROOTFS_MERGED_USR.

Signed-off-by: Alex Xu <alex_y_xu@yahoo.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/scripts/check-bin-arch

index 66b8d8993234917083c9dbe6a2b867558ea66216..3449bd1aebcdd8f9a01ec6981ad5eb3ed1f20476 100755 (executable)
@@ -21,9 +21,10 @@ declare -a IGNORES=(
        # are not for the target architecture
        "/usr/share"
 
-       # Skip files in /lib/grub, since it is possible to have it
-       # for a different architecture (e.g. i386 grub on x86_64).
+       # Skip files in {/usr,}/lib/grub, since it is possible to have
+       # it for a different architecture (e.g. i386 grub on x86_64).
        "/lib/grub"
+       "/usr/lib/grub"
 )
 
 while getopts p:l:r:a:i: OPT ; do