linux-apfs / linux-apfs-rw

APFS module for linux, with experimental write support
GNU General Public License v2.0
510 stars 34 forks source link

fix: unable to install with dkms #30

Closed zeroday0619 closed 1 year ago

zeroday0619 commented 2 years ago

MAKE[0]="make KERNELDIR=/lib/modules/${kernelver}/build" CLEAN="make clean"

eafer commented 1 year ago

Hi, thanks for the patch. Can you elaborate a little on what the problem is here?

I don't use dkms myself, this config file was originally provided by the Arch packager. But I think the arch and debian packages do use it and nobody mentioned any build failures. It's also not clear to me what your patch is intended to do: there is no KERNELDIR var to be set in my makefile and, according to the man page, CLEAN="make clean" is supposed to be the default.

zeroday0619 commented 1 year ago

@eafer image

eafer commented 1 year ago

I just tried the dkms build on 5.19.0 and it seems to work. Can you share the content of the make.log you got after the first attempt? Maybe the kernel api has changed again.

eafer commented 1 year ago

It's been a few months so I'm closing this for now. Feel free to reopen if you are still having problems.