| Summary: | etc-update fails in prefix: uses HOST information for file pattern | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Olivier Huber <oli.huber> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Olivier Huber
2018-10-22 09:54:10 UTC
Oh... in Prefix it shouldn't try to detect anything, it should only do Gentoo-style stuff indeed! does it work correctly for you if you change etc-update OS_RELEASE_ID line to read OS_RELEASE_ID=$(cat "/path/to/your/prefix"/etc/os-release 2>/dev/null | grep '^ID=' | cut -d'=' -f2 | sed -e 's/"//g') ? The fix is in portage-2.3.45 |