[arch-projects] [mkinitcpio][PATCH 09/11] init_functions: generalize resolve_device