From: Mark Hatle <mark.hatle@windriver.com>
To: <yocto@yoctoproject.org>
Subject: Re: SRPMs
Date: Tue, 7 May 2013 13:34:23 -0500 [thread overview]
Message-ID: <5189492F.3030409@windriver.com> (raw)
In-Reply-To: <1B9AA52722844A4995CFFE20C2BC6B596B79C73C@ORSMSX107.amr.corp.intel.com>
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
>
prev parent reply other threads:[~2013-05-07 18:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 18:28 SRPMs Post, Travis
2013-05-07 18:34 ` Mark Hatle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5189492F.3030409@windriver.com \
--to=mark.hatle@windriver.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.