[pacman-dev] [PATCH 4/5] updpkgsums: update to recognize arch-specific sources
Allan McRae
allan at archlinux.org
Mon Sep 29 04:23:57 UTC 2014
On 16/08/14 01:42, Dave Reisner wrote:
> This change reveals a bootstrapping bug -- since we call the bare
> "makepkg" and rely on PATH lookup, we might not have a makepkg which
> can generate architecture-specific checksums.
> ---
> The careful observer will note that this bootstrap issue applies to more than
> just this one script.
Ack.
"Patches accepted" for the bootstrap issue, although I think we have
better things to fix.
>
> contrib/updpkgsums.sh.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/contrib/updpkgsums.sh.in b/contrib/updpkgsums.sh.in
> index 7e680b8..43c8337 100644
> --- a/contrib/updpkgsums.sh.in
> +++ b/contrib/updpkgsums.sh.in
> @@ -81,7 +81,7 @@ fi
> # but it's better to be extra careful before unlinking files.
> newsums=$(makepkg -g -p "$buildfile") && rm -f "$buildfile" &&
> exec awk -v newsums="$newsums" '
> - /^[[:blank:]]*(md|sha)[[:digit:]]+sums=/,/\)[[:blank:]]*(#.*)?$/ {
> + /^[[:blank:]]*(md|sha)[[:digit:]]+sums(_[^=]+)?=/,/\)[[:blank:]]*(#.*)?$/ {
> if (!w) {
> print newsums
> w++
>
More information about the pacman-dev
mailing list