mkinitcpio HOOK not working on upgrade #2

pmontepagano opened this Issue Feb 5, 2013 · 1 comment


None yet
2 participants

I know this is unsupported, but...

I have a home server built on Arch with a ZFS root filesystem. ( / is on ZFS )
I had to run through a few hoops to get it working when I installed it, but it has worked fine ever since.

The time has come to upgrade. Upgrading from linux-3.6.11-1 to linux-3.7.5-1 and from zfs-0.6.0_rc13_3.6.11-1 to zfs-0.6.0_rc14_3.7.5-1 breaks. I had to downgrade the kernel and the four zfs and zpl packages.

The error is in the creation of the initramfs. This is the error I get when running mkinitcpio -p linux:

-> Running build hook: [zfs]
==> ERROR: file not found: 'zpool_layout'
==> ERROR: file not found: '/lib/udev/zpool_id'
==> ERROR: file not found: '/lib/udev/rules.d/60-zpool.rules'
==> ERROR: file not found: '/etc/zfs/zdev.conf'

demizer added a commit that referenced this issue Feb 5, 2013

Fix mkinitcpio install hook
closes issues #2 and #3

In the rc14, some file names changed causing the install hook to produce errors
when trying to locate the missing files.

demizer commented Feb 5, 2013

The issue has been fixed. Thanks for reporting.

@demizer demizer closed this Feb 5, 2013

demizer pushed a commit that referenced this issue Apr 1, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment