Set up sb2 with armel debootstrap
My question is not related to development for N900 etc, but only to usage of scratchbox2 in general.
I can't setup a debian armel deboostrap with sb2, because it won't remap the /dev directory. And that's astonishing. In all tutorials on the internet everybody seems to leave out this detail, e.g. see here: http://www.daimi.au.dk/~cvm/sb2.pdf http://biffengineering.com/wiki/inde...ileEnvironment You initiate the debootstrap with the following command: Code:
$ fakeroot /usr/sbin/debootstrap --verbose --arch armel --foreign wheezy $ROOTFS http://ftp.debian.org/debian Code:
$ sb2 -eR ./debootstrap/debootstrap --second-stage Code:
tar: dev/kmem: Cannot mknod: Permission denied Code:
$ sb2 -eR sb2-show path /dev |
Re: Set up sb2 with armel debootstrap
I think you need to bind mount the real /dev to $ROOTFS/dev
See how the easy-debian scripts do it. |
Re: Set up sb2 with armel debootstrap
I posed the same question on the scratchbox-users mailing list and sb2 developer Lauri had a few useful answers for me:
http://lists.scratchbox.org/pipermai...il/001768.html Scratchbox2 is not supposed to remap the /dev directory, but instead commands like mknod. The latest developer edition fixes this partially: http://lists.scratchbox.org/pipermai...il/001776.html Looks like this is worked on :) By the way. Where can I find the source code of the "easy-debian scripts". And what do they have to do with debootstrap and scratchbox2? |
Re: Set up sb2 with armel debootstrap
@tuxor Thanks for pointing out the missing piece to my tutorial. I'll be sure to update it.
Also, as a side note, I'm in the process of getting rid of my old domain at biffengineering.com I'm trying to get the Google Search results moved over but for anyone who comes here in the future and the link to biffengineering doesn't work I've moved the info to http://jecxjo.motd.org/code/blosxom....er_environment |
All times are GMT. The time now is 17:41. |
vBulletin® Version 3.8.8