All of lore.kernel.org
 help / color / mirror / Atom feed
* .rpm not being generated (or empty)
@ 2015-03-18 19:47 Daniel.
  2015-03-18 19:55 ` Erik Bolton
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel. @ 2015-03-18 19:47 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

Hi all,

I write a recipe to build an JNI layer for my C library, the JNI library
gets compiled right, but no .rpm is generated besides -dev and -dbg. I
suspect that the rpm is getting empty.

Here is the recipe: http://pastebin.com/vqtaM1Fv

Looking on package directory I got the compiled .so's
[root@arch 1.0-r0]# find package
package
package/usr
package/usr/lib
package/usr/lib/libDigitalInputJni.so
package/usr/lib/libDigitalOutputJni.so
package/usr/lib/.debug
package/usr/lib/.debug/libDigitalOutputJni.so
package/usr/lib/.debug/libDigitalInputJni.so

But on packages-split I got nothing:

[root@arch 1.0-r0]# ls packages-split/libdigitalio-jni
total 0


Any idea what I'm missing?


Regards,
Hilst

-- 
*"Do or do not. There is no try"*
  *Yoda Master*

[-- Attachment #2: Type: text/html, Size: 1217 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: .rpm not being generated (or empty)
  2015-03-18 19:47 .rpm not being generated (or empty) Daniel.
@ 2015-03-18 19:55 ` Erik Bolton
  0 siblings, 0 replies; 2+ messages in thread
From: Erik Bolton @ 2015-03-18 19:55 UTC (permalink / raw)
  To: Daniel., yocto

[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]

Hilst:

You can specify what files get installed to what packages with FILES_${PN}-<package_name>

In your case, something like:

FILES_${PN} = "${libdir}/libDigital*"

FILES_${PN}-dbg = “"${libdir}/.debug/*"

would probably work fine.

I’d also recommend using “oe_runmake” instead of “make” in your build function.

-Erik

From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Daniel.
Sent: Wednesday, March 18, 2015 12:48 PM
To: yocto@yoctoproject.org
Subject: [yocto] .rpm not being generated (or empty)

Hi all,
I write a recipe to build an JNI layer for my C library, the JNI library gets compiled right, but no .rpm is generated besides -dev and -dbg. I suspect that the rpm is getting empty.
Here is the recipe: http://pastebin.com/vqtaM1Fv
Looking on package directory I got the compiled .so's
[root@arch 1.0-r0]# find package
package
package/usr
package/usr/lib
package/usr/lib/libDigitalInputJni.so
package/usr/lib/libDigitalOutputJni.so
package/usr/lib/.debug
package/usr/lib/.debug/libDigitalOutputJni.so
package/usr/lib/.debug/libDigitalInputJni.so
But on packages-split I got nothing:
[root@arch 1.0-r0]# ls packages-split/libdigitalio-jni
total 0

Any idea what I'm missing?

Regards,
Hilst

--
"Do or do not. There is no try"
  Yoda Master
Disclaimer: This message contains information that may be privileged or confidential and is the property of AgJunction Inc and its subsidiaries. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

[-- Attachment #2: Type: text/html, Size: 7063 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-18 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-18 19:47 .rpm not being generated (or empty) Daniel.
2015-03-18 19:55 ` Erik Bolton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.