parent
8891a80087
commit
7c4fdfa307
1 changed files with 2 additions and 11 deletions
13
update.py
13
update.py
|
@ -1024,18 +1024,9 @@ def update_pkg_list(
|
||||||
log_print(f"Checking files of {pkg} before building it...")
|
log_print(f"Checking files of {pkg} before building it...")
|
||||||
try:
|
try:
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
(
|
("/usr/bin/env", "makepkg", "--verifysource"),
|
||||||
"/usr/bin/env",
|
|
||||||
"arch-nspawn",
|
|
||||||
os.path.join(other_state["chroot"], os.environ["USER"]),
|
|
||||||
f"--bind={pkgdir}:/source",
|
|
||||||
f"--bind={other_state['gpg_home']}:/build/.gnupg",
|
|
||||||
"--chdir=/source",
|
|
||||||
"--user=builduser",
|
|
||||||
"/usr/bin/makepkg",
|
|
||||||
"--verifysource",
|
|
||||||
),
|
|
||||||
check=True,
|
check=True,
|
||||||
|
cwd=pkgdir,
|
||||||
)
|
)
|
||||||
except:
|
except:
|
||||||
log_print(f'ERROR: Failed to verify pkg "{pkg}"')
|
log_print(f'ERROR: Failed to verify pkg "{pkg}"')
|
||||||
|
|
Loading…
Reference in a new issue