Revert last commit

Signed-off-by: Ste74 <stefano@manjaro.org>
This commit is contained in:
Ste74 2018-03-18 19:26:04 +01:00
parent 2612c97ed2
commit 277ec0ca3c
3 changed files with 4 additions and 11 deletions

View file

@ -156,7 +156,6 @@ usage() {
echo " [default: ${gpgkey}]"
echo ' -m Set SquashFS image mode to persistence'
echo ' -c Disable clean work dir'
echo ' -f Build full iso (extra=true)'
echo ' -x Build images only'
echo ' -z Generate iso only'
echo ' Requires pre built images (-x)'
@ -170,7 +169,7 @@ usage() {
orig_argv=("$0" "$@")
opts='p:a:b:r:t:k:i:g:cfzxmvqh'
opts='p:a:b:r:t:k:i:g:czxmvqh'
while getopts "${opts}" arg; do
case "${arg}" in
@ -183,10 +182,9 @@ while getopts "${opts}" arg; do
i) initsys="$OPTARG" ;;
g) gpgkey="$OPTARG" ;;
c) clean_first=false ;;
f) full_iso=true ;;
x) images_only=true ;;
z) iso_only=true ;;
m) persist=true ;;
m) persist=true ;;
v) verbose=true ;;
q) pretend=true ;;
h|?) usage 0 ;;

View file

@ -253,17 +253,14 @@ make_iso() {
gen_iso_fn(){
local vars=() name
vars+=("${iso_name}")
vars+=("${iso_name}")
if ! ${chrootcfg};then
[[ -n ${profile} ]] && vars+=("${profile}")
fi
[[ ${initsys} == 'openrc' ]] && vars+=("${initsys}")
vars+=("${dist_release}")
vars+=("${target_branch}")
! [[ ${full_iso} ]] && vars+=("minimal")
vars+=("${target_arch}")
vars+=("${target_arch}")
for n in ${vars[@]};do
name=${name:-}${name:+-}${n}
done

View file

@ -379,8 +379,6 @@ load_profile_config(){
[[ -z ${smb_workgroup} ]] && smb_workgroup=''
[[ ${full_iso} != none ]] && extra='true'
basic='true'
[[ -z ${extra} ]] && extra='false'