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:
Jeremy Huntwork 2005-10-05 00:48:28 +00:00
parent 002f8a77bc
commit ad5f7f7775

6
jhalfs
View file

@ -544,10 +544,8 @@ EOF
if [ "$i" = "057-kernfs" ] ; then
(
cat << EOF
@echo "LFS=\$(LFS)" > lfsdir && \\
echo "export LFS" >> lfsdir && \\
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
EOF
) >> $MKFILE.tmp
@ -557,7 +555,7 @@ EOF
(
cat << EOF
@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
EOF
) >> $MKFILE.tmp