Package Details: zfs-linux 2.2.6_6.10.10.arch1.1-1

Git Clone URL: https://aur.archlinux.org/zfs-linux.git (read-only, click to copy)
Package Base: zfs-linux
Description: Kernel modules for the Zettabyte File System.
Upstream URL: https://openzfs.org/
Keywords: kernel linux zfs
Licenses: CDDL
Groups: archzfs-linux
Conflicts: spl-dkms, spl-dkms-git, spl-linux, zfs-dkms, zfs-dkms-git, zfs-dkms-rc, zfs-linux-git, zfs-linux-rc
Provides: spl, zfs
Replaces: spl-linux
Submitter: demizer
Maintainer: lightdot
Last Packager: lightdot
Votes: 271
Popularity: 1.18
First Submitted: 2016-04-21 08:45 (UTC)
Last Updated: 2024-10-23 12:35 (UTC)

Required by (19)

Sources (1)

Latest Comments

« First ‹ Previous 1 .. 72 73 74 75 76 77 78 79 Next › Last »

chenxiaolong commented on 2011-12-15 01:29 (UTC)

@surya1: You're welcome! This will be one of the first packages to integrate with the Arch Linux package management system upstream :)

<deleted-account> commented on 2011-12-15 00:52 (UTC)

@chenxiaolong: Awesome! I just spoke with Brian, and the patches should land on master today. Feel free to open tickets on the projects' GitHub issue tracker about any problems or improvements. Thanks for trying them out!

chenxiaolong commented on 2011-12-13 05:17 (UTC)

@surya1: The packages work great! :)

chenxiaolong commented on 2011-12-09 22:18 (UTC)

@surya1: Actually, if you use DKMS, you won't have any of these problems, since DKMS compiles the kernel module after booting an updated kernel or a different kernel. I currently have a package that's using a very simple DKMS configuration. Maybe it can help you: https://aur.archlinux.org/packages.php?ID=54641

chenxiaolong commented on 2011-12-09 22:14 (UTC)

@surya: No problem :) About the build dependencies. Unfortunately, there's no easy way to do this. Since Arch allows multiple kernels to be installed, a pseudopackage cannot be used, since 2 packages can't both provide 'linux-headers-pseudo,' for example. The correct way would be to have a dependency on a 'linux-headers,' but then we have the problem of spl and zfs not compiling, since they require a kernel built with 'CONFIG_PREEMPT=y.' As far as I know, that option is disabled in Arch's default kernel. RPM and Debian package management systems support conditional dependencies, so the following would be valid: Dependencies: ... "linux-headers || kernel26-headers || kernel26-lts-headers" ... Unfortunately, this isn't something that pacman/makepkg supports, yet :( The best thing I can come up with is to find the package name of the current kernel and append '-headers' to it. For example: pkgname=zfs pkgver=REPLACE_ME pkgrel=1 desc='...' arch=('i686' 'x86_64' ... _kernel_pkgname="$(pacman -Qo /usr/src/linux-`uname -r`/vmlinux`)-headers" makedepends=(... "${_kernel_pkgname}" ...) That should work, assuming that the user doesn't constantly switch kernels.

<deleted-account> commented on 2011-12-09 21:13 (UTC)

@chenxaiolong: Thanks! Currently, the only concern I have with the PKGBUILD's I am proposing are the depends and makedepends arrays. I know those are incorrect at the moment, although I'm not sure what the correct values should be. e.g. to build the spl, kernel headers need to be installed, does that mean makedepends needs 'linux-headers', 'kernel26-headers', or 'kernel26-lts-headers'? Is there a psuedo package I can use which will do the right thing based on the kernel version installed? Also, I have created an SPL issue on it's github page: https://github.com/zfsonlinux/spl/issues/68 It would be great if you could post your results there, and we can use that as a forum to continue this discussion and get a proper solution for Arch pushed upstream. Thanks for trying it out! :)

chenxiaolong commented on 2011-12-09 18:18 (UTC)

@surya1: That's awesome! It's nice to see some Arch packaging in the upstream source code. I'll compile a preemptive kernel and test out your changes later on today :)

<deleted-account> commented on 2011-12-09 17:53 (UTC)

Hi, I'm working on getting a set of patches upstream to the spl and zfs projects which would allow one to 'make arch' to build Arch Linux packages. This would allow an Arch Linux VM to be easily integrated into the ZFS Build Bot automated testing infrastructure just as is done for many other distributions. I wanted to run these patches by the community in hopes that you all could give me some feedback, here's a link to the spl and zfs branches with the PKGBUILD patches: SPL: https://github.com/Prakash-Surya/spl/tree/pkgbuild ZFS: https://github.com/Prakash-Surya/zfs/tree/pkgbuild Thanks!

fsk141 commented on 2011-11-02 23:21 (UTC)

FYI: Must make a couple changed to kernel before this will work: checking whether Linux was built with CONFIG_PREEMPT... yes http://zfsonlinux.org/faq.html#WhyDoesntItBuild << need to do these things.

chenxiaolong commented on 2011-10-18 18:23 (UTC)

Please change the configure line to contain "--libexecdir=/usr/lib/zfs". The /usr/libexec directory is only used by Red Hat/Fedora and its derivatives. Here's the modified PKGBUILD: http://pastie.org/2719209