testing for RPi chroot's kernel arch -- getting different results (anrv7l vs armv6l) depending on how I test. why?

grantksupport at operamail.com grantksupport at operamail.com
Fri Sep 5 16:30:37 PDT 2014



On Fri, Sep 5, 2014, at 02:48 PM, Leitzell, Harry wrote:
> Invoke bash as a login shell (-l) or export QEMU_CPU before running chroot
...
> # chroot rootfs bash -l -c "uname -m"
> armv6l

perfect.  portable across chroots, sensitive to each of their ENVs.

thanks!

Grant



More information about the linux-rpi-kernel mailing list