On 05/03/2012 05:11 PM, Lin Qing wrote:Whether we consider to rewrite it in python language and add it as a functionYaboot is the bootloader of PowerPC (ISOLINUX on AMD64/x86 systems, yaboot on PowerPC), so should change the yaboot.conf firstly,then use mkiso command to create bootable ISO.
into utils module instead of a shell script, in addition, I don't like 'if..else' in shell,
if we will support other bootloader in the future, we must add a new 'else' branch
in ksiso.sh, it hasn't a better expansibility. I'd like to use python 'getattr' as a dispatcher
to deal with this kind of case. if we need to add a new bootloader support, just need
to add a new function/interface, you don't need to change original codes.