allow to set custom version
This commit is contained in:
parent
fede8319d9
commit
138f3e0f13
8
ezbuild
8
ezbuild
|
@ -22,6 +22,14 @@ until [[ -z "${1}" ]]; do
|
||||||
-c|--cleanlog)
|
-c|--cleanlog)
|
||||||
EZOPT_CLEANLOG=true
|
EZOPT_CLEANLOG=true
|
||||||
;;
|
;;
|
||||||
|
-D|--tarballdate)
|
||||||
|
shift
|
||||||
|
if [ -z ${1} ]; then
|
||||||
|
die "--tarballdate requires an additional argument!"
|
||||||
|
else
|
||||||
|
TARBALLDATE="${1}"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
-h|--help)
|
-h|--help)
|
||||||
showEzbuildUsage
|
showEzbuildUsage
|
||||||
;;
|
;;
|
||||||
|
|
8
ezsync
8
ezsync
|
@ -22,6 +22,14 @@ until [[ -z "${1}" ]]; do
|
||||||
-c|--cleanlog)
|
-c|--cleanlog)
|
||||||
EZOPT_CLEANLOG=true
|
EZOPT_CLEANLOG=true
|
||||||
;;
|
;;
|
||||||
|
-D|--tarballdate)
|
||||||
|
shift
|
||||||
|
if [ -z ${1} ]; then
|
||||||
|
die "--tarballdate requires an additional argument!"
|
||||||
|
else
|
||||||
|
TARBALLDATE="${1}"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
-h|--help)
|
-h|--help)
|
||||||
showEzsyncUsage
|
showEzsyncUsage
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -398,6 +398,7 @@ function showEzbuildUsage() {
|
||||||
echo -e "building a custom Linux releases and templates.\n"
|
echo -e "building a custom Linux releases and templates.\n"
|
||||||
echo -e "USAGE: ezsync [parameters]"
|
echo -e "USAGE: ezsync [parameters]"
|
||||||
echo -e " -c\t--cleanlog\tclears log file; not working with -p and -P"
|
echo -e " -c\t--cleanlog\tclears log file; not working with -p and -P"
|
||||||
|
echo -e " -D\t--tarballdate\toverrides produced image version/date format"
|
||||||
echo -e " -h\t--help\t\tdisplays this screen and exits immediately"
|
echo -e " -h\t--help\t\tdisplays this screen and exits immediately"
|
||||||
echo -e " -l\t--listmods\tshows the list of available built-in modules"
|
echo -e " -l\t--listmods\tshows the list of available built-in modules"
|
||||||
echo -e " -p\t--purge\t\tclears temporary folder"
|
echo -e " -p\t--purge\t\tclears temporary folder"
|
||||||
|
@ -415,6 +416,7 @@ function showEzsyncUsage() {
|
||||||
echo -e "\treGen2 Linux for synchronizing Portage Tree with mainline.\n"
|
echo -e "\treGen2 Linux for synchronizing Portage Tree with mainline.\n"
|
||||||
echo -e "USAGE: ezsync [parameters]"
|
echo -e "USAGE: ezsync [parameters]"
|
||||||
echo -e " -c\t--cleanlog\tclears log file; not working with -p and -P"
|
echo -e " -c\t--cleanlog\tclears log file; not working with -p and -P"
|
||||||
|
echo -e " -D\t--tarballdate\toverrides produced image version/date format"
|
||||||
echo -e " -h\t--help\t\tdisplays this screen and exits immediately"
|
echo -e " -h\t--help\t\tdisplays this screen and exits immediately"
|
||||||
echo -e " -l\t--listmods\tshows the list of available built-in modules"
|
echo -e " -l\t--listmods\tshows the list of available built-in modules"
|
||||||
echo -e " -n\t--nosync\tspecifies the ebuilds source that will be omitted"
|
echo -e " -n\t--nosync\tspecifies the ebuilds source that will be omitted"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user