From 538e26ffb6537b42c8bb8b5f29df1fcdcccb8a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Guilherme=20Bergamini=20Mendes?= Date: Wed, 16 Sep 2020 17:24:13 -0300 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fee977f..db2d28d 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,8 @@ You will have to type a password. Make lfs the owner of the filesystem: ``` -chown -v lfs $LFS/{usr,lib,var,etc,bin,sbin,lib64,tools,sources} +chown -R lfs:lfs $LFS/* +chown lfs:lfs $LFS ``` Login as the lfs user: @@ -110,10 +111,15 @@ EOF source ~/.bash_profile ``` +Copy all the scripts from this repository to your $LFS directory: + +``` +cp //*.sh $LFS +``` + Now, run the lfs-cross.sh script, which will build the cross-toolchain and cross compiling temporary tools from chapters 5 and 6. The build took 30 min on my machine: ``` cd $LFS -cp //lfs-cross.sh . sh lfs-cross.sh | tee lfs-cross.log ```