[Dev] [PATCH] libretools: fix i686 gpg signature failures

Josh Branning lovell.joshyyy at gmail.com
Tue Mar 20 21:26:58 GMT 2018


I say; there has been some decent work related to libretools recently...

With gratitude,

Josh

On 20/03/18 20:51, Andreas Grapentin wrote:
>
> archlinux32 is building their own arch=(any) packages, which means they
> can't share the same cachedir as the x86_64 built -any packages. This
> patch adds a separate cachedir for each CARCH in librechroot, which
> should solve the signature issues we have seen in libremakepkg.
>
> -A
>
> ---
>   src/chroot-tools/librechroot | 8 +++++---
>   1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
> index 8256d77..4360622 100755
> --- a/src/chroot-tools/librechroot
> +++ b/src/chroot-tools/librechroot
> @@ -94,10 +94,12 @@ hack_arch_nspawn_flags() {
>
>   		# Let qemu/binfmt_misc do its thing
>   		arch_nspawn_flags+=(-f "$interpreter" -s)
> +	fi
>
> -		# The -any packages are built separately for ARM from
> -		# x86, so if we use the same CacheDir as the x86 host,
> -		# then there will be PGP errors.
> +	if [[ $CARCH != $(uname -m) ]]; then
> +		# The -any packages are built seperately for all arches,
> +		# so if we use the same CacheDir as the host, then there
> +		# will be PGP errors.
>   		mkdir -p "/var/cache/pacman/pkg-$CARCH"
>   		arch_nspawn_flags+=(-c "/var/cache/pacman/pkg-$CARCH")
>   	fi
>
>
>
> _______________________________________________
> Dev mailing list
> Dev at lists.parabola.nu
> https://lists.parabola.nu/mailman/listinfo/dev
>




More information about the Dev mailing list