RemixVSL / iomemory-vsl4

Updated Fusion-io iomemory VSL4 Linux (version 4.3.7) driver for recent kernels.
55 stars 9 forks source link

Fix several make options and no gpl flag #21

Closed snuf closed 4 years ago

snuf commented 4 years ago

fixes several packaging and make issues found. Not clearing out the license.c file is a good idea for srouce rpm, and source deb package building. The generation of the license file happens from the dirver root on dkms and on module build. The no GPL flag is just a nuisance, and the driver doesn't work without it, might as well make it the default.

Tourman36 commented 4 years ago

Compilation fails in a virgin system due to license.c again

`# /usr/share/doc/iomemory-vsl4-5.3.18-3-pve dh_install --sourcedir=root -X/usr/share/doc/iomemory-vsl4 dh_install: Cannot find (any matches for) "usr/src/iomemory-vsl4-4.3.7/license.c" (tried in root, debian/tmp)

dh_install: iomemory-vsl4-source missing files: usr/src/iomemory-vsl4-4.3.7/license.c dh_install: missing files, aborting make[1]: [debian/rules:140: install-arch] Error 25 make[1]: Leaving directory '/home/iomemory-vsl4' dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 make: [Makefile:11: dpkg] Error 2 root@pve1:/home/iomemory-vsl4# `

Tourman36 commented 4 years ago

Tested 'make dkms' again in previous system and new virgin system. Works fine out of the box now.