- Timestamp:
- 02/17/2007 02:08:46 AM (17 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- c0b307c
- Parents:
- b7ea8ff
- Location:
- LFS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/lfs.xsl
rb7ea8ff r1330ebc 80 80 <!-- Creating dirs and files --> 81 81 <exsl:document href="{$dirname}/{$order}-{$filename}" method="text"> 82 <xsl:text>#!/bin/bash
set +h
</xsl:text> 82 <xsl:choose> 83 <xsl:when test="@id='ch-system-creatingdirs' or 84 @id='ch-system-createfiles'"> 85 <xsl:text>#!/tools/bin/bash
set +h
</xsl:text> 86 </xsl:when> 87 <xsl:otherwise> 88 <xsl:text>#!/bin/bash
set +h
</xsl:text> 89 </xsl:otherwise> 90 </xsl:choose> 83 91 <xsl:if test="not(@id='ch-tools-stripping') and 84 92 not(@id='ch-system-strippingagain')"> -
LFS/master.sh
rb7ea8ff r1330ebc 436 436 mk_SUDO: mk_LUSER 437 437 @sudo make SUDO 438 touch \$@ 439 # 440 # The convoluted piece of code below is necessary to provide 'make' with a valid shell in the 441 # chroot environment. (Unless someone knows a different way) 442 # Manually create the /bin directory and provide link to the /tools dir. 443 # Also change the original symlink creation to include (f)orce to prevent failure due to 444 # pre-existing links. 445 # 438 @touch \$@ 439 446 440 mk_CHROOT: mk_SUDO 447 @if [ ! -e \$(MOUNT_PT)/bin ]; then \\448 mkdir \$(MOUNT_PT)/bin; \\449 cd \$(MOUNT_PT)/bin && \\450 ln -sf /tools/bin/bash bash; ln -sf bash sh; \\451 sudo chown -R 0:0 \$(MOUNT_PT)/bin; \\452 fi;453 @sudo sed -e 's|^ln -sv |ln -svf |' -i \$(CMDSDIR)/chapter06/*-createfiles454 441 @\$(call echo_CHROOT_request) 455 442 @( sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make CHROOT")
Note:
See TracChangeset
for help on using the changeset viewer.