install hooks: add a sanity check for bad multilib usage
We don't want lib64 being used on 32-bit systems like x86 or arm.
If it leaks in, we should abort early on rather than much later like
during test time. So add a sanity check for these to reject lib64.
TEST=modifying an ebuild to install into /usr/lib64 and building on arm fails
Reviewed-by: Benson Leung <firstname.lastname@example.org>
Reviewed-by: C Shapiro <email@example.com>
Reviewed-by: Don Garrett <firstname.lastname@example.org>
Tested-by: Mike Frysinger <email@example.com>
1 file changed