On Sun, 02 Jun 2024 18:46:22 +0200, Dominique Dumont wrote:

> On Sunday, 2 June 2024 02:53:49 CEST you wrote:
> > On Sat, 01 Jun 2024 08:45:03 +0000, Francesco Ballarin wrote:
> > > is it possible to add loong64 and riscv64 to the archs listed in
> > > /usr/share/perl5/Config/Model/Dpkg/Dependency.pm
> > > ?
> > 
> > Maybe we should use (in lib/Config/Model/Dpkg/Dependency.pm)
> > /usr/share/dpkg/ostable or Dpkg::Arch's get_valid_arches() instead of
> > hardcoding architectures?
> > 
> > What do you think, Dominique?
> 
> Well, ostable file does not mention loong64 arch.

Right.

There's also /usr/share/dpkg/cputable, maybe that's a better fit?
 
> And get_valid_arches returns quite a lot of architectures, just for loong64 
> (and for all others):
[…] 
> Are these values suitable for the arch restriction of a dependency ? 

Not sure …


Or maybe it's easier to just add the two new ones instead of
inventing more complexity :)


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

Attachment: signature.asc
Description: Digital Signature

Reply via email to