RuLFS

nppria mppria at unics.tk
Sun Oct 10 15:49:57 PDT 2010


Назвать это переводом я не могу, скорее "изложение, с элементами 
перевода, на языке, схожем, с русским". Качество ужасное.
http://www.unics.tk/lfs/lfsbook
http://www.unics.tk/lfs/packages/lfs-packages-6.7.tar
http://unics.tk/lfs/packages/dev/
(server location: Canada, Montreal)

С наилучшими пожеланиями, и уважением, mppria

Good time!
Please forgive my terrible English.
Thank very much all, who are working on this remarkable book, directly 
or obliquely, helping develop the project.

On the above resource, i posted a rough draft translation LFSBook 
(several chapters). The quality is terrible, but can someone, 
Russian-speaking, helpful. In order to (possibly) interested in this 
material man, was able to find it, in the wilds of web, i posted this 
message.


With best wishes, and respect, mppria

P.s. sorry so terrible English, "translation" are little bit better

P.p.s.
I use, for convenience, some scripts.
#!/bin/sh
# 5.4. Binutils-2.20.1 - Pass 1
############################################################################### 

# Set Variable
#######################################
pname=binutils
pversion=2.20.1
pbuild=pass_1
swd=$so/lfs;
bwd=$bu;
plog=$bu/log
plogfile=$plog/$pname-$pversion-$pbuild.log
                                        
########################################
#######################################
# Function Definition
#######################################
zerocode()
{
if [ $? -ne 0 ]; then echo -e "\e[1;31m"Error, the $1 was completed with 
a nonzero code"\e[0m"\
&& exit 1; else echo -e  "\e[1;32m"#$1 completed#"\e[0m";
fi;
}
execode()
{
echo -e "\e[1;32m"#execute $1#"\e[0m"; date;
}
                                        
########################################
#######################################
# Executing Command
# Main script starts here
#######################################
{
find $LFS -follow -ls > $plog/listfile;
tar xvf $swd/$pname-$pversion.tar.[gzb2]* -C $bwd;
mkdir -v $bwd/$pname-build;
cd $bwd/$pname-build;
time \
{
execode configuration;
$bwd/$pname-$pversion/configure \
--prefix=/tools \
--target=$LFS_TGT \
--disable-nls \
--disable-werror;

zerocode configuration;
execode make;
make;
zerocode make;
execode make\ install;
make install;
zerocode make\ install;
};
find $bwd/$pname-build -follow -ls > $plog/lf_$pname-$pbuild-build;
rm -rf $bwd/$pname-$pversion $bwd/$pname-build;
find $LFS -follow -ls > $plog/lf_$pname-$pversion-$pbuild;
touch $plog/content_$pname-$pversion-$pbuild;
diff --suppress-common-lines $plog/listfile 
$plog/lf_$pname-$pversion-$pbuild | awk -F\> '/>/ {print($2)}' > 
$plog/content_$pname-$pversion-$pbuild;
} 2>&1 | tee $plogfile;
                                        
########################################



More information about the lfs-chat mailing list