You are not logged in.
Pages: 1
I'm trying to include 'sd-vconsole' among the hooks in initcpio, but mkinitcpio says
Running build hook: [sd-vconsole]
/usr/lib/initcpio/install/sd-vconsole: line 37: add_systemd_unit: command not found
A function 'add_systemd_unit' exists in the 'systemd' hook install script
grep -r add_systemd_unit /usr/lib/initcpio
/usr/lib/initcpio/install/systemd:add_systemd_unit() {
but not in '/usr/lib/initcpio/functions' where I'd imagine it was intended to be found (and this patch suggests it should be).
Is this a bug, or am I simply befuddled? Despite the 'command not found' message I get
systemctl --all | grep vconsole
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
but lsinitcpio shows no sign of 'vconsole' or anything clearly related.
(Of course today's kernel update to 3.15 changed nothing, simply bringing the issue to my attention again.)
Last edited by brix (2014-06-18 23:38:29)
Enough is more.
Offline
Yes, this is a bug in the mkinitcpio package; I think you should report this one https://bugs.archlinux.org/
Offline
This isn't a bug -- you need to include the systemd hook in your initramfs (and before sd-vconsole) if you want to use systemd hooks.
(facepalm) Once explained, it's obvious. Thanks .
Enough is more.
Offline
Please mark the thread as [Solved]
Offline
This isn't a bug -- you need to include the systemd hook in your initramfs (and before sd-vconsole) if you want to use systemd hooks.
It would be nice if the .install would detect that; instead of throwing a 'command not found' error
Offline
Pages: 1