List Info

Thread: cross install debian with debootstrap?




cross install debian with debootstrap?
user name
2006-05-12 08:24:24
I'd like to create debian root filesystem images (sarge,
etch) for ARM
on a x86 host.

something like:

# scratchbox
# mkdir foo
# fakeroot debootstrap --arch arm sarge foo http://ftp.debian.org/de
bian

I tried, without success so far- could it be done with some
minor
tweaking, or am I just wasting my time?

ps. Alternative approaches are welcome too!

Thanks
_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
cross install debian with debootstrap?
user name
2006-05-12 11:27:49
On Friday 12 May 2006 11:24, Michael Burian wrote:
> I'd like to create debian root filesystem images
(sarge, etch) for ARM
> on a x86 host.
>
> something like:
>
> # scratchbox
> # mkdir foo
> # fakeroot debootstrap --arch arm sarge foo http://ftp.debian.org/de
bian

The problem is, that even with fakeroot, you can't chroot
(needs real root 
privileges), and debootstrap tries to chroot. However, 
since /targets/CURRENT-TARGET/ is mapped to / , chroot to
can be faked to 
that dir.

Therefor "fakeroot debootstrap --arch arm sarge
/targets/foo 
http://ftp.at.debian.org/" where foo is the name of your current sbox target.

should just work.
_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )