8171400: Move checking of duplicate packages in the boot layer to link time

Reviewed-by: alanb
4 files changed