Creating rpm package

13 views
Skip to first unread message

Pablo DePaulis

unread,
May 26, 2016, 2:00:54 PM5/26/16
to kedr-discuss
Hello,
 I was wondering if it's possible to build KEDR on a x86 devel machine, create an rpm so it can be installed on a separate x86 production Linux server which has identical kernel but has no development tools. The idea is to run the KEDR on the production server which is the one exhibiting a potential kernel memory leak.

btw, this is for KEDR version 0.6-devel

Thx!

Eugene Shatokhin

unread,
May 27, 2016, 4:29:00 AM5/27/16
to kedr-d...@googlegroups.com
Hi,

If the kernels are the same, it should be possible, although I haven't
tried that for a long time.

You can try something like this:

In %build:
cmake -DCMAKE_INSTALL_PREFIX=/usr ../kedr/sources/
make

In %install:
make DESTDIR=%{buildroot} install

See if it works for you.

An obvious caveat is that this package will contain the built kernel
modules so it has to be rebuilt for each kernel you would like to
support.

If there are problems, please let me know.

Regards,
Evgenii
> --
> You received this message because you are subscribed to the Google Groups
> "kedr-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kedr-discuss...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages