internal setarch according to bootstrap environment
when using 'uname -m' in bootstrap, it always shows
the arch from the physical host. but what needs is
the internal arch, so mic needs detect the binary
arch first, then setarch properly
0ff2ac0...
by
Artem Bityutskiy <email address hidden>
raw.py: create device nodes to access own disk
This patch creates loop-back devices in /dev of the image so that it would be
possible to access own disk from within chroot environment. This makes it
possible to install extlinux from chroot, not outside of chroot, as it is done
now. This also allows to do extlinux installation in an installer framework
plugin.
I do realize that this is not the most beautiful thing to do, but it works - I
have a script which installs extlinux when I run it from %post.