All Questions
Tagged with linux-from-scratch bash
10
questions
8
votes
1
answer
6k
views
error while using make to compile Glibc-2.11.1 for Linux From Scratch
I am building LFS and I am in the part where we need to install Glibc-2.11.1
http://www.linuxfromscratch.org/lfs/view/6.6/chapter05/glibc.html
I have successfully configured it but I cant run the ...
4
votes
3
answers
6k
views
how to use "make mrproper " command? i am working on Linux From Scratch
I am trying to build Linux From Scratch and I have reached till this part : linux headers
Make sure there are no stale files and dependencies lying around from previous activity:
make mrproper
I ...
1
vote
2
answers
88
views
Need to change the directory inside the shell script
I need to change the directory inside the shellscript.i have tried below
#!/bin/bash
sudo -u rv bash
cd /opt/test
source /opt/rv/van.env
./rv.sh |grep "STATUS"
When I tried it didn't cd to that ...
1
vote
1
answer
315
views
Bash - Linux from scratch, cheching library script
I reading LSF and saw some operation, description one i am not found.
Please tell me what this means:
lib{gmp,mpfr,mpc}.la
Full code listing:
cat > library-check.sh << "EOF"
#!/bin/bash
...
1
vote
1
answer
1k
views
Linux from scratch, Glibc-2.16 make error
I've been closely following commands from 'Linux from scratch' book version 7.2, and as usual everything was fine until i've reached chapter 6.9, and the problem is when I try to install glibc by '...
1
vote
1
answer
416
views
Using 'exec' in bash_profile stops login shell
I'm creating the following .bash_profile (from linuxfromscratch guide) for lfs user:
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
When executing su - lfs I get:
[1]+ Stopped ...
0
votes
1
answer
1k
views
should we delete the build directories created in LFS for installing binutils-2.20? [closed]
I am in the part ( http://www.linuxfromscratch.org/lfs/view/6.6/chapter05/binutils-pass2.html)
( http://www.linuxfromscratch.org/lfs/view/6.6/chapter05/binutils-pass1.html)
they ask ...
0
votes
1
answer
2k
views
shell script - redirect all data from stdout to /dev/null [duplicate]
i use travis-ci to build linux from scratch version 7.8. during build, travis-ci throw error because log file large than 4 mega bytes. you can see at lfs-auto, build #15
now, i want to redirect all ...
0
votes
1
answer
941
views
Understanding LFS environment setup
I have some questions regarding the suggested setup from LFS.
Question:
what is this command really doing
cat > ~/.bash_profile << "EOF"
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\...