Bug 23767

Summary: Hardcoded %buildhost in hsh-initroot
Product: Sisyphus Reporter: Fr. Br. George <george>
Component: hasherAssignee: 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   

Description Fr. Br. George 2010-07-14 00:34:11 MSD
$ 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.
Comment 1 Dmitry V. Levin 2010-07-14 00:58:34 MSD
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.
Comment 2 Fr. Br. George 2010-09-21 00:26:02 MSD
Aw. So buildhost field isn't any "host" at all, it denotes build engine version instead. Swell.