DISTRO_TARGETARCH=''
This is typically used in DISTRO_COMPAT_REPOS. For instance in dpup stretch we have:
Code: Select all
case "$DISTRO_TARGETARCH" in
x86) DBIN_ARCH=i386 ;;
x86_64) DBIN_ARCH=amd64 ;;
esac
https://32.arlm.tyzoid.com/
which I git from the mirror list. I'll assume that we want i486 for the widest compatibility, in which case we have:
Code: Select all
case "$DISTRO_TARGETARCH" in
x86)
if [ "$DISTRO_BINARY_COMPAT" = arch ]; then
DBIN_ARCH=i486
else
DBIN_ARCH=i386
fi; ;;
x86_64) DBIN_ARCH=amd64 ;;
esac
woof-CE/woof-distro/x86/debian/stretch/DISTRO_COMPAT_REPOS-debian-stretch
It looks like there is a separate one for each distro release, so the above logic that I have might not be needed.