olpc-os-builder [PATCH] add a Quick Start to README and reformat

James Cameron quozl at laptop.org
Wed Jan 6 02:20:52 EST 2010


On Tue, Jan 05, 2010 at 09:25:13PM +0000, Daniel Drake wrote:
> On Wed, 2010-01-06 at 07:24 +1100, James Cameron wrote:
> > On Tue, Jan 05, 2010 at 10:45:10AM +0000, Daniel Drake wrote:
> > > Thanks, but I'm not so sure about getting users to run "make install"
> > > since that will put things in /usr rather than /usr/local.
> > 
> > "make" apparently does nothing, and the README at the time said to use
> > the "olpc-os-builder" command, so a "make install" was implied.
> 
> make is needed to compile the support binaries.

It does nothing.  If you then proceed to do a build, many minutes later
you get evidence you haven't built the support binaries:

Checksum tree tarball...
 * Running part postimage sd_card_image postimage.50.makezd.sh...
Making ZD image for os1003...
/sdb/src/olpc-os-builder/modules/sd_card_image/postimage.50.makezd.sh: line 23: /sdb/src/olpc-os-builder/bin/zhashfs: No such file or directory
 * Caught error, cleanup and then bail out.
 * Running part cleanup base cleanup.50.cleanup.sh...
 * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh...
ERROR: Failure in PostImageStage: module sd_card_image, part postimage.50.makezd.sh, error code 1

The workaround is to do "make install", and then ignore the installed files.

-- 
James Cameron
http://quozl.linux.org.au/



More information about the Devel mailing list