Need to cd into the unpacked source directories in chapter6
This commit is contained in:
parent
ad5f7f7775
commit
a7d20b82ad
1 changed files with 11 additions and 1 deletions
12
jhalfs
12
jhalfs
|
@ -550,7 +550,17 @@ EOF
|
||||||
EOF
|
EOF
|
||||||
) >> $MKFILE.tmp
|
) >> $MKFILE.tmp
|
||||||
|
|
||||||
# The rest of Chapter06 use CHROOT1 function
|
# If we have a package we need to cd into the directory
|
||||||
|
elif [ "$vrs" != "" ] ; then
|
||||||
|
(
|
||||||
|
cat << EOF
|
||||||
|
@echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\
|
||||||
|
\$(CHROOT1) 'cd /jhalfs && source envars && cd \$\$PKGDIR && commands/$file >>logs/$i 2>&1' && \\
|
||||||
|
echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >>logs/$i
|
||||||
|
EOF
|
||||||
|
) >> $MKFILE.tmp
|
||||||
|
|
||||||
|
# The rest of Chapter06
|
||||||
else
|
else
|
||||||
(
|
(
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
Reference in a new issue