fix up pkg files for the zfs suite of packages in the AUR

  • Download Gist

Patch fixes up some minor issues including references to sbin in post install scripts, compatibility for custom kernels in post install scripts, properly quoted $pkgdir and $srcdir, and a more simplistic version control of package name.

The patch expects the following dirtree:

Where the above contain all files from the AUR for each respective package.
Use cower for example to get them easily:

$ for i in spl spl-utils zfs zfs-utils; do cower -d $i; done

Copy this patch to the same dir you executed the above and patch like this:

$ patch -Np1 -i fixup_zfs_and_related_packages.patch

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.