Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Mark Hatle <mark.hatle@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] package_rpm: Add %manifest support for spec generation.
Date: Fri, 29 Aug 2014 22:51:16 +0100	[thread overview]
Message-ID: <1409349076.29296.200.camel@ted> (raw)
In-Reply-To: <5400C89C.6070901@windriver.com>

On Fri, 2014-08-29 at 13:38 -0500, Mark Hatle wrote:
> On 8/29/14, 12:39 PM, Richard Purdie wrote:
> > From: Ronan Le Martret <ronan@fridu.net>
> >
> > The manifest file allow custom smack security for a package.
> >      https://wiki.tizen.org/wiki/Security/Application_installation_and_Manifest
> 
> I'm concerned with this simply because we're adding a very specific (non-oe) 
> mechanism into the mix.
> 
> I'd prefer if there was simple a "perform this generic action, which can add to 
> the .spec file"
> 
> The during the packaging (before writing the .spec) we can call the action and 
> it can insert the %manifest if appropriate.
> 
> That can then be distribution defined and work with any arbitrary mechanisms.

The rough plan forming in my (and other people's) minds is that we need
a proper python "spec" construction class.

If we had such a thing, customisations like this would be much easier,
we could also likely more easily reconcile some of the archiver srpm
pieces too.

Right now we don't have that, there are people needing to fork the whole
of package_rpm to add the few tweaks I've posted. I'm therefore minded
to make things easier. If/as or more like when we implement the class,
this kind of issue should go away.

Cheers,

Richard





  reply	other threads:[~2014-08-29 21:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-29 17:39 [PATCH] package_rpm: Add %manifest support for spec generation Richard Purdie
2014-08-29 18:38 ` Mark Hatle
2014-08-29 21:51   ` Richard Purdie [this message]
2014-08-29 22:07     ` Mark Hatle

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=1409349076.29296.200.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox