Difference between revisions of "Talk:Mkinitcpio"

From ArchWiki
Jump to: navigation, search
(systemd hook ?: closing 2)
m (systemd hook ?: rm closed discussion)
Line 2: Line 2:
 
== keymap v. consolefont ==
 
== keymap v. consolefont ==
 
Using the consolefont hook seems to work as advertised in /lib/initcpio/hooks/consolefont and {{ic|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 {{ic|1=DAEMON_LOCALE="yes"}}. I think we need to add consolefont to the HOOKS list and fix keymap hook description. -- [[User:Karol|Karol]] 11:10, 21 January 2012 (EST)
 
Using the consolefont hook seems to work as advertised in /lib/initcpio/hooks/consolefont and {{ic|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 {{ic|1=DAEMON_LOCALE="yes"}}. I think we need to add consolefont to the HOOKS list and fix keymap hook description. -- [[User:Karol|Karol]] 11:10, 21 January 2012 (EST)
 
== <s>systemd hook ? </s>==
 
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 --[[User:Indigo|Indigo]] ([[User talk: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? [[User:Veleno77|Veleno]] ([[User talk:Veleno77|talk]]) 19:45, 25 July 2013 (UTC)
 
{{hc|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. [[User:Falconindy|Falconindy]] ([[User talk:Falconindy|talk]]) 14:32, 26 July 2013 (UTC)
 
 
:::mmm... because {{ic|mkinitcpio -L}} don't show systemd hook, then it is assumed there is no.[[User:Veleno77|Veleno]] ([[User talk:Veleno77|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. --[[User:Indigo|Indigo]] ([[User talk:Indigo|talk]]) 17:03, 26 July 2013 (UTC)
 
 
:::::I have the systemd version 204-3. My example is refer to this package.[[User:Veleno77|Veleno]] ([[User talk:Veleno77|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? 
 
{{hc|$ 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. --[[User:Indigo|Indigo]] ([[User talk:Indigo|talk]]) 00:41, 27 July 2013 (UTC)
 
::::::If mkinitcpio doesn't complain about the systemd hook not existing, then it exists. Rather than blindly stabbing at pacman's DB, why don't you go see what exists in /usr/lib/initcpio/install/systemd ? Hooks which don't exist '''will''' error out. [[User:Falconindy|Falconindy]] ([[User talk:Falconindy|talk]]) 14:31, 27 July 2013 (UTC)
 
:::::::While I did not write it earlier, I indeed looked there too - it does not exist and, of course, fails. That was why I created this discussion in the first place.
 
:::::::Besides, why blind stabbing? I followed up your earlier comment that it is included with systemd - and saw it is, yes, in 206. Question rather is how else is it shipped before 206-1 so that Veleno77 appears to have it, but not the machine here with 204-3? i686 to 64 diff? No. Other ideas? --[[User:Indigo|Indigo]] ([[User talk:Indigo|talk]]) 15:32, 27 July 2013 (UTC)
 
:::::::Now that systemd 207-3 hit core (thanks!), the initial question is obsoleted. Closing. --[[User:Indigo|Indigo]] ([[User talk:Indigo|talk]]) 21:33, 18 September 2013 (UTC)
 

Revision as of 20:59, 5 October 2013

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)