Remove broken error check

This commit is contained in:
jld3103 2021-08-08 18:38:07 +02:00
parent 98040d8a31
commit 25f8607382

View file

@ -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 + [