Browse Source

sde-create-iso: Removed cruft, we got an iso file produced, introduced unhandled boot parsing.

karasz/installer
Nagy Karoly Gabriel 17 years ago
committed by Alejandro Mery
parent
commit
84ae841614
1 changed files with 4 additions and 7 deletions
  1. +4
    -7
      bin/sde-create-iso

+ 4
- 7
bin/sde-create-iso

@ -111,12 +111,11 @@ for cfg in $cfgs ; do
fi
done
# Do stuff
# Main processing
#
wantfiles=
grafts=`mktemp`
#pathes=`mktemp`
wantfiles=$( echo "$dirs" | grep '^DISK1\|^SPLIT' | gawk '{print($2)}' | xargs -I xxx find xxx -true )
wantfiles=$( echo "$dirs" | grep '^DISK1\|^SPLIT' | gawk '{print($2)}' )
for file in $wantfiles; do
mfileline=$( echo "$file" | gawk -F/ '{print $NF}' )
@ -124,7 +123,6 @@ for file in $wantfiles; do
cdline=$( echo "$dirs" | grep "$dirline" | grep -v 'EVERY' | gawk '{print $3}' )
graftline="$cdline$mfileline=$file"
echo $graftline >> $grafts
# echo $dirline >> $pathes
done
out_size=$(echo "$wantfiles" | xargs mkisofs -quiet -print-size -V 0000 -graft-points)
@ -133,7 +131,6 @@ x=$(gawk 'BEGIN {print ('$out_size' > '$size') ? "true" : "false" }')
if $x; then
exit 1
else
set -xv
mkisofs -r -T -J -l -A "OpenSDE - Disk 1" -publisher 'OpenSDE System Develop Environment - http://www.opensde.org' -graft-points -path-list $grafts -o file.iso
set +xv
mkisofs -v -v -r -T -J -l -A "OpenSDE - Disk 1" -publisher 'OpenSDE System Develop Environment - http://www.opensde.org' \
-path-list $grafts $bootoptions -graft-points -o iso/"$name"_"$lsize".iso
fi

Loading…
Cancel
Save