Skip to contentSkip to conversation

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

PATCH New Alex Xu (Hello71) 3 participants 3 messages May 7, 2019 – Jun 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/check-bin-arch: ignore /usr/lib/grub

/lib/grub is already ignored, so add /usr/lib/grub to support BR2_ROOTFS_MERGED_USR.

---
 support/scripts/check-bin-arch | 1 +
 1 file changed, 1 insertion(+)
support/scripts/check-bin-arch +1 -0
index 66b8d89932..0c6ce83b4f 100755
@@ -24,6 +24,7 @@ declare -a IGNORES=(
 	# Skip files in /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
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 support/check-bin-arch: ignore /usr/lib/grub

Hello Alex,

Thanks for your contribution!

Quoted 13 lines · On Tue, 7 May 2019 08:43:45 -0400 "Alex Xu (Hello71)" <[email protected]>…

/lib/grub is already ignored, so add /usr/lib/grub to support BR2_ROOTFS_MERGED_USR.

---
 support/scripts/check-bin-arch | 1 +
 1 file changed, 1 insertion(+)
support/scripts/check-bin-arch +0 -0
index 66b8d89932..0c6ce83b4f 100755

support/scripts/check-bin-arch declare -a IGNORES=( · line 27

Quoted 4 lines
support/scripts/check-bin-arch +1 -0
@@ -24,6 +24,7 @@ declare -a IGNORES=(
 	# Skip files in /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"

I have updated the comment right above, and applied your patch to master. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com