On Thu, Jun 15, 2017 at 11:11 AM, Michal Marek <mmarek(a)suse.com> wrote:
On 2017-06-15 09:38, Robert Munteanu wrote:
I am trying to develop a new HID module. This module requires a change
to drivers/hid/hid-core.c, which is built-in to the kernel, so I can't
get away with just loading my module.
I have tried building a new kernel using osc
- osc co openSUSE:Factory kernel-default
- ( applied patches )
- osc build
After building the installation fails since I don't have a matching
$ robert@rombert:/var/tmp/build-root> sudo rpm -Fvh
error: Failed dependencies:
kernel-devel = 4.11.4-2 is needed by kernel-default-devel-4.11.4-2.x86_64
There is no openSUSE:Factory/kernel-devel, so I am apparently stuck.
You need to build both kernel-default.spec (which you did) and
kernel-source.spec (which will produce a kernel-devel sub-package). Just
copy the rpms from the first build somewhere and run
osc build kernel-source.spec
in the same package directory.
Will do, thank you.
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner(a)opensuse.org