From 7c4fdfa3072d520957b6e7dd03b1cb83ebd7c7fc Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Sat, 18 Mar 2023 13:24:54 +0900 Subject: [PATCH] Revert "Check pkg sources in chroot" This reverts commit 8891a80087811a9834063cd2550ceb67b971beb8. --- update.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/update.py b/update.py index 1821f70..a9e049b 100755 --- a/update.py +++ b/update.py @@ -1024,18 +1024,9 @@ def update_pkg_list( log_print(f"Checking files of {pkg} before building it...") try: subprocess.run( - ( - "/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", - ), + ("/usr/bin/env", "makepkg", "--verifysource"), check=True, + cwd=pkgdir, ) except: log_print(f'ERROR: Failed to verify pkg "{pkg}"')