version 1.294.2.3, 2014/11/14 14:58:27 |
version 1.295, 2014/08/15 18:34:19 |
Line 1034 Usage: ${progname} [-EhnorUuxy] [-a arch |
|
Line 1034 Usage: ${progname} [-EhnorUuxy] [-a arch |
|
sourcesets Create source sets in RELEASEDIR/source/sets. |
sourcesets Create source sets in RELEASEDIR/source/sets. |
syspkgs Create syspkgs in |
syspkgs Create syspkgs in |
RELEASEDIR/RELEASEMACHINEDIR/binary/syspkgs. |
RELEASEDIR/RELEASEMACHINEDIR/binary/syspkgs. |
iso-image Create CD-ROM image in RELEASEDIR/images. |
iso-image Create CD-ROM image in RELEASEDIR/iso. |
iso-image-source Create CD-ROM image with source in RELEASEDIR/images. |
iso-image-source Create CD-ROM image with source in RELEASEDIR/iso. |
live-image Create bootable live image in |
live-image Create bootable live image in |
RELEASEDIR/RELEASEMACHINEDIR/installation/liveimage. |
RELEASEDIR/RELEASEMACHINEDIR/installation/liveimage. |
install-image Create bootable installation image in |
install-image Create bootable installation image in |
|
|
exit $? |
exit $? |
;; |
;; |
|
|
|
makewrapper|cleandir|obj|tools|build|distribution|release|sets|sourcesets|syspkgs|params) |
|
;; |
|
|
|
iso-image) |
|
op=iso_image # used as part of a variable name |
|
;; |
|
|
|
iso-image-source) |
|
op=iso_image_source # used as part of a variable name |
|
;; |
|
|
|
live-image) |
|
op=live_image # used as part of a variable name |
|
;; |
|
|
|
install-image) |
|
op=install_image # used as part of a variable name |
|
;; |
|
|
kernel=*|releasekernel=*|kernel.gdb=*) |
kernel=*|releasekernel=*|kernel.gdb=*) |
arg=${op#*=} |
arg=${op#*=} |
op=${op%%=*} |
op=${op%%=*} |
|
|
|
|
;; |
;; |
|
|
|
modules) |
|
op=modules |
|
;; |
|
|
install=*|installmodules=*) |
install=*|installmodules=*) |
arg=${op#*=} |
arg=${op#*=} |
op=${op%%=*} |
op=${op%%=*} |
|
|
bomb "Must supply a directory with \`install=...'" |
bomb "Must supply a directory with \`install=...'" |
;; |
;; |
|
|
build|\ |
rump|rumptest) |
cleandir|\ |
op=${op} |
distribution|\ |
|
install-image|\ |
|
iso-image-source|\ |
|
iso-image|\ |
|
live-image|\ |
|
makewrapper|\ |
|
modules|\ |
|
obj|\ |
|
params|\ |
|
release|\ |
|
rump|\ |
|
rumptest|\ |
|
sets|\ |
|
sourcesets|\ |
|
syspkgs|\ |
|
tools) |
|
;; |
;; |
|
|
*) |
*) |
|
|
;; |
;; |
|
|
esac |
esac |
# ${op} may contain chars that are not allowed in variable |
|
# names. Replace them with '_' before setting do_${op}. |
|
op="$( echo "$op" | tr -s '.-' '__')" |
|
eval do_${op}=true |
eval do_${op}=true |
done |
done |
[ -n "${operations}" ] || usage "Missing operation to perform." |
[ -n "${operations}" ] || usage "Missing operation to perform." |