Merge branch 'no-host-push' into 'master'

Do not push host packages

See merge request redox-os/redox!2188
This commit is contained in:
Jeremy Soller 2026-06-09 09:48:35 -06:00
commit 7d1a3d2d5a

View File

@ -858,6 +858,9 @@ fn handle_push(recipes: &Vec<CookRecipe>, config: &CliConfig) -> Result<()> {
_is_last: bool, _is_last: bool,
entry: &WalkTreeEntry| entry: &WalkTreeEntry|
-> Result<bool> { -> Result<bool> {
if package_name.is_host() {
return Ok(true); // TODO: skip altogether from recipes list
}
let r = match entry { let r = match entry {
WalkTreeEntry::Built(archive_path, _) => { WalkTreeEntry::Built(archive_path, _) => {
let install_path = PUSH_SYSROOT_DIR.get().unwrap(); let install_path = PUSH_SYSROOT_DIR.get().unwrap();