Changeset 48d7968
- Timestamp:
- 09/12/2005 02:04:26 AM (19 years ago)
- Branches:
- 0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 9e406b5
- Parents:
- e2caf6f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
re2caf6f r48d7968 15 15 -V, --version print version number, then exit 16 16 -L, --LFS-version=VER use VER version of the LFS book 17 -d --directory=DIR use DIR directory for building LFS; all files 18 jhalfs produces will be in the directory 19 DIR/jhalfs 17 20 -D, --download-client=CLIENT use CLIENT as the program for retrieving 18 21 packages … … 58 61 ;; 59 62 63 --directory | -d ) 64 test $# = 1 && eval "$exit_missing_arg" 65 shift 66 BUILDDIR=$1 67 shift 68 ;; 69 60 70 --download-client | -D ) 61 71 test $# = 1 && eval "$exit_missing_arg" … … 93 103 SVN="svn://svn.linuxfromscratch.org" 94 104 HTTP=http://ftp.lfs-matrix.net/pub/lfs/lfs-packages/conglomeration 95 BUILDDIR=/mnt/lfs 105 if [ -z $BUILDDIR ] ; then BUILDDIR=/mnt/lfs ; fi 96 106 JHALFSDIR=$BUILDDIR/jhalfs 97 107 LOG=build.log … … 283 293 # Drop in the actual commands that were parsed from the book 284 294 cat $i | sed -e 's:\$:&&:g' -e 's:^:\t:' -e 's:[^\\]$:& \&\& \\:' >> $MKFILE.tmp 285 sed -i '$s: \&\& \\::' $MKFILE.tmp295 sed -i -e '$s: \&\& \\::' $MKFILE.tmp -e 's|\$\$LFS|\$(LFS)|' $MKFILE.tmp 286 296 287 297 # Include a touch of the target name so make can check if it's already been made. … … 291 301 # Stick a variable and some defines at the top of the real makefile 292 302 echo "export SRC := /sources" > $MKFILE 303 echo "export LFS := $BUILDDIR" >> $MKFILE 293 304 echo "define unpack" >> $MKFILE 294 305 echo -e "\t@cd \$(SRC) ; tar -xvf \$(1) > /tmp/unpacked" >> $MKFILE
Note:
See TracChangeset
for help on using the changeset viewer.