Changeset db181c47
- Timestamp:
- 11/16/2005 06:16:52 PM (19 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 1a17f94
- Parents:
- 6480c2b
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
dump-lfs-scripts.xsl
r6480c2b rdb181c47 1 1 <?xml version="1.0"?> 2 <!DOCTYPE xsl:stylesheet [ 3 <!ENTITY % general-entities SYSTEM "FAKEDIR/general.ent"> 4 %general-entities; 5 ]> 6 2 7 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3 8 xmlns:exsl="http://exslt.org/common" … … 12 17 <!-- Run toolchain test suites? --> 13 18 <xsl:param name="toolchaintest" select="1"/> 19 20 <!-- Install vim-lang package? --> 21 <xsl:param name="vim-lang" select="1"/> 14 22 15 23 <xsl:template match="/"> … … 66 74 @id='ch-system-readjusting'"> 67 75 <xsl:text>cd $PKGDIR
</xsl:text> 76 <xsl:if test="@id='ch-system-vim' and $vim-lang = '1'"> 77 <xsl:text>tar -xvf ../vim-&vim-version;-lang.*
</xsl:text> 78 </xsl:if> 68 79 </xsl:if> 69 80 <xsl:apply-templates select=".//para/userinput | .//screen"/> -
jhalfs
r6480c2b rdb181c47 64 64 /etc/fstab file with dummy values is 65 65 created. 66 67 --no-vim-lang don't install the optional vim-lang package 66 68 67 69 -C, --kernel-config FILE use the kernel configuration file specified … … 105 107 exit 1" 106 108 cd $JHALFSDIR 107 108 # Test to make sure the LFS version is set109 if [ -z $LFSVRS ] ; then LFSVRS=development ; fi110 111 # Set the book's sources directory112 if [ -z $BOOK ] ; then BOOK=lfs-$LFSVRS ; fi113 109 114 110 if [ -z $WC ] ; then … … 160 156 # Dump the commands in shell script form from the LFS book. 161 157 xsltproc --nonet --xinclude --stringparam testsuite $TEST \ 162 --stringparam toolchaintest $TOOLCHAINTEST - o ./commands/\163 $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1158 --stringparam toolchaintest $TOOLCHAINTEST --stringparam vim-lang $VIMLANG \ 159 -o ./commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 164 160 165 161 # Make the scripts executable. … … 172 168 -e '/generic/d' >> packages 173 169 echo `grep "glibc" packages | sed 's@glibc@&-linuxthreads@'` >> packages 170 # Download the vim-lang package if it must be installed 171 if [ "$VIMLANG" = "1" ] ; then 172 echo `grep "vim" packages | sed 's@vim@&-lang@'` >> packages 173 fi 174 174 echo `grep "udev-config-file" $BOOK/general.ent | sed -e 's@<!ENTITY @@' -e 's@">@"@'` >> packages 175 175 # Download the module-init-tools-testsuite package only … … 263 263 if [ "$PKG" = "tcl" ] ; then 264 264 FILE="$PKG$VRS-src.tar.bz2" 265 elif [ "$PKG" = "vim-lang" ] ; then 266 PKG="vim" 267 FILE="vim-$VRS-lang.tar.bz2" 265 268 elif [ "$PKG" = "udev-config" ] ; then 266 269 PKG="udev" … … 919 922 920 923 --no-toolchain-test ) TOOLCHAINTEST=0 ;; 924 925 --no-vim-lang ) VIMLANG=0 ;; 921 926 922 927 --page_size ) … … 990 995 991 996 [[ ! -d $JHALFSDIR ]] && mkdir -pv $JHALFSDIR 992 [[ "$PWD" != "$JHALFSDIR" ]] && cp -v $FILES $JHALFSDIR/ 997 [[ "$PWD" != "$JHALFSDIR" ]] && cp -v $FILES $JHALFSDIR/ && \ 998 sed -e 's/FAKEDIR/'$BOOK'/' $XSL > $JHALFSDIR/dump-lfs-scripts.xsl && \ 999 export XSL=$JHALFSDIR/dump-lfs-scripts.xsl 993 1000 [[ ! -d $LOGDIR ]] && mkdir -v $LOGDIR 994 1001 >$LOGDIR/$LOG -
jhalfs.conf
r6480c2b rdb181c47 7 7 declare -r SVN="svn://svn.linuxfromscratch.org" 8 8 declare -r HTTP=http://ftp.lfs-matrix.net/pub/lfs/conglomeration 9 declare -r XSL=dump-lfs-scripts.xsl10 9 declare -r LOG=000-jhalfs.log 11 12 #--- Files that will be copied to $JHALFSDIR13 FILES="functions dump-lfs-scripts.xsl"14 10 15 11 #--- Mount point for the build 16 12 BUILDDIR=/mnt/lfs 17 13 18 #--- Working directories19 JHALFSDIR=$BUILDDIR/jhalfs20 LOGDIR=$JHALFSDIR/logs21 MKFILE=$JHALFSDIR/Makefile22 23 14 #--- Download the source packages 0(no)/1(yes) 24 15 HPKG=0 … … 39 30 TIMEZONE=Europe/London 40 31 32 #--- install the optional vim-lang package 0(no)/1(yes) 33 VIMLANG=1 34 35 #--- Location of fstab file (if empty, a template is created) 36 FSTAB= 37 41 38 #--- Location of kernel config file (if the kernel is to be compiled) 42 39 CONFIG= 43 40 41 42 43 #==== INTERNAL VARIABLES ==== 44 # Don't edit it unless you know what you are doing 45 46 #--- Default stylesheet 47 XSL=dump-lfs-scripts.xsl 48 49 #--- Files that will be copied to $JHALFSDIR 50 FILES="functions" 51 52 #--- Working directories 53 JHALFSDIR=$BUILDDIR/jhalfs 54 LOGDIR=$JHALFSDIR/logs 55 MKFILE=$JHALFSDIR/Makefile 56 57 #--- Book version 58 LFSVRS=development 59 60 #--- Book's sources directory 61 BOOK=lfs-$LFSVRS
Note:
See TracChangeset
for help on using the changeset viewer.