- Timestamp:
- 02/17/2007 02:08:46 AM (18 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- c0b307c
- Parents:
- b7ea8ff
- Location:
- CLFS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/clfs.xsl
rb7ea8ff r1330ebc 87 87 <!-- Creating dirs and files --> 88 88 <exsl:document href="{$dirname}/{$order}-{$filename}" method="text"> 89 <xsl:text>#!/bin/bash
set +h
</xsl:text> 89 <xsl:choose> 90 <xsl:when test="@id='ch-chroot-changingowner' or 91 @id='ch-chroot-creatingdirs' or 92 @id='ch-chroot-createfiles'"> 93 <xsl:text>#!/tools/bin/bash
set +h
</xsl:text> 94 </xsl:when> 95 <xsl:otherwise> 96 <xsl:text>#!/bin/bash
set +h
</xsl:text> 97 </xsl:otherwise> 98 </xsl:choose> 90 99 <xsl:if test="not(@id='ch-system-stripping')"> 91 100 <xsl:text>set -e</xsl:text> -
CLFS/master.sh
rb7ea8ff r1330ebc 796 796 @sudo make SUDO 797 797 @touch \$@ 798 #799 # The convoluted piece of code below is necessary to provide 'make' with a valid shell in the800 # chroot environment. (Unless someone knows a different way)801 # Manually create the /bin directory and provide link to the /tools dir.802 # Also change the original symlink creation to include (f)orce to prevent failure due to803 # pre-existing links.804 798 805 799 #---------------CHROOT JAIL 806 800 mk_SYSTOOLS: mk_SUDO 807 @if [ ! -e \$(MOUNT_PT)/bin ]; then \\808 mkdir \$(MOUNT_PT)/bin; \\809 cd \$(MOUNT_PT)/bin && \\810 ln -svf /tools/bin/bash bash; ln -sf bash sh; \\811 sudo chown -R 0:0 \$(MOUNT_PT)/bin; \\812 fi;813 @sudo sed -e 's|^ln -sv |ln -svf |' -i \$(CMDSDIR)/chroot/*-createfiles814 801 @\$(call echo_CHROOT_request) 815 802 @\$(call echo_PHASE, CHROOT JAIL )
Note:
See TracChangeset
for help on using the changeset viewer.