浏览代码

support/scripts/check-bin-arch: ignore /usr/lib/grub

/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>
Alex Xu 6 年之前
父节点
当前提交
b7fddc0622
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      support/scripts/check-bin-arch

+ 3 - 2
support/scripts/check-bin-arch

@@ -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