# HG changeset patch # User Pascal Bellard # Date 1479482177 -3600 # Node ID 392ce00aa117e53fb9e1026dd110398dfe330998 # Parent 338b35b6174952c25ada9856ddb8bf42af207d9c live.cgi, ISO hybrid: add customize diff -r 338b35b61749 -r 392ce00aa117 live.cgi --- a/live.cgi Fri Oct 21 08:19:50 2016 +0200 +++ b/live.cgi Fri Nov 18 16:16:17 2016 +0100 @@ -37,7 +37,7 @@
  • $(_ 'Create a live USB key')
  • $(_ 'Create a live CD-ROM')
  • -
  • $(_ 'Create a hybrid ISO')
  • +
  • $(_ 'Create a hybrid ISO')
  • $(_ 'Convert ISO to loram')
  • $(_ 'Build a meta ISO')
  • @@ -104,11 +104,16 @@ ;; *\ hybrid\ *) + custom="" + [ -n "$(GET extracmdline)" ] && + custom="$custom -a \\\"$(GET extracmdline)\\\" " + [ -n "$(GET extrainitrd)" ] && + custom="$custom -i \\\"$(GET extrainitrd)\\\" " export output='raw' DISPLAY=':0.0' XAUTHORITY='/var/run/slim.auth' \ $TERMINAL $TERM_OPTS \ -T "$(_ 'Create a hybrid ISO')" \ - -e "iso2exe $(GET input)" & + -e iso2exe $custom$(GET input) -f & ;; esac @@ -368,6 +373,18 @@ $(file_chooser 'input' '' 'cd' 'application/x-cd-image') +
    +$(_ "By the way, you can customize the ISO image to your needs.") + +