| Summary: | Hardcoded %buildhost in hsh-initroot | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Fr. Br. George <george> |
| Component: | hasher | Assignee: | Dmitry V. Levin <ldv> |
| Status: | CLOSED NOTABUG | QA Contact: | qa-sisyphus |
| Severity: | minor | ||
| Priority: | P3 | CC: | at, erthad, evg, glebfm, ldv, placeholder |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
Please have a look at /etc/sisyphus_check/check.d/020-check-buildhost The change you propose would render this test useless for locally built packages. Aw. So buildhost field isn't any "host" at all, it denotes build engine version instead. Swell. |
$ grep buildhost /usr/bin/hsh-initroot %buildhost ${USER:-`id -nu`}.hasher.altlinux.org This misleads people that use hasher outside altlinux.org, making %buildhost rpm section close to non-informative. I suggest ${USER:-`id -nu`}.hasher.$(hostname) or ${USER:-`id -nu`}.hasher.$(hostname -d) instead.