On Tue, 12 Jun 2007 21:52:54 -0300, "Timothy Legge" wrote: > On 6/12/07, Timothy Legge <[EMAIL PROTECTED]> wrote: > > > 1) In ubuntu bash has been replaced by dash and some of the buildroot > > scripts complain. > > 2) I had created /opt/toolchains but had not updated > > tools/toolchains/uclibc/buildroot-20060710-mvpmc.patch to set > > +BR2_STAGING_DIR="/opt/toolchains/powerpc-405-linux-uclibc/gcc-3.4.5-uClibc >-0.9.28/" > > > > I suspect that number one is a non issue but that number 2 caused the > > toolchains to be created in my home directory. However, since > > SConstruct only checks for the existence of /opt/toolchains the mvp > > build attempted to build with a compiler that did not exist in > > /opt/toolchains. > > > > I would recommend that the SConstruct check for the existence of > > toolchains in home as by default it is built there. If the user knows > > what they are doing and changes BR2_STAGING_DIR to point elsewhere > > (like opt) the ~/toolchains dir will not exist and /opt/toolchains can > > be used. > > > > That being said, I got a lot further and now just have this to contend with >: > > > > Install file: "src/obj/mvp/mvpmc" as "dongle/install/mvp/bin/mvpmc" > > cd /home/tim/mvpmc/dongle && > > CROSS=/opt/toolchains//powerpc-405-linux-uclibc/gcc-3.4.5-uClibc-0.9.28//bi >n/powerpc-405-linux-uclibc- > > ./dongle.sh > > STRIP /opt/toolchains//powerpc-405-linux-uclibc/gcc-3.4.5-uClibc-0.9.28//bi >n/powerpc-405-linux-uclibc-strip > > /opt/toolchains//powerpc-405-linux-uclibc/gcc-3.4.5-uClibc-0.9.28//bin/powe >rpc-405-linux-uclibc-strip: > > 'filesystem/install/bin/scp': No such file > > [: 19: tmpdir: unexpected operator > > [: 22: ramdisk: unexpected operator > > [: 110: ramdisk: unexpected operator > > Can't find a SQUASHFS superblock on ramdisk > > Failed to read existing filesystem - will not overwrite - ABORTING! > > ERROR: mksquashfs failed > > scons: *** [dongle.bin.mvpmc] Error 1 > > make: *** [mvp] Error 2 > > > > Tim > > > > It looks like dash was not a non issue. This issue is fixed by: > > diff --git a/dongle/filesystem/dongle_build.sh > b/dongle/filesystem/dongle_build.sh > index d3100cb..ac8b1cc 100755 > --- a/dongle/filesystem/dongle_build.sh > +++ b/dongle/filesystem/dongle_build.sh > @@ -1,4 +1,4 @@ > -#!/bin/sh > +#!/bin/bash > # > # Copyright (C) 2004-2006 Jon Gettler > # http://www.mvpmc.org/ > > Tim
Tim, Are you going to commit this? Did you see if there are any other oversights like this? I'm sure I'm in the habit of typing /bin/sh even when /bin/bash is more appropriate. Thanks. Jon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mvpmc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mvpmc-users mvpmc wiki: http://mvpmc.wikispaces.com/
