Enable emerge on installcds #40
Open
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.
Allow the use of the emerge command inside the installcd so a user can preform even more system fixing tasks if required. System fixing can be called by first mounting the system root to /mnt/gentoo then using
emerge --root /mnt/gentoo <package name>Examples of when this could be useful:
File increase on amd64 is roughly 109MB which I feel is worth the extra space for a true admincd that a user can fix any issue they could possibly cause to their system. I don't have access to arm64 or ppc64le hw to be 100% sure on the file size increase but it's safe to assume it will be around the 109MB mark.
on x86 the increase is around 67MB, this still makes it under the standard CDR size (700MB) so added as well.
I have split the commits per arch so it's easier for Gentoo to pick which arches get this feature.
Note: I have only converted the dist kernel redesigned images for now, I will add the rest if agreed, when I convert the remaining arches which dist kernel currently does not support and complete the package list refresh on those arches.