On 12/17/2012 07:57 PM, Jon Masters wrote:
Bind mount /proc, /dev, /sys, and then it'll work just fine. You need
cpuinfo visible for e.g. rpm to determine you are on a hard float system.
Here's some handy shell script to do everything you'll need:
bindmount()
{
mount --bind /dev $1/dev
mount --bind /dev/pts $1/dev/pts
mount --bind /dev/shm $1/dev/shm
mount --bind /proc $1/proc
mount --bind /sys $1/sys
}
bindumount()
{
umount "$1/dev/pts"
umount "$1/dev/shm"
umount "$1/dev"
umount "$1/proc"
umount "$1/sys"
}
This will let you "bindmount /someroot; chroot /someroot; bindumount
/someroot" with ease.
--
Brendan Conoboy / Red Hat, Inc. / blc@xxxxxxxxxx
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm