| Summary: | Review Request: nvidia-modprobe - Load the NVIDIA kernel module and create NVIDIA character device files | ||
|---|---|---|---|
| Product: | Package Reviews | Reporter: | Nicolas Chauvet <kwizart> |
| Component: | Review Request | Assignee: | Simone Caronni <negativo17> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | hobbes1069, leigh123linux, negativo17, rpmfusion-package-review |
| Priority: | P1 | Flags: | negativo17:
fedora-review+
|
| Version: | Current | ||
| Hardware: | x86_64 | ||
| OS: | GNU/Linux | ||
| namespace: | |||
|
Description
Nicolas Chauvet
2017-05-17 16:05:18 CEST
Bah, fedora-review is broken... I guess I'll have to do this the hard way. Passing DEBUG does not strip the binaries, so the following changes should actually give the same results with slightly shorter commands. NV_VERBOSE during install should not be needed; I don't see any difference; it's just installing 2 directories and 2 files.
%prep
%setup -q
# Remove additional CFLAGS added when enabling DEBUG
sed -i '/+= -O0 -g/d' utils.mk
%build
export CFLAGS="%{optflags}"
export LDFLAGS="%{?__global_ldflags}"
%make_build NV_VERBOSE=1 PREFIX=%{_prefix} DEBUG=1
%install
%make_install PREFIX=%{_prefix}
(In reply to Simone Caronni from comment #2) > Passing DEBUG does not strip the binaries, so the following changes should > actually give the same results with slightly shorter commands. NV_VERBOSE Yep, but at the cost of using a dynamic patch (sed), which at the end, make it worth (gendiff will fails to create a ). Creating a static patch based on this will unlikely be accepted upstream , then will need to be rebase on each releases. So, thx for sharing your way, but that was indeed on purpose. Of course one can still fix it better upstream. But that fine enough for me. Any other issue with this review ? (In reply to Nicolas Chauvet from comment #3) > Any other issue with this review ? I see no issues. (In reply to Richard from comment #1) > Bah, fedora-review is broken... I guess I'll have to do this the hard way. Richard, will you do it or I can do it? If you've got time go for it. Thanks! Sorry for the late reply, I've been extremely busy. I see no issues with the package, rpmlint, licenses, fedora-review, etc. Package approved. Thx for the review I've imported nvidia-modprobe. We will make use of it with 384+ |