forked from Mirror/pmbootstrap
build: print !tracedeps warning for cross-native 1
Building without !tracedeps is a problem with cross-native version 1 but
not version 2. Fix the warning.
Fixes: 2ee916f5
("build: add pmb:cross-native2 (MR 2474)")
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2568
This commit is contained in:
parent
58119697fd
commit
53d705194f
1 changed files with 4 additions and 5 deletions
|
@ -211,11 +211,10 @@ def run_abuild(
|
|||
the environment variables dict generated in this function.
|
||||
"""
|
||||
# Sanity check
|
||||
if cross == "native" and "!tracedeps" not in apkbuild["options"]:
|
||||
logging.info(
|
||||
"WARNING: Option !tracedeps is not set, but we're"
|
||||
" cross-compiling in the native chroot. This will"
|
||||
" probably fail!"
|
||||
if cross == "kernel" and "!tracedeps" not in apkbuild["options"]:
|
||||
logging.warning(
|
||||
"WARNING: Option !tracedeps is not set, but cross compiling with"
|
||||
" cross-native (version 1). This will probably fail!"
|
||||
)
|
||||
|
||||
# For cross-native2 compilation, bindmount the "host" rootfs to /mnt/sysroot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue