22 Jul
2010
22 Jul
'10
6:35 p.m.
There's a few things in mkinitcpio I'd like to cleanup, but I need to have one issue clarified before I proceed. The header of mkinitcpio itself states that various parts need to run under Busybox's ash, and thus various standards need to be adhered to. However, the file itself sports a /bin/bash shebang, and makes mild use of parameter expansion, e.g. APPNAME=${0##*/} on line 44. I understand that hooks themselves need to run in a more POSIX environment, but would it be safe to use more Bash syntax in the code that generates the initcpio image? I would be sticking to a feature set compatible with 3.2. thanks, dave reisner