You are not logged in.
I rebuilt fbsplash yesterday and get this error when running 'mkinitcpio -p kernel26'
-> 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?
Last edited by subatomic (2011-07-13 08:51:42)
Offline
Moved from Kernel & Hardware to Pacman & Package Updates.
ᶘ ᵒᴥᵒᶅ
Offline
Maybe he haven't updated it for the latest release of mkinitcpio? There have been quite a lot of changes to it recently. Check if you have the latest mkinitcpio, and if you do, see what helper funcs you have for it. (I would do it myself, but sadly are stuck on a silly locked down windows setup atm)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
pacman -Qo /lib/initcpio/install/fbsplash
now you see from where the bug comes.
Give what you have. To someone, it may be better than you dare to think.
Offline
Maybe he haven't updated it for the latest release of mkinitcpio
This. The 'err' function no longer exists.
Offline
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?
Offline
Offline
Looks like this got sorted out quickly. Thanks everyone and @cyberpatrol for the quick fix!
Offline