Summary: | dev-util/catalyst: custom CHOST vs stage3+ | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | SpanKY <vapier> |
Component: | Catalyst | Assignee: | Gentoo Catalyst Developers <catalyst> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 679386, 538648 | ||
Bug Blocks: |
Description
SpanKY
![]() find . -type f -exec grep -H -i chost {} \; ./targets/support/chroot-functions.sh: CHOST=$(portageq envvar CHOST) ... ./modules/stage1_target.py: self.valid_values=["chost"] ./modules/stage1_target.py: def override_chost(self): ./modules/stage1_target.py: if self.settings.has_key("chost"): ./modules/stage1_target.py: self.settings["CHOST"]=list_to_string(self.settings["chost"]) ./modules/stage2_target.py: self.valid_values=["chost"] ./modules/stage2_target.py: def override_chost(self): ./modules/stage2_target.py: if self.settings.has_key("chost"): ./modules/stage2_target.py: self.settings["CHOST"]=list_to_string(self.settings["chost"]) So it seems only stage1 and stage2 allow the definition of chost in the spec file (as you said) and that all other targets pick chost from the existing config - which seems to contradict your findings. We'll have to check why stage3+ are not using the existing CHOST definition (the one in the seed stage make.conf). |