- Timestamp:
- 10/02/2005 10:28:59 AM (19 years ago)
- Branches:
- 0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 97a3ffc
- Parents:
- 3cfe871
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
r3cfe871 re909d9d 290 290 name=`echo $i | sed -e 's@[0-9]\{3\}-@@' -e 's@-pass[0-9]\{1\}@@'` 291 291 292 # Drop in the name of the target on a new line. 293 echo -e "\n$i:" >> $MKFILE.tmp 292 # Set the dependency for the first target. 293 if [ -z $PREV ] ; then PREV=022-settingenvironment ; fi 294 295 # Drop in the name of the target on a new line, and the previous target 296 # as a dependency. 297 echo -e "\n$i: $PREV" >> $MKFILE.tmp 294 298 295 299 # Find the version of the command files, if it corresponds with the building of … … 391 395 echo -e "\t\techo \"The build of \$@ has failed\" && exit 1; \\" >> $MKFILE.tmp 392 396 echo -e "\tfi;" >> $MKFILE.tmp 397 398 # Keep the script file name for Makefile dependencies. 399 PREV=$i 393 400 done 394 401 … … 438 445 echo -e "\ttouch \$@\n" >> $MKFILE 439 446 440 echo "021-addinguser: " >> $MKFILE447 echo "021-addinguser: 020-creatingtoolsdir" >> $MKFILE 441 448 echo -e "\tgroupadd lfs && \\" >> $MKFILE 442 449 echo -e "\tuseradd -s /bin/bash -g lfs -m -k /dev/null lfs && \\" >> $MKFILE … … 447 454 echo -e "\ttouch \$@\n" >> $MKFILE 448 455 449 echo "022-settingenvironment: " >> $MKFILE456 echo "022-settingenvironment: 021-addinguser" >> $MKFILE 450 457 echo -e "\techo \"exec env -i HOME=\\\$\$HOME TERM=\\\$\$TERM PS1='\u:\w\$$ ' /bin/bash\" > /home/lfs/.bash_profile && \\" >> $MKFILE 451 458 echo -e "\techo \"set +h\" > /home/lfs/.bashrc && \\" >> $MKFILE
Note:
See TracChangeset
for help on using the changeset viewer.