You are not logged in.
Pages: 1
Here are my current /etc/mkinitcpio.conf hooks:
HOOKS="base systemd autodetect modconf block filesystems keyboard keymap fsck"
According to the mkinicpio wiki, the systemd hook is meant to replace the 'base', 'usr', 'udev' and 'timestamp' hooks, though it is suggested in the wiki to retain the 'base' hook (before the systemd hook) to ensure that a rescue shell exists on your initramfs.
Then when I 'mkinitcpio -p linux' I get:
ERROR: Hook 'systemd' cannot be found
I searched but couldn't find any info about this specific error on the web, nor got any help on Arch IRC, so I'm trying here now. Hope someone can help.
Offline
You need to be using systemd 206, which is in [testing].
Edit: Whoa! I'm just slightly faster than tomegun and jasonwryan!
Last edited by WonderWoofy (2013-08-01 19:10:28)
Offline
The hook will be shipped with the systemd package. The systemd version in [core] does not yet contain the hook, but the one in [testing] does.
Offline
Are you using [testing]?
# edit. Meh. Bronze...
Offline
No, I'm not using [testing], so I'll revert back to the old hooks I used until the supported version moves to [core]. I hope there's some sort of announcement for it in Arch News when the time comes.
Offline
There is an announcement in the pacman output. It is included in the install script.
The "timestamp" hook for mkinitcpio no longer exists. If you used
this hook, you must remove it from /etc/mkinitcpio.conf. A "systemd"
hook has been added which provides this functionality, and more.
and
==> Help for hook 'systemd':
This will install a basic systemd setup in your initramfs, and is meant to
replace the 'base', 'usr', 'udev' and 'timestamp' hooks. Other hooks would need
to be ported, and may not work as intended. You also may wish to still include
the 'base' hook (before this hook) to ensure that a rescue shell exists on your
initramfs.
Offline
For a less subtle reminder, you could put systemd in IgnorePkg. That way you'll get a warning
# pacman -Syu
...
:: Starting full system upgrade...
warning: systemd: ignoring package upgrade ...
when the new version comes along.
Just make sure you heed the warning...
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
For a less subtle reminder, you could put systemd in IgnorePkg. That way you'll get a warning
# pacman -Syu ... :: Starting full system upgrade... warning: systemd: ignoring package upgrade ...
when the new version comes along.
Just make sure you heed the warning...
Great idea...thanks
Offline
Edit: Whoa! I'm just slightly faster than tomegun and jasonwryan!
Last edited by skottish (2013-08-02 01:55:20)
Offline
Pages: 1