Le jeudi 27 octobre à 20:55, Bruce Dubbs a écrit :
> Philippe Delavalade wrote:
> > Hi.
> > 
> > I have download the svn version 9644. No error arised.
> > 
> > Then I built the book with the command :
> > make BASEDIR=../svn-recent
> > 
> > Usually, all went right but this time I get the following error :
> > 
> > /bin/sh: 1: [: x: unexpected operator
> > Creating and cleaning /home/philippe/tmp
> > Processing bootscripts...
> > Validating the book...
> > ls: impossible d'accéder à lfs-bootscripts*.bz2: Aucun fichier ou dossier
> > de ce type
> > 
> > It seems that a lfs-bootscript* file is not present.
> 
> The bootscript and udev tarballs are not in svn.  They are generated by 
> the make-aux-files.sh script.  That script can get confused if it got 
> aborted.  Just recheck out the book and run make again.
> 
>    -- Bruce
> 
> #!/bin/bash
> 
> rm -f lfs-bootscripts*.tar.bz2
> 
> # Get base file name and move bootscripts directory to that name
> version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
> mv bootscripts lfs-bootscripts-$version
> 
> # Create the tarball and clean up
> tar -cjf lfs-bootscripts-$version.tar.bz2 --exclude .svn 
> lfs-bootscripts-$version
> mv lfs-bootscripts-$version bootscripts
> 
> rm -f udev-config*.bz2
> 
> # Get file name and move udev config directory to that name
> version=`grep "ENTITY udev-config " packages.ent |cut -d'"' -f2`
> mv udev-config $version
> 
> # Create the tarball and clean up
> tar -cjf $version.tar.bz2 --exclude .svn $version
> mv $version udev-config

Many thanks, all is right now.

-- 
Ph. Delavalade
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to