/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>
# 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