Talk:mkinitcpio

From ArchWiki
Revision as of 00:41, 27 July 2013 by Indigo (Talk | contribs) (systemd hook ?)

Jump to: navigation, search

keymap v. consolefont

Using the consolefont hook seems to work as advertised in /lib/initcpio/hooks/consolefont and mkinitcpio -H consolefont i.e. I get my font in the early stages of the boot process, while using keymap only sets the font a bit later and mangles Polish accented characters if I'm using DAEMON_LOCALE="yes". I think we need to add consolefont to the HOOKS list and fix keymap hook description. -- Karol 11:10, 21 January 2012 (EST)

systemd hook ?

Can someone point me to the "systemd" hook added by this revision?: https://wiki.archlinux.org/index.php?title=Mkinitcpio&oldid=267771 It's not listed by mkinitcpio -L and I don't see it in testing (0.15) too. What is meant by it? Thanks --Indigo (talk) 18:50, 25 July 2013 (UTC) Ah, found this thread: https://bbs.archlinux.org/viewtopic.php?id=167153&p=2]this[/url] So I guess the wiki is just flying ahead of [core].

True! However mkinitcpio-p works, and it does not error free. why? Veleno (talk) 19:45, 25 July 2013 (UTC)
mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.10.2-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [fsck]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [filesystems]
  -> Running build hook: [shutdown]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
Why would you expect this to fail? The systemd hook is included with... systemd. Falconindy (talk) 14:32, 26 July 2013 (UTC)
mmm... because mkinitcpio -L don't show systemd hook, then it is assumed there is no.Veleno (talk) 15:01, 26 July 2013 (UTC)
And it may fail because [core] does not have it yet in systemd (204). Only testing (206) has it as of today. --Indigo (talk) 17:03, 26 July 2013 (UTC)
I have the systemd version 204-3. My example is refer to this package.Veleno (talk) 18:31, 26 July 2013 (UTC)
Now this confuses me, are we not talking about "/usr/lib/initcpio/install/systemd" which is not in the filelist of 204-3 but in 206?
$ pacman -Qil systemd 
grep initcpio/install/
systemd /usr/lib/initcpio/install/
systemd /usr/lib/initcpio/install/timestamp
systemd /usr/lib/initcpio/install/udev
I am at a loss. --Indigo (talk) 00:41, 27 July 2013 (UTC)