Thread (5 messages) flat view 5 messages, 4 authors, 2012-09-28

Compiling the source RPM file.

From: K Arun Kumar <hidden>
Date: 2012-09-28 07:25:47

On Fri, 2012-09-28 at 12:45 +0530, Rahul Bedarkar wrote:
Can you write command here, how you have applied patches ?
I went into the extracted tarball and tried applying patches one after 
another like this - 
  patch -p1 < ../<patchname>
Packages (.deb, .rpm and others) meant to build and installed automatically.

You can build and install it by following command

$sudo rpm -i <package-name>
I am just interested in fully-patched source I want to compile and 
install it myself without any rpm tools - more clearly - 
I want to - 
(1) extract the source tarball available with the rpm package
(2) patch this source with all the packages available in the rpm package
(3) configure , build and install this source at *custom* location

** I do not want to use any rpm tools for this **
On Fri, Sep 28, 2012 at 11:51 AM, K Arun Kumar [off-list ref] wrote:
quoted
I have a rpm for a module  which I extracted like -
rpm2cpio numactl-2.0.7-3.el6.src.rpm | cpio -idmv

then I extracted the source like -
tar -xzvf numactl-2.0.7-3.tar.gz

then I tried to apply all the patches to available with
this rpm to the extracted source which results in Hunks and
rejections.

I want to apply all patches and compile the source and get
an exe. I am not much aware of the rpm build procedure

I want to do similar thing to kernel source also

Please help me...

Regards,
Arun
Thanks,
Arun
quoted
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help