asb / spindle

http://asbradbury.org/projects/spindle/
Other
185 stars 43 forks source link

Pass target arch to deboostrap. #130

Closed mik3y closed 11 years ago

mik3y commented 11 years ago

Fixes an error that occurs when building on a foreign arch:

E: Invalid Release file, no entry for main/binary-i386/Packages
Died: Debootstrap failed

(Mentioned in issue #129).

asb commented 11 years ago

I'll need to look in to more detail on what exactly is going on here, but the fix you propose is actually incorrect. $TGT_ARCH is set to either armel or armhf and is already passed through to debootstrap in wheezy-stage0. The debootstrap in setup_spindle_environment is meant to do a debootstrap for the host environment (the aim being that everyone is running spindle on a host wheezy chroot).

What is your host Linux distribution?