Clarfication request regarding mkinitcpio code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux