- Timestamp:
- 10/03/2005 02:40:33 AM (19 years ago)
- Branches:
- 0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 1936487
- Parents:
- 52888e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
r52888e2 rc08d23b 446 446 # Drop in the name of the target on a new line, and the previous target 447 447 # as a dependency. 448 echo -e "\n$i: $PREV" >> $MKFILE.tmp 448 if ! echo $i | grep -q "chroot" ; then 449 echo -e "\n$i: $PREV" >> $MKFILE.tmp 450 fi 449 451 450 452 # Find the version of the command files, if it corresponds with the building of … … 481 483 # Insert date and disk usage at the top of the log file. 482 484 echo -e "\techo -e \"\\\n\`date\`\\\n\\\nKB: \`du -sk --exclude=0??-* /\`\\\n\" >logs/$i && \\" >> $MKFILE.tmp 483 echo -e "\t. envars && commands/$file >>logs/$i 2>&1&& \\" >> $MKFILE.tmp485 echo -e "\t. envars && \$(CHROOT1) 'cd /jhalfs && commands/$file >>logs/$i 2>&1' && \\" >> $MKFILE.tmp 484 486 # Insert date and disk usage at the bottom of the log file. 485 487 echo -e "\techo -e \"\\\n\`date\`\\\n\\\nKB: \`du -sk --exclude=0??-* /\`\\\n\" >>logs/$i" >> $MKFILE.tmp … … 516 518 echo "export LFS := $BUILDDIR" >> $MKFILE 517 519 echo -e "export LOGDIR := $LOGDIR\n" >> $MKFILE 518 echo "include functions" >> $MKFILE 520 echo -e "include functions\n" >> $MKFILE 521 522 # Add chroot commands 523 i=1 524 for file in chapter06/*chroot* ; do 525 chroot=`cat $file | sed -e '/#!\/bin\/sh/d' -e 's@ \\\@ @g' | tr -d '\n' | sed \ 526 -e 's/ */ /g' -e 's|\\$|&&|g' -e 's|$| -c|'` 527 echo -e "export CHROOT$i := $chroot\n" >> $MKFILE 528 i=`expr $i + 1` 529 done 519 530 520 531 # Drop in the main target 'all:' and the chapter targets with each sub-target
Note:
See TracChangeset
for help on using the changeset viewer.