@mapreri, we have some code to deal with this already in pbuilder:
pbuilder-apt-config:70 dapper|hardy|intrepid|jaunty|karmic|lucid) case "$arch" in amd64|i386) echo "ubuntu" ;; armel|armhf|hppa|ia64|lpia|powerpc|sparc) echo "ubuntu-ports" ;; *) die "Unknown Ubuntu archive for arch=$arch" ;; esac
so, why don't use pbuilder-apt-config to get the correct sources.lists file?
@mapreri, we have some code to deal with this already in pbuilder:
pbuilder- apt-config: 70 hardy|intrepid| jaunty| karmic| lucid)
amd64| i386)
armel| armhf|hppa| ia64|lpia| powerpc| sparc)
dapper|
case "$arch" in
echo "ubuntu"
;;
echo "ubuntu-ports"
;;
*)
die "Unknown Ubuntu archive for arch=$arch"
;;
esac
so, why don't use pbuilder-apt-config to get the correct sources.lists file?