Need fetch i386 arch. pkg on instead amd64.
I make this:
I suppose this assumes that the package dependencies are exactly
the same for all the ABIs that one would need.
But is there another and more correct way?
I make this:
Code:
# cat /etc/pkg/FreeBSD.conf
FreeBSD: {
url: "pkg+http://pkg.freebsd.org/${ABI}/latest"
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
# mkdir -p ./tmp/i386
# pkg -o ABI=FreeBSD:13:i386 fetch -Ud -r FreeBSD -o ./tmp/i386 wine mesa-dri
...
pkg: wrong architecture: freebsd:13:i386 instead of FreeBSD:13:amd64
pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:13:i386
If set env:
tcsh: # setenv IGNORE_OSVERSION yes
bash/zsh: # export IGNORE_OSVERSION=yes
# pkg -o ABI=FreeBSD:13:i386 fetch -Ud -o ./tmp/i386 mesa-dri wine
Is Ok.
the same for all the ABIs that one would need.
But is there another and more correct way?