Changeset ad71d98
- Timestamp:
- 03/19/2006 12:44:32 PM (18 years ago)
- Branches:
- experimental
- Children:
- d87b293
- Parents:
- c3c4e1d
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
rc3c4e1d rad71d98 707 707 temp-perl) wrt_unpack2 "perl-$vrs.tar.*" ;; 708 708 *) wrt_unpack2 "$name-$vrs.tar.*" ;; 709 esac710 #711 # Export a few 'config' vars..712 case $this_script in713 *glibc*) # For glibc we can set then TIMEZONE envar.714 wrt_export_timezone ;;715 *groff*) # For Groff we need to set PAGE envar.716 wrt_export_pagesize ;;717 709 esac 718 710 fi -
HLFS/hlfs.xsl
rc3c4e1d rad71d98 29 29 3 = all chapter05 and chapter06 testsuites--> 30 30 <xsl:param name="testsuite" select="1"/> 31 32 <!-- Time zone --> 33 <xsl:param name="timezone" select="America/Toronto"/> 34 35 <!-- Page size --> 36 <xsl:param name="page" select="letter"/> 31 37 32 38 <xsl:template match="/"> … … 200 206 <xsl:text>
</xsl:text> 201 207 </xsl:when> 202 <!-- For uClibc we need to set TIMEZONE envar -->203 <xsl:when test="contains(string(),'EST5EDT')">204 <xsl:value-of select="substring-before(string(),'EST5EDT')"/>205 <xsl:text>${TIMEZONE}</xsl:text>206 <xsl:value-of select="substring-after(string(),'EST5EDT')"/>207 <xsl:text>
</xsl:text>208 </xsl:when>209 208 <!-- The Coreutils and Module-Init-Tools test suites are optional --> 210 209 <xsl:when test="($testsuite = '0' or $testsuite = '1') and … … 240 239 <!-- Don't stop on strip run and chapter05 GCC installation test--> 241 240 <xsl:when test="contains(string(),'strip ') or 242 ancestor::sect2[@id='testing-gcc']"> 241 ancestor::sect2[@id='testing-gcc'] and 242 not(contains(string(),'EOF'))"> 243 243 <xsl:apply-templates/> 244 244 <xsl:text> || true
</xsl:text> … … 256 256 <xsl:when test="ancestor::sect1[@id='ch-system-glibc'] or 257 257 ancestor::sect1[@id='ch-system-uclibc']"> 258 <xsl: text>$TIMEZONE</xsl:text>258 <xsl:value-of select="$timezone"/> 259 259 </xsl:when> 260 260 <xsl:when test="ancestor::sect1[@id='ch-system-groff']"> 261 <xsl: text>$PAGE</xsl:text>261 <xsl:value-of select="$page"/> 262 262 </xsl:when> 263 263 <xsl:when test="ancestor::sect1[@id='bootable-kernel']"> -
HLFS/master.sh
rc3c4e1d rad71d98 355 355 echo -e '\t@echo "export PKGDIR=$(SRC)/binutils-build" > envars' >> $MKFILE.tmp 356 356 ;; 357 *glibc* | *uclibc* ) # For glibc and uClibc we need to set TIMEZONE envar.358 wrt_export_timezone359 ;;360 *groff* ) # For Groff we need to set PAGE envar.361 wrt_export_pagesize362 ;;363 357 esac 364 358 -
LFS/lfs.xsl
rc3c4e1d rad71d98 23 23 <!-- Install vim-lang package? --> 24 24 <xsl:param name="vim-lang" select="1"/> 25 26 <!-- Time zone --> 27 <xsl:param name="timezone" select="America/Toronto"/> 28 29 <!-- Page size --> 30 <xsl:param name="page" select="letter"/> 25 31 26 32 <xsl:template match="/"> … … 192 198 <xsl:choose> 193 199 <xsl:when test="ancestor::sect1[@id='ch-system-glibc']"> 194 <xsl: text>$TIMEZONE</xsl:text>200 <xsl:value-of select="$timezone"/> 195 201 </xsl:when> 196 202 <xsl:when test="ancestor::sect1[@id='ch-system-groff']"> 197 <xsl: text>$PAGE</xsl:text>203 <xsl:value-of select="$page"/> 198 204 </xsl:when> 199 205 <xsl:otherwise> -
LFS/master.sh
rc3c4e1d rad71d98 185 185 fi 186 186 187 case "${this_script}" in188 *glibc* ) wrt_export_timezone ;; # For Glibc we need to set TIMEZONE envar.189 *groff* ) wrt_export_pagesize ;; # For Groff we need to set PAGE envar.190 esac191 192 187 # In the mount of kernel filesystems we need to set LFS 193 188 # and not to use chroot. -
common/common-functions
rc3c4e1d rad71d98 418 418 EOF 419 419 ) >> $MKFILE.tmp 420 }421 422 423 #----------------------------------#424 wrt_export_timezone() { #425 #----------------------------------#426 echo -e '\t@echo "export TIMEZONE=$(TIMEZONE)" >> envars' >> $MKFILE.tmp427 }428 429 430 #----------------------------------#431 wrt_export_pagesize() { #432 #----------------------------------#433 echo -e '\t@echo "export PAGE=$(PAGE)" >> envars' >> $MKFILE.tmp434 420 } 435 421 … … 642 628 hlfs) 643 629 echo -n "${tab_} ${L_arrow}${BOLD}$MODEL${R_arrow} HLFS architecture" 644 xsltproc --nonet \ 645 --xinclude \ 646 --stringparam model $MODEL \ 647 --stringparam testsuite $TEST \ 648 --stringparam keymap $KEYMAP \ 649 --stringparam grsecurity_host $GRSECURITY_HOST \ 650 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 630 xsltproc --nonet \ 631 --xinclude \ 632 --stringparam model $MODEL \ 633 --stringparam testsuite $TEST \ 634 --stringparam timezone $TIMEZONE \ 635 --stringparam page $PAGE \ 636 --stringparam keymap $KEYMAP \ 637 --stringparam grsecurity_host $GRSECURITY_HOST \ 638 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 651 639 for i in $(find ./${PROGNAME}-commands/chapter07/*) ; do 652 640 sed -i 's/"EOF"/EOF/g' $i ; … … 659 647 --stringparam testsuite $TEST \ 660 648 --stringparam vim-lang $VIMLANG \ 649 --stringparam timezone $TIMEZONE \ 650 --stringparam page $PAGE \ 661 651 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 662 652 for i in $(find ./${PROGNAME}-commands/chapter07/*) ; do
Note:
See TracChangeset
for help on using the changeset viewer.