Add support for overriding the profile and install baselayout for merged-usr #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This supersedes #22, which added the initial support for the overriding the profile. This extends that work, adding a warning if you don't select a profile, and installing baselayout to get the right layout with merged-usr profiles.
It also includes a couple of other small improvements.
Unfortunately, merged-usr layouts will still suffer from gentoo/gcc-patches#8 when the sysroot is changed from the default. The embedded profile with a split-usr profile is still the default, changing the sysroot is an advanced use case, and I've managed to work around the issue with cross-boss, so I think it's okay to merge these changes now.