There's https://packages.debian.org/sid/libdistro-info-perl
Should it be used to detect which distro it is?

Roman.

On Wed, Dec 10, 2025 at 2:21 AM Johannes Schauer Marin Rodrigues
<[email protected]> wrote:
>
> Hi,
>
> Quoting Roman Lebedev (2025-12-09 14:25:26)
> > Also hitting this issue.
> > Would be awesome if this could be merged.
>
> I'm not happy with how autopkgtest-build-qemu checks for ubuntu just by the
> string "ubuntu" appearing anywhere in the mirror URL.
>
> Can you confirm that the following regex would match commonly used official
> ubuntu mirrors?
>
> echo $MIRROR | grep "^https\\?://[^/]\\+\\.ubuntu\\.com/"
>
> I can file a merge request against autopkgtest-build-qemu to update their 
> check
> accordingly. I assume it was only done the way it is done out of laziness.
>
> Thanks!
>
> cheers, josch

Reply via email to