The tool in trunk is called "jhalfs"
This commit is contained in:
parent
bd5bf0621b
commit
73e54484d1
4 changed files with 15 additions and 15 deletions
4
README
4
README
|
@ -2,9 +2,9 @@ $Id$
|
||||||
|
|
||||||
1. INTRODUCTION::
|
1. INTRODUCTION::
|
||||||
|
|
||||||
This collection of scripts, known as jhalfs-X, strives to create
|
This collection of scripts, known as jhalfs, strives to create
|
||||||
accurate makefiles from the Linux From Scratch book series XML files.
|
accurate makefiles from the Linux From Scratch book series XML files.
|
||||||
This software is an evolution of the original "jhalfs" code.
|
This software is an evolution of the original "jhalfs-0.2" code.
|
||||||
|
|
||||||
The usage of this script assumes you have read and are familiar with
|
The usage of this script assumes you have read and are familiar with
|
||||||
the book(s) and, therefore, the configuration variables found in config
|
the book(s) and, therefore, the configuration variables found in config
|
||||||
|
|
2
TODO
2
TODO
|
@ -8,7 +8,7 @@ MASTER SCRIPT
|
||||||
- The BLFS moudule should can be called in conjunction with any of
|
- The BLFS moudule should can be called in conjunction with any of
|
||||||
LFS, CLFS or HLFS modules.
|
LFS, CLFS or HLFS modules.
|
||||||
|
|
||||||
- To create a Makefile to install jhalfs-X system-wide.
|
- To create a Makefile to install jhalfs system-wide.
|
||||||
Note: is that actually wanted?
|
Note: is that actually wanted?
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ ${BOLD} -B, --book VER${OFF}
|
||||||
udev* aliases for the LFS udev_update branch
|
udev* aliases for the LFS udev_update branch
|
||||||
|
|
||||||
${BOLD} -D --directory DIR${OFF}
|
${BOLD} -D --directory DIR${OFF}
|
||||||
use DIR directory for building ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF}; all files jhalfs-X produces
|
use DIR directory for building ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF}; all files jhalfs produces
|
||||||
will be in the directory DIR/jhalfs.
|
will be in the directory DIR/jhalfs.
|
||||||
|
|
||||||
${BOLD} -G, --get-packages${OFF}
|
${BOLD} -G, --get-packages${OFF}
|
||||||
|
@ -89,7 +89,7 @@ ${BOLD} -M, --run-make${OFF}
|
||||||
|
|
||||||
${BOLD} -R --rebuild${OFF}
|
${BOLD} -R --rebuild${OFF}
|
||||||
clean the build directory before to perfom any other task. The directory
|
clean the build directory before to perfom any other task. The directory
|
||||||
is cleaned only if it was populated by a previous jhalfs-X run.
|
is cleaned only if it was populated by a previous jhalfs run.
|
||||||
-EOF-
|
-EOF-
|
||||||
|
|
||||||
[[ ${PROGNAME} = "clfs" ]] &&
|
[[ ${PROGNAME} = "clfs" ]] &&
|
||||||
|
@ -139,7 +139,7 @@ ${DD_BORDER}
|
||||||
}
|
}
|
||||||
|
|
||||||
version="
|
version="
|
||||||
${BOLD} \"jhalfs-X\"${OFF} builder tool (development) \$Rev$
|
${BOLD} \"jhalfs\"${OFF} builder tool (development) \$Rev$
|
||||||
\$Date$
|
\$Date$
|
||||||
|
|
||||||
${BOLD} \"${PROGNAME}\"${OFF} script module
|
${BOLD} \"${PROGNAME}\"${OFF} script module
|
||||||
|
@ -162,7 +162,7 @@ ${tab_}${tab_}${BOLD}${RED}W A R N I N G${OFF}
|
||||||
from a previous HLFS build.
|
from a previous HLFS build.
|
||||||
|
|
||||||
Please format the partition mounted on \$BUILDDIR or set
|
Please format the partition mounted on \$BUILDDIR or set
|
||||||
a different build directory before running jhalfs-X.
|
a different build directory before running jhalfs.
|
||||||
${OFF}
|
${OFF}
|
||||||
${DD_BORDER}
|
${DD_BORDER}
|
||||||
-EOF-
|
-EOF-
|
||||||
|
@ -182,7 +182,7 @@ no_dl_client="\
|
||||||
echo \"Could not find a way to download the ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF} sources.\" >&2
|
echo \"Could not find a way to download the ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF} sources.\" >&2
|
||||||
echo \"Attempting to continue.\" >&2"
|
echo \"Attempting to continue.\" >&2"
|
||||||
|
|
||||||
HEADER="# This file is automatically generated by jhalfs-X
|
HEADER="# This file is automatically generated by jhalfs
|
||||||
# DO NOT EDIT THIS FILE MANUALLY
|
# DO NOT EDIT THIS FILE MANUALLY
|
||||||
#
|
#
|
||||||
# Generated on `date \"+%F %X %Z\"`"
|
# Generated on `date \"+%F %X %Z\"`"
|
||||||
|
@ -441,7 +441,7 @@ clean_builddir() {
|
||||||
fi
|
fi
|
||||||
# Test to make sure that the build directory was populated by jhalfs
|
# Test to make sure that the build directory was populated by jhalfs
|
||||||
if [ ! -d $JHALFSDIR ] || [ ! -d $BUILDDIR/sources ] ; then
|
if [ ! -d $JHALFSDIR ] || [ ! -d $BUILDDIR/sources ] ; then
|
||||||
echo "Looks like $BUILDDIR was not populated by a previous jhalfs-X run."
|
echo "Looks like $BUILDDIR was not populated by a previous jhalfs run."
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
# Clean the build directory
|
# Clean the build directory
|
||||||
|
|
|
@ -14,7 +14,7 @@ simple_error() { # Basic error trap.... JUST DIE
|
||||||
}
|
}
|
||||||
|
|
||||||
see_ya() {
|
see_ya() {
|
||||||
echo -e "\n\t${BOLD}Goodbye and thank you for choosing ${L_arrow}jhalfs-X${R_arrow}\n"
|
echo -e "\n\t${BOLD}Goodbye and thank you for choosing ${L_arrow}jhalfs${R_arrow}\n"
|
||||||
}
|
}
|
||||||
##### Simple error TRAPS
|
##### Simple error TRAPS
|
||||||
# ctrl-c SIGINT
|
# ctrl-c SIGINT
|
||||||
|
|
Reference in a new issue