Browse Source

allow to set custom version

master
belliash 7 years ago
parent
commit
138f3e0f13
3 changed files with 18 additions and 0 deletions
  1. 8
    0
      ezbuild
  2. 8
    0
      ezsync
  3. 2
    0
      libraries/common

+ 8
- 0
ezbuild View File

@@ -22,6 +22,14 @@ until [[ -z "${1}" ]]; do
-c|--cleanlog)
EZOPT_CLEANLOG=true
;;
-D|--tarballdate)
shift
if [ -z ${1} ]; then
die "--tarballdate requires an additional argument!"
else
TARBALLDATE="${1}"
fi
;;
-h|--help)
showEzbuildUsage
;;

+ 8
- 0
ezsync View File

@@ -22,6 +22,14 @@ until [[ -z "${1}" ]]; do
-c|--cleanlog)
EZOPT_CLEANLOG=true
;;
-D|--tarballdate)
shift
if [ -z ${1} ]; then
die "--tarballdate requires an additional argument!"
else
TARBALLDATE="${1}"
fi
;;
-h|--help)
showEzsyncUsage
;;

+ 2
- 0
libraries/common View File

@@ -398,6 +398,7 @@ function showEzbuildUsage() {
echo -e "building a custom Linux releases and templates.\n"
echo -e "USAGE: ezsync [parameters]"
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 " -l\t--listmods\tshows the list of available built-in modules"
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 "USAGE: ezsync [parameters]"
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 " -l\t--listmods\tshows the list of available built-in modules"
echo -e " -n\t--nosync\tspecifies the ebuilds source that will be omitted"

Loading…
Cancel
Save