In the chroot section, we really have no use for the LFS variable any longer. We only need it to be able to chroot, and that is covered by the Make variable, $(LFS)
This commit is contained in:
parent
002f8a77bc
commit
ad5f7f7775
1 changed files with 2 additions and 4 deletions
6
jhalfs
6
jhalfs
|
@ -544,10 +544,8 @@ EOF
|
||||||
if [ "$i" = "057-kernfs" ] ; then
|
if [ "$i" = "057-kernfs" ] ; then
|
||||||
(
|
(
|
||||||
cat << EOF
|
cat << EOF
|
||||||
@echo "LFS=\$(LFS)" > lfsdir && \\
|
|
||||||
echo "export LFS" >> lfsdir && \\
|
|
||||||
echo -e "\n\`date\`\n\nKB: \`du -sk --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\
|
echo -e "\n\`date\`\n\nKB: \`du -sk --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\
|
||||||
source lfsdir && commands/$file >>logs/$i 2>&1 && \\
|
commands/$file >>logs/$i 2>&1 && \\
|
||||||
echo -e "\n\`date\`\n\nKB: \`du -sk --exclude=0??-* \$(LFS)\`\n" >>logs/$i
|
echo -e "\n\`date\`\n\nKB: \`du -sk --exclude=0??-* \$(LFS)\`\n" >>logs/$i
|
||||||
EOF
|
EOF
|
||||||
) >> $MKFILE.tmp
|
) >> $MKFILE.tmp
|
||||||
|
@ -557,7 +555,7 @@ EOF
|
||||||
(
|
(
|
||||||
cat << EOF
|
cat << EOF
|
||||||
@echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\
|
@echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\
|
||||||
source lfsdir && \$(CHROOT1) 'cd /jhalfs && source envars && commands/$file >>logs/$i 2>&1' && \\
|
\$(CHROOT1) 'cd /jhalfs && source envars && commands/$file >>logs/$i 2>&1' && \\
|
||||||
echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >>logs/$i
|
echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >>logs/$i
|
||||||
EOF
|
EOF
|
||||||
) >> $MKFILE.tmp
|
) >> $MKFILE.tmp
|
||||||
|
|
Reference in a new issue