Changeset 3d75bc2 for HLFS/hlfs.xsl
- Timestamp:
- 06/18/2007 09:00:29 PM (17 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- a4af9217
- Parents:
- 31eb678
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
HLFS/hlfs.xsl
r31eb678 r3d75bc2 111 111 <xsl:text>pushd ../; tar -xvf gettext-&gettext-version;.*; popd; 
</xsl:text> 112 112 </xsl:if> 113 114 113 <!-- SVN toolchain format, from inside ./sources dir unpack binutils and gcc --> 115 114 <xsl:if test="@id='ch-tools-embryo-toolchain' or … … 128 127 </xsl:if> 129 128 <!-- END SVN toolchain format --> 130 131 <!-- 2.4-branch toolchain -->132 <xsl:if test="@id='ch-tools-gcc-pass2' or @id='ch-system-gcc'">133 <xsl:text>pushd ../; tar -xvf gcc-g++-&gcc-version;.*; popd; 
</xsl:text>134 </xsl:if>135 <xsl:if test="@id='ch-system-gcc' and $testsuite != '0'">136 <xsl:text>pushd ../; tar -xvf gcc-testsuite-&gcc-version;.*; popd; 
</xsl:text>137 </xsl:if>138 <!-- END 2.4-branch toolchain -->139 140 <!-- temporary141 <xsl:if test="@id='bootable-bootscripts'">142 <xsl:text>pushd ../; tar -xvf blfs-bootscripts-&blfs-bootscripts-version;.* ; popd; 
</xsl:text>143 </xsl:if>144 -->145 129 </xsl:if> 146 130 <xsl:apply-templates select=".//para/userinput | .//screen"/> … … 184 168 <xsl:template match="userinput" mode="screen"> 185 169 <xsl:choose> 186 <!-- Estandarized package formats -->187 <xsl:when test="contains(string(),'tar.gz')">188 <xsl:value-of select="substring-before(string(),'tar.gz')"/>189 <xsl:text>tar.*</xsl:text>190 <xsl:value-of select="substring-after(string(),'tar.gz')"/>191 <xsl:text>
</xsl:text>192 </xsl:when>193 170 <!-- grsecurity kernel in the host? --> 194 171 <xsl:when test="ancestor::sect1[@id='ch-system-kernfs'] and 195 172 contains(string(),'sysctl') 196 173 and $grsecurity_host ='n'"/> 197 <!-- We need to have /dev/console and /dev/null availables before198 entering to the chroot -->199 <xsl:when test="ancestor::sect1[@id='ch-system-devices'] and200 contains(string(),'600 /dev/console')"/>201 <!-- Fix MAKEDEV installation in 2.4-branch -->202 <xsl:when test="ancestor::sect1[@id='ch-system-devices'] and203 contains(string(),'bzcat MAKEDEV')">204 <xsl:text>bzcat /sources/</xsl:text>205 <xsl:value-of select="substring-after(string(),'bzcat ')"/>206 <xsl:text>
</xsl:text>207 </xsl:when>208 174 <!-- Setting $LANG for /etc/profile --> 209 175 <xsl:when test="ancestor::sect1[@id='bootable-profile'] and … … 215 181 <xsl:text>
</xsl:text> 216 182 </xsl:when> 217 <!-- Fixing bootscripts installation -->218 219 <!-- temporary220 <xsl:when test="ancestor::sect1[@id='bootable-bootscripts'] and221 string() = 'make install'">222 <xsl:text>make install
</xsl:text>223 <xsl:text>cd ../blfs-bootscripts-&blfs-bootscripts-version;
</xsl:text>224 </xsl:when>225 -->226 <!-- Compile the keymap into the kernel has been dissabled -->227 <xsl:when test="contains(string(),'defkeymap')"/>228 183 <!-- Copying the kernel config file --> 229 184 <xsl:when test="string() = 'make mrproper'"> … … 233 188 <!-- No interactive commands are needed if the .config file is the proper one --> 234 189 <xsl:when test="string() = 'make menuconfig'"/> 190 <!-- For uClibc we need to set CONFIG_SITE --> 191 <xsl:when test="contains(string(),'CONFIG_SITE')"> 192 <xsl:value-of select="substring-before(string(),'export')"/> 193 <xsl:text>echo "export</xsl:text> 194 <xsl:value-of select="substring-after(string(),'export')"/> 195 <xsl:text>" >> ~/.bashrc
</xsl:text> 196 </xsl:when> 235 197 <!-- For uClibc we need to cd to the Gettext package --> 236 198 <xsl:when test="contains(string(),'cd gettext-runtime/')"> … … 273 235 </xsl:choose> 274 236 </xsl:when> 275 <!-- Fixing butterfly and 2.4-branch toolchain plus other packages test suites run --> 276 <xsl:when test="string() = 'make -k check' 277 or string() = 'make check' 278 or string() = 'make tests'"> 279 <xsl:choose> 280 <xsl:when test="((ancestor::sect1[@id='ch-system-butterfly-toolchain'] 281 or ancestor::sect1[@id='ch-system-gcc'] or 282 ancestor::sect1[@id='ch-system-binutils']) 283 and $testsuite != '0') or 284 $testsuite = '2' or $testsuite = '3'"> 237 <!-- Fixing butterfly toolchain test suite run --> 238 <xsl:when test="ancestor::sect1[@id='ch-system-butterfly-toolchain'] 239 and string() = 'make -k check'"> 240 <xsl:choose> 241 <xsl:when test="$testsuite != '0'"> 285 242 <xsl:choose> 286 243 <xsl:when test="$bomb-testsuite = 'n'"> … … 300 257 </xsl:when> 301 258 <!-- Fixing Glbc test suite --> 259 <xsl:when test="contains(string(),'rm -v configparms') and 260 contains(string(),'-fno-stack-protector')"> 261 <xsl:choose> 262 <xsl:when test="$testsuite != '0'"> 263 <xsl:apply-templates/> 264 <xsl:text>
</xsl:text> 265 </xsl:when> 266 </xsl:choose> 267 </xsl:when> 302 268 <xsl:when test="contains(string(),'glibc-check-log')"> 303 269 <xsl:choose>
Note:
See TracChangeset
for help on using the changeset viewer.