Do not push host packages

This commit is contained in:
Wildan M 2026-06-09 20:52:27 +07:00
parent ade1870e0b
commit 92f5eb2917
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

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