mirror of
https://github.com/luisgbm/lfs-scripts.git
synced 2026-03-10 04:41:10 +00:00
Update README.md
This commit is contained in:
parent
363b510ecb
commit
538e26ffb6
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
|
@ -75,7 +75,8 @@ You will have to type a password.
|
||||||
Make lfs the owner of the filesystem:
|
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:
|
Login as the lfs user:
|
||||||
|
|
@ -110,10 +111,15 @@ EOF
|
||||||
source ~/.bash_profile
|
source ~/.bash_profile
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Copy all the scripts from this repository to your $LFS directory:
|
||||||
|
|
||||||
|
```
|
||||||
|
cp /<location_of_the_scripts>/*.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:
|
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
|
cd $LFS
|
||||||
cp /<location_of_the_scripts>/lfs-cross.sh .
|
|
||||||
sh lfs-cross.sh | tee lfs-cross.log
|
sh lfs-cross.sh | tee lfs-cross.log
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue