packages.py: --skipgpgcheck because we don't have the keys in our keyring usually
This commit is contained in:
parent
a8b01ae0da
commit
61c150843e
1 changed files with 3 additions and 1 deletions
|
@ -387,6 +387,7 @@ def check_package_version_built(package: Package, arch: Arch) -> bool:
|
||||||
config_path,
|
config_path,
|
||||||
'--nobuild',
|
'--nobuild',
|
||||||
'--noprepare',
|
'--noprepare',
|
||||||
|
'--skippgpcheck',
|
||||||
'--packagelist',
|
'--packagelist',
|
||||||
]
|
]
|
||||||
result = native_chroot.run_cmd(
|
result = native_chroot.run_cmd(
|
||||||
|
@ -437,6 +438,7 @@ def setup_sources(package: Package, chroot: Chroot, makepkg_conf_path='/etc/make
|
||||||
'--nobuild',
|
'--nobuild',
|
||||||
'--holdver',
|
'--holdver',
|
||||||
'--nodeps',
|
'--nodeps',
|
||||||
|
'--skippgpcheck',
|
||||||
]
|
]
|
||||||
|
|
||||||
logging.info(f'Setting up sources for {package.path} in {chroot.name}')
|
logging.info(f'Setting up sources for {package.path} in {chroot.name}')
|
||||||
|
@ -513,7 +515,7 @@ def build_package(
|
||||||
makepkg_conf_absolute = os.path.join('/', makepkg_conf_path)
|
makepkg_conf_absolute = os.path.join('/', makepkg_conf_path)
|
||||||
setup_sources(package, build_root, makepkg_conf_path=makepkg_conf_absolute)
|
setup_sources(package, build_root, makepkg_conf_path=makepkg_conf_absolute)
|
||||||
|
|
||||||
build_cmd = f'makepkg --config {makepkg_conf_absolute} --needed --noconfirm --ignorearch {" ".join(makepkg_compile_opts)}'
|
build_cmd = f'makepkg --config {makepkg_conf_absolute} --skippgpcheck --needed --noconfirm --ignorearch {" ".join(makepkg_compile_opts)}'
|
||||||
logging.debug(f'Building: Running {build_cmd}')
|
logging.debug(f'Building: Running {build_cmd}')
|
||||||
result = build_root.run_cmd(build_cmd, inner_env=env, cwd=os.path.join(CHROOT_PATHS['pkgbuilds'], package.path))
|
result = build_root.run_cmd(build_cmd, inner_env=env, cwd=os.path.join(CHROOT_PATHS['pkgbuilds'], package.path))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue