mirror of
https://github.com/RomainClaret/lfs-7.8.git
synced 2025-07-25 01:18:57 +00:00
/ inverted output
This commit is contained in:
@ -99,9 +99,9 @@ readelf -l a.out | grep ': /lib'
|
||||
echo ""
|
||||
echo "ABOVE should be the same output than below"
|
||||
case $(uname -m) in x86_64)
|
||||
echo "32bit: [Requesting program interpreter: /lib/ld-linux.so.2]" ;;
|
||||
*)
|
||||
echo "64bit: [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]" ;;
|
||||
*)
|
||||
echo "32bit: [Requesting program interpreter: /lib/ld-linux.so.2]" ;;
|
||||
esac
|
||||
echo ""
|
||||
echo -e "\a"
|
||||
@ -113,14 +113,15 @@ grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log
|
||||
echo ""
|
||||
echo "ABOVE should be the same output than below"
|
||||
case $(uname -m) in x86_64)
|
||||
echo "64bit:"
|
||||
echo "### /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../lib64/crt1.o succeeded"
|
||||
echo "### /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../lib64/crti.o succeeded"
|
||||
echo "### /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../lib64/crti.o succeeded" ;;
|
||||
*)
|
||||
echo "32bit:"
|
||||
echo "### /usr/lib/gcc/i686-pc-linux-gnu/5.2.0/../../../crt1.o succeeded"
|
||||
echo "### /usr/lib/gcc/i686-pc-linux-gnu/5.2.0/../../../crti.o succeeded"
|
||||
echo "### /usr/lib/gcc/i686-pc-linux-gnu/5.2.0/../../../crtn.o succeeded" ;;
|
||||
*)
|
||||
echo "64bit:"
|
||||
echo "### /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../lib64/crt1.o succeeded"
|
||||
echo "### /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../lib64/crti.o succeeded" ;;
|
||||
esac
|
||||
echo ""
|
||||
echo -e "\a"
|
||||
@ -132,19 +133,19 @@ grep -B4 '^ /usr/include' dummy.log
|
||||
echo ""
|
||||
echo "ABOVE should be the same output than below"
|
||||
case $(uname -m) in x86_64)
|
||||
echo "32bit:"
|
||||
echo "### #include <...> search starts here:"
|
||||
echo "### /usr/lib/gcc/i686-pc-linux-gnu/5.2.0/include"
|
||||
echo "### /usr/local/include"
|
||||
echo "### /usr/lib/gcc/i686-pc-linux-gnu/5.2.0/include-fixed"
|
||||
echo "### /usr/include" ;;
|
||||
*)
|
||||
echo "64bit:"
|
||||
echo "### #include <...> search starts here:"
|
||||
echo "### /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include"
|
||||
echo "### /usr/local/include"
|
||||
echo "### /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include-fixed"
|
||||
echo "### /usr/include" ;;
|
||||
*)
|
||||
echo "32bit:"
|
||||
echo "### #include <...> search starts here:"
|
||||
echo "### /usr/lib/gcc/i686-pc-linux-gnu/5.2.0/include"
|
||||
echo "### /usr/local/include"
|
||||
echo "### /usr/lib/gcc/i686-pc-linux-gnu/5.2.0/include-fixed"
|
||||
echo "### /usr/include" ;;
|
||||
esac
|
||||
echo ""
|
||||
echo -e "\a"
|
||||
@ -156,16 +157,6 @@ grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
|
||||
echo ""
|
||||
echo "ABOVE should be the same output than below"
|
||||
case $(uname -m) in x86_64)
|
||||
echo "32bit:"
|
||||
echo 'SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")'
|
||||
echo 'SEARCH_DIR("/usr/local/lib32")'
|
||||
echo 'SEARCH_DIR("/lib32")'
|
||||
echo 'SEARCH_DIR("/usr/lib32")'
|
||||
echo 'SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")'
|
||||
echo 'SEARCH_DIR("/usr/local/lib")'
|
||||
echo 'SEARCH_DIR("/lib")'
|
||||
echo 'SEARCH_DIR("/usr/lib");' ;;
|
||||
*)
|
||||
echo "64bit:"
|
||||
echo '### SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib64")'
|
||||
echo '### SEARCH_DIR("/usr/local/lib64")'
|
||||
@ -175,6 +166,16 @@ case $(uname -m) in x86_64)
|
||||
echo '### SEARCH_DIR("/usr/local/lib")'
|
||||
echo '### SEARCH_DIR("/lib")'
|
||||
echo '### SEARCH_DIR("/usr/lib");' ;;
|
||||
*)
|
||||
echo "32bit:"
|
||||
echo 'SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")'
|
||||
echo 'SEARCH_DIR("/usr/local/lib32")'
|
||||
echo 'SEARCH_DIR("/lib32")'
|
||||
echo 'SEARCH_DIR("/usr/lib32")'
|
||||
echo 'SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")'
|
||||
echo 'SEARCH_DIR("/usr/local/lib")'
|
||||
echo 'SEARCH_DIR("/lib")'
|
||||
echo 'SEARCH_DIR("/usr/lib");' ;;
|
||||
esac
|
||||
echo ""
|
||||
echo -e "\a"
|
||||
@ -186,9 +187,9 @@ grep "/lib.*/libc.so.6 " dummy.log
|
||||
echo ""
|
||||
echo "ABOVE should be the same output than below"
|
||||
case $(uname -m) in x86_64)
|
||||
echo "32bit: attempt to open /lib/libc.so.6 succeeded" ;;
|
||||
*)
|
||||
echo "64bit: attempt to open /lib64/libc.so.6 succeeded" ;;
|
||||
*)
|
||||
echo "32bit: attempt to open /lib/libc.so.6 succeeded" ;;
|
||||
esac
|
||||
echo ""
|
||||
echo -e "\a"
|
||||
@ -200,9 +201,9 @@ grep found dummy.log
|
||||
echo ""
|
||||
echo "ABOVE should be the same output than below"
|
||||
case $(uname -m) in x86_64)
|
||||
echo "32bit: found ld-linux.so.2 at /lib/ld-linux.so.2" ;;
|
||||
*)
|
||||
echo "64bit: found ld-linux-x86-64.so.2 at /lib64/ld-linux-x86-64.so.2" ;;
|
||||
*)
|
||||
echo "32bit: found ld-linux.so.2 at /lib/ld-linux.so.2" ;;
|
||||
esac
|
||||
echo ""
|
||||
echo -e "\a"
|
||||
|
@ -13,10 +13,10 @@ Running all the steps until the reboot of 9.3 will give a running LFS on your ho
|
||||
Automated LFS 7.8 by [Romain Claret](http://romainclaret.com) is licensed under a MIT License.
|
||||
|
||||
## Instructions
|
||||
The raport can be found in french at the root of this repo: Instructions_FR.pdf.
|
||||
There will be an english version Markdown soon... soon... (I don't know when to be honest, but one day!)
|
||||
Detailed intructions can be found in french in the miscellaneous folder: Instructions_FR.pdf.
|
||||
There will be an english version soon... soon... (I don't know when to be honest, but one day!)
|
||||
|
||||
However, note that all the instructions in the scripts themselves are in english. So... If it's alright with you... I don't think you need my report to be translated right away..
|
||||
However, note that all the instructions in the scripts themselves are in english. So... If it's alright with you... I don't think you need the details to be translated right away...
|
||||
|
||||
## I used virtualbox:
|
||||
https://www.virtualbox.org
|
||||
@ -29,7 +29,7 @@ https://www.virtualbox.org
|
||||
- LFS HDD: 20BG (recommended 10GB by LFS 7.8) !! it's a second HDD different from the Host HDD !!
|
||||
|
||||
## How to start?
|
||||
- Clone the repo on your freshly installed debian
|
||||
- Clone the repo
|
||||
- Go to the folder (default: lfs-7.8)
|
||||
- Give the permission rights to the first file (chmod +x 0.0-root_initial.sh)
|
||||
- Run the first file (./0.0-root_initial.sh)
|
||||
@ -60,3 +60,4 @@ https://www.virtualbox.org
|
||||
- I recommend minimum at end of each chapter
|
||||
|
||||
## I love pull requests :)
|
||||
If you find bugs or if you want to create a branch for the 7.9 or 7.10 LFS versions, i would be happy to :)
|
||||
|
Reference in New Issue
Block a user