[pacman-dev] [PATCH] makepkg: ignore the architecture for --printsrcinfo
Signed-off-by: Alastair Hughes <hobbitalastair@gmail.com> --- It appears that SRCINFO files should be independent of architecture, however makepkg will currently fail if the SRCINFO file is being generated on a machine with a different architecture. This is in the same vein as c72ca3d5; I believe that creating source tarballs would be the only other candidate, but IGNOREARCH gets set later in that case. scripts/makepkg.sh.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index f80e37a..5487884 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1707,7 +1707,8 @@ while true; do -o|--nobuild) NOBUILD=1 ;; -p) shift; BUILDFILE=$1 ;; --packagelist) PACKAGELIST=1 IGNOREARCH=1;; - --printsrcinfo) PRINTSRCINFO=1 ;; + # generating a srcinfo does not depend on architecture + --printsrcinfo) PRINTSRCINFO=1 IGNOREARCH=1;; -r|--rmdeps) RMDEPS=1 ;; -R|--repackage) REPKG=1 ;; --sign) SIGNPKG='y' ;; -- 2.8.0
On 03/04/16 14:19, Alastair Hughes wrote:
Signed-off-by: Alastair Hughes <hobbitalastair@gmail.com>
---
It appears that SRCINFO files should be independent of architecture, however makepkg will currently fail if the SRCINFO file is being generated on a machine with a different architecture. This is in the same vein as c72ca3d5; I believe that creating source tarballs would be the only other candidate, but IGNOREARCH gets set later in that case.
Found this while going through patches in patchwork. Looks good to me. Thanks, A
participants (2)
-
Alastair Hughes
-
Allan McRae