Commit 72a1ae07 authored by Philip Müller's avatar Philip Müller

[mkchrootpkg] check gpg keys again

parent 96a3b526
......@@ -19,7 +19,7 @@ import ${LIBDIR}/util.sh
shopt -s nullglob
makepkg_args=(-s --skipinteg --noconfirm -L)
makepkg_args=(-s --noconfirm -L)
repack=false
update_first=false
clean_first=false
......@@ -198,6 +198,11 @@ prepare_chroot() {
$install -d "$copydir"/{build,build/.gnupg,startdir,{pkg,srcpkg,src,log}dest}
for x in .gnupg/pubring.{kbx,gpg}; do
[[ -r $USER_HOME/$x ]] || continue
$install -m 644 "$USER_HOME/$x" "$copydir/build/$x"
done
sed -e '/^MAKEFLAGS=/d' -e '/^PACKAGER=/d' -i "$copydir/etc/makepkg.conf"
for x in BUILDDIR=/build PKGDEST=/pkgdest SRCPKGDEST=/srcpkgdest SRCDEST=/srcdest LOGDEST=/logdest \
"MAKEFLAGS='$MAKEFLAGS'" "PACKAGER='$PACKAGER'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment