Remove broken error check
This commit is contained in:
parent
98040d8a31
commit
25f8607382
1 changed files with 2 additions and 4 deletions
|
@ -308,13 +308,11 @@ def setup_dependencies_and_sources(package: Package):
|
||||||
"""
|
"""
|
||||||
if package.mode == 'cross':
|
if package.mode == 'cross':
|
||||||
for p in package.depends:
|
for p in package.depends:
|
||||||
result = subprocess.run(
|
# Don't check for errors here because there might be packages that are listed as dependencies but are not available on x86_64
|
||||||
|
subprocess.run(
|
||||||
pacman_cmd + [p],
|
pacman_cmd + [p],
|
||||||
stderr=subprocess.DEVNULL,
|
stderr=subprocess.DEVNULL,
|
||||||
)
|
)
|
||||||
if result.returncode != 0:
|
|
||||||
logging.fatal(f'Failed to setup dependencies for {package.path}')
|
|
||||||
exit(1)
|
|
||||||
|
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
makepkg_cmd + [
|
makepkg_cmd + [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue