Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] genext2fs problem
@ 2007-04-15 18:33 mike
  0 siblings, 0 replies; only message in thread
From: mike @ 2007-04-15 18:33 UTC (permalink / raw)
  To: buildroot

I've started getting a problem with genext2fs, where it complains that a
file is not a directory. In the example below it flags up on
pcmcia_core.o, but each time I 'make' it reports a different file.

I don't know what is going on, or why this has just started. Can anyone
help ?

# Use fakeroot so genext2fs believes the previous fakery
GENEXT2_REALSIZE=`LANG=C du -l -s -c
-k /home/mike/buildroot/build_i386/root | grep total | sed -e
"s/total//"`; \
GENEXT2_ADDTOROOTSIZE=`if [ $GENEXT2_REALSIZE -ge 20000 ] ; then echo
16384; else echo 2400; fi`; \
GENEXT2_SIZE=`expr $GENEXT2_REALSIZE + $GENEXT2_ADDTOROOTSIZE`; \
GENEXT2_ADDTOINODESIZE=`find /home/mike/buildroot/build_i386/root | wc
-l`; \
GENEXT2_INODES=`expr $GENEXT2_ADDTOINODESIZE + 400`; \
set -x; \
/home/mike/buildroot/build_i386/staging_dir/usr/bin/fakeroot \
        -i /home/mike/buildroot/build_i386/staging_dir/fakeroot.env \
        -s /home/mike/buildroot/build_i386/staging_dir/fakeroot.env -- \
/home/mike/buildroot/build_i386/genext2fs-1.3/genext2fs \
        -b $GENEXT2_SIZE \
        -i $GENEXT2_INODES \
        -d /home/mike/buildroot/build_i386/root \
         /home/mike/buildroot/rootfs.i386.ext2
+ /home/mike/buildroot/build_i386/staging_dir/usr/bin/fakeroot
-i /home/mike/buildroot/build_i386/staging_dir/fakeroot.env
-s /home/mike/buildroot/build_i386/staging_dir/fakeroot.env
-- /home/mike/buildroot/build_i386/genext2fs-1.3/genext2fs -b 7756 -i
969
-d /home/mike/buildroot/build_i386/root /home/mike/buildroot/rootfs.i386.ext2
/home/mike/buildroot/build_i386/genext2fs-1.3/genext2fs: pcmcia_core.o:
Not a directory
make: *** [/home/mike/buildroot/rootfs.i386.ext2] Error 1
[mike at glynys
buildroot]$                                                               

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-15 18:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-15 18:33 [Buildroot] genext2fs problem mike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox