mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
Merge branch 'no-host-push' into 'master'
Do not push host packages See merge request redox-os/redox!2188
This commit is contained in:
commit
7d1a3d2d5a
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user