All of lore.kernel.org
 help / color / mirror / Atom feed
* SRPMs
@ 2013-05-07 18:28 Post, Travis
  2013-05-07 18:34 ` SRPMs Mark Hatle
  0 siblings, 1 reply; 2+ messages in thread
From: Post, Travis @ 2013-05-07 18:28 UTC (permalink / raw)
  To: yocto@yoctoproject.org

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

Is it possible to create source RPMs from Yocto? If so, is there any documentation or guidance on how to do this? I’ve found a bug that was closed mentioning:
INHERIT += "archive-patched-source"
SOURCE_ARCHIVE_PACKAGE_TYPE = "SRPM"

However, this results in an error referencing get_package. When I add: “inherit archiver”, this changes to an error referencing undefined variable ‘f’.

Thanks,


Travis

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

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

* Re: SRPMs
  2013-05-07 18:28 SRPMs Post, Travis
@ 2013-05-07 18:34 ` Mark Hatle
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2013-05-07 18:34 UTC (permalink / raw)
  To: yocto

On 5/7/13 1:28 PM, Post, Travis wrote:
> Is it possible to create source RPMs from Yocto? If so, is there any
> documentation or guidance on how to do this? I’ve found a bug that was closed
> mentioning:
>
> INHERIT += "archive-patched-source"
>
> SOURCE_ARCHIVE_PACKAGE_TYPE = "SRPM"
>
> However, this results in an error referencing get_package. When I add: “inherit
> archiver”, this changes to an error referencing undefined variable ‘f’.

At one point we had the system so it would generate an SRPM.  But you have to 
remember the SRPM is just a container, this isn't going to build something you 
can bring to your favorite RPM based distribution and build.

The code would take the configure/compile/install steps and dump them into the 
spec, along with references to the source and patches.  This way everything was 
in one convenient place, but again -- it's not going to work standalone.

To build software for the YP, you really need to use the build environment -- or 
an SDK.

--Mark

> Thanks,
>
>
> Travis
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



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

end of thread, other threads:[~2013-05-07 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-07 18:28 SRPMs Post, Travis
2013-05-07 18:34 ` SRPMs Mark Hatle

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.