From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: "Martin Hundebøll" <martin.hundeboll@prevas.dk>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/3] package.bbclass: run pre/post installation/removal scriptlets using sh -e
Date: Thu, 8 Feb 2018 08:50:58 +0200 [thread overview]
Message-ID: <be0f28ca-fa21-cb5b-8061-246d7086f401@linux.intel.com> (raw)
In-Reply-To: <0dacebb9-8e33-749d-0b96-af527e05fe7d@prevas.dk>
On 02/08/2018 08:37 AM, Martin Hundebøll wrote:
> I guess there is no support for non-shell scriptlets? E.g. RPM supports
> python:
> https://stackoverflow.com/questions/21590014/rpm-post-install-execute-with-python
Nope, there is no support for it. Besides, that would mean the recipe
would no longer work with deb or ipk as package types.
I hardly see an issue though: just write a shell one-liner that invokes
the actual script.
Alex
prev parent reply other threads:[~2018-02-08 6:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-06 14:41 [PATCH 1/3] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
2018-02-06 14:41 ` [PATCH 2/3] meta/lib/oe/package_manager.py: warn about failing scriptlets for all package types Alexander Kanavin
2018-02-06 14:41 ` [PATCH 3/3] oe-selftest: add a test for failing package post-installation scriptlets Alexander Kanavin
[not found] ` <0dacebb9-8e33-749d-0b96-af527e05fe7d@prevas.dk>
2018-02-08 6:50 ` Alexander Kanavin [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=be0f28ca-fa21-cb5b-8061-246d7086f401@linux.intel.com \
--to=alexander.kanavin@linux.intel.com \
--cc=martin.hundeboll@prevas.dk \
--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