Mr.Elendig wrote:Maybe he haven't updated it for the latest release of mkinitcpio
This. The 'err' function no longer exists.
Yes, I have updated to the latest release of mkinitcpio in [core]. It's 0.7.2-1. And the function 'err' is still in /lib/initcpio/init_functions which is part of mkinitcpio 0.7.2-1 and used by the file /lib/initcpio/init, the hook 'net' which is also included in mkinitcpio 0.7.2-1 and by the hook 'encrypt' which is part of cryptsetup 1.3.1-2.
Just run:
grep -Rw err /lib/initcpio
And I didn't get the 'command not found' error. Nevertheless I have replaced the 'err' calls by 'error' calls in the fbsplash hook.
Btw., is there a documentation about the mkinitcpio API?
]]>Maybe he haven't updated it for the latest release of mkinitcpio
This. The 'err' function no longer exists.
]]>now you see from where the bug comes.
]]> -> Parsing hook: [fbsplash]
/lib/initcpio/install/fbsplash: line 90: err: command not found
Line 90 reads
err "Theme invalid or not found: '$theme'"
The maintainer of fbsplash reported that 'err' is a function in /lib/initcpio/init_functions which is part of the package mkinitcpio.
However looking through the other scripts in /lib/initcpio/install/ this is the only one which uses this command and thus the only one producing the error.
Is it not valid?