git://git.onelab.eu
/
bootcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
834b639
)
Readd the -a option to build all supported images.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Mon, 26 Nov 2007 05:53:42 +0000
(
05:53
+0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Mon, 26 Nov 2007 05:53:42 +0000
(
05:53
+0000)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
c986d81
..
5a22709
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-30,6
+30,7
@@
usage()
echo " -c name (Deprecated) Static configuration to use (default: $CONFIGURATION)"
echo " -f planet.cnf Node to customize CD for (default: none)"
echo " -t 'types' Build the specified images (default: $TYPES)"
echo " -c name (Deprecated) Static configuration to use (default: $CONFIGURATION)"
echo " -f planet.cnf Node to customize CD for (default: none)"
echo " -t 'types' Build the specified images (default: $TYPES)"
+ echo " -a Build all supported images"
echo " -C custom-dir Custom directory"
echo " -O output-base The basename of the generated files (default: PLC_NAME-BootCD-VERSION)"
echo " -h This message"
echo " -C custom-dir Custom directory"
echo " -O output-base The basename of the generated files (default: PLC_NAME-BootCD-VERSION)"
echo " -h This message"
@@
-37,7
+38,7
@@
usage()
}
# Get options
}
# Get options
-while getopts "O:c:f:t:C:h" opt ; do
+while getopts "O:c:f:t:C:
a
h" opt ; do
case $opt in
c)
CONFIGURATION=$OPTARG
case $opt in
c)
CONFIGURATION=$OPTARG
@@
-54,6
+55,9
@@
while getopts "O:c:f:t:C:h" opt ; do
O)
OUTPUT_BASE="$OPTARG"
;;
O)
OUTPUT_BASE="$OPTARG"
;;
+ a)
+ TYPES="usb iso usb_serial iso_serial usb_cramfs iso_cramfs usb_cramfs_serial iso_cramfs_serial"
+ ;;
h|*)
usage
;;
h|*)
usage
;;