[Scratchbox-users] Mount .bin image
Michael Plourde
mplourde at digicom.ca
Mon Sep 11 15:15:38 EEST 2006
Hi,
i'm using tagel crosstool 0.38 within scratchbox. I'm trying to build an
wisp-dist image with i386-gcc-3.2.3-glibc-2.2.5 target. Since busybox was
missing to build wisp-dist image, i had install 1.2.1 version. When i tried
mount -o loop image.bin /home/mplourde/wisp-dist, i've got:
/usr/lib/libfakeroot/libfakeroot-tcp.so.0 missing. So i had install fakeroot
following the tutorial in scratchbox.org/documentation.
Doing:
tar xfz /scratchbox/packages/fakeroot_1.4.2.tar.gz
cd fakeroot-1.4.2
./configure \
--prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib/libfakeroot \
--program-suffix=-tcp --with-ipc=tcp --with-dbformat=path
make
make install
make distclean
cd fake
../configure \
--prefix=/usr --mandir=/usr/share/man \
--program-suffix=-tcp
make
make install
ln -sf fakeroot-tcp /usr/bin/fakeroot
...but still /usr/lib/libfakeroot/libfakeroot-tcp.so.0 is missing
According to documentation libfakeroot-tcp is provide in fake repertory with
make and make install. Since those command produce /usr/lib/libfakeroot.so.*
on my target, i had put a link in /usr/lib/libfakeroot :
ln -s /usr/lib/libfakeroot.so.0 /usr/lib/libfakeroot/libfakeroot-tcp.so.0
Now mount -o loop image.bin /home/mplourde/wisp-dist, send another error:
Could'nt setup loop device
What am i missing, is it possible to do mount within scratchbox ?
Sincerely,
Michael Plourde
More information about the Scratchbox-users
mailing list