mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-21 15:18:19 +00:00
d1faba077c
Add the linuximage gpgcheck attribute. When it is set to 1 or yes, genimage passes --gpgcheck to the shared RPM image builder, which exports the builder's trusted RPM keys exactly as it does for openEuler and writes gpgcheck=1 with that gpgkey for the pkgdir, kerneldir and otherpkgdir repositories. Unset keeps the existing unverified configuration, openEuler stays always verified, and builders without the option reject the attribute instead of ignoring it. Collect the otherpkgs repositories in imgutils so that an otherpkgdir holding only URLs no longer adds a file:/// repository that fails to download metadata on EL. Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>