| Summary: | app-portage/eix: Simple way to exclude overlays included in remote tarball | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Allen Brooker (AllenJB) <gentoo-bugs> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
EXCLUDE_OVERLAY='(layman/sabayon)' update-eix-remote update |
It would be useful for eix to have a simple way to exclude overlays that are included in the remote tarball (fetched with update-eix-remote). The simplest method I've found so far involves fetching the tarball, manually extracting it and deleting the unwanted overlay, then recompressing it: echo "eix: Fetching cached overlays" EIX_TARBALL="/tmp/eix-temp.tbz2" EIX_TEMP="/tmp/eix-temp" rm -f ${EIX_TARBALL} rm -rf ${EIX_TEMP} mkdir ${EIX_TEMP} update-eix-remote -q fetch ${EIX_TARBALL} echo "eix: Removing sabayon overlay" tar jxf ${EIX_TARBALL} -C ${EIX_TEMP} rm "${EIX_TEMP}/_usr_portage_local_layman_sabayon.eix" rm ${EIX_TARBALL} cd ${EIX_TEMP} tar jcf ${EIX_TARBALL} * echo "eix: Adding remaining cached overlays" update-eix-remote -q add ${EIX_TARBALL} I would suggest an optional command parameter to "eix-update-remote update", for example: eix-update-remote update --exclude=sabayon