Skip to content

Conversation

@immolo
Copy link
Contributor

@immolo immolo commented Jun 27, 2025

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:

  • User breaks a system tool like util-linux (seen in a support question)
  • User wishes to change from GCC to Clang as the default compiler (minimises of ABI breakage when a user refuses to "reinstall")

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.

immolo added 4 commits June 27, 2025 04:19
Allow the use of the emerge command inside the installcd so a user can preform even more system fixing tasks if required.

This will increase the installcd size by roughly 109MB but the benefits out weigh the cost in size for a true admincd experience.

Signed-off-by: Ian Jordan <[email protected]>
Allow the use of the emerge command inside the installcd so a user can preform even more system fixing tasks if required.

This will increase the installcd size by roughly 67MB which still allows the installcd to fit on a standard CDR.

Signed-off-by: Ian Jordan <[email protected]>
Allow the use of the emerge command inside the installcd so a user can preform even more system fixing tasks if required.

File increase not tested as don't have hw to properly test, however should be close to the 109MB increase on amd64.

Signed-off-by: Ian Jordan <[email protected]>
Allow the use of the emerge command inside the installcd so a user can preform even more system fixing tasks if required.

File increase not tested as don't have hw to properly test, however should be close to the 109MB increase on amd64.

Signed-off-by: Ian Jordan <[email protected]>
@WavyEbuilder
Copy link

Not a maintainer, but seems useful for helping with recovery of installs with a broken python installation, etc.

@immolo immolo mentioned this pull request Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants