https://bugzilla.redhat.com/show_bug.cgi?id=1284527



--- Comment #7 from Vasant Hegde <hegdevas...@in.ibm.com> ---
Dan,

(In reply to Dan HorĂ¡k from comment #5)
> %define kversion `uname -r`
> won't work in the buildsystem (or even just in mock), the kernel running is
> different from the installed kernel-devel package, I think
> KERNEL_DIR=/usr/src/kernels/*
> will work, but looking for a better solution.

We use kernel provided "opal-prd.h" header file while building opal-prd [1].
Hence we need kernel version in build environment. And we don't need this while
running binary. 

Hence I'm keeping above define as is. Let me know if there is better way to do
it.

[1]
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0d7cd8550d30906c7461ced654306da30f1590e2

-Vasant

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to