From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Zhenhua Luo <zhenhua.luo@freescale.com>
Cc: B40290@freescale.com, openembedded-core@lists.openembedded.org
Subject: Re: [oe-core v2] rpm: split out run-postinsts
Date: Fri, 22 Mar 2013 16:29:49 +0000 [thread overview]
Message-ID: <1363969789.3097.16.camel@ted> (raw)
In-Reply-To: <1363831511-800-1-git-send-email-zhenhua.luo@freescale.com>
On Thu, 2013-03-21 at 10:05 +0800, Zhenhua Luo wrote:
> Split out run-postinsts script into separated package, sometimes only the postinsts script is required to run all postinsts scripts in /etc/rpm-postinsts/ instead of the whole rpm package.
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
> ---
> meta/recipes-devtools/rpm/rpm_5.4.9.bb | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
> index 6286771..cfdc390 100644
> --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
> +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
> @@ -43,7 +43,7 @@ LICENSE = "LGPLv2.1"
> LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
>
> DEPENDS = "libpcre attr acl popt ossp-uuid file bison-native"
> -PR = "r61"
> +PR = "r62"
>
> # rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed
> # in order to extract the distribution SRPM into a format we can extract...
> @@ -199,7 +199,7 @@ CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY -DRPM_VENDOR_OE"
>
> LDFLAGS_append_libc-uclibc = "-lrt -lpthread"
>
> -PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-libs ${PN}-dev ${PN}-staticdev ${PN}-common ${PN}-build python-rpm-dbg python-rpm-staticdev python-rpm-dev python-rpm perl-module-rpm perl-module-rpm-dev ${PN}-locale"
> +PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-libs ${PN}-dev ${PN}-staticdev ${PN}-common ${PN}-build python-rpm-dbg python-rpm-staticdev python-rpm-dev python-rpm perl-module-rpm perl-module-rpm-dev ${PN}-locale ${PN}-postinsts"
>
> SOLIBS = "5.4.so"
>
> @@ -223,9 +223,11 @@ FILES_${PN} = "${bindir}/rpm \
> ${libdir}/rpm/bin/wget \
> /var/lib/rpm \
> /var/cache/rpm \
> - ${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts \
> "
>
> +FILES_${PN}-postinsts = "${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts \
> + "
> +
> FILES_${PN}-dbg += "${libdir}/rpm/.debug \
> ${libdir}/rpm/bin/.debug \
> "
Don't we need to depend on this package somewhere so that it gets
installed?
Cheers,
Richard
next prev parent reply other threads:[~2013-03-22 16:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-21 2:05 [oe-core v2] rpm: split out run-postinsts Zhenhua Luo
2013-03-22 16:29 ` Richard Purdie [this message]
2013-03-22 17:04 ` Mark Hatle
2013-03-25 10:38 ` Luo Zhenhua-B19537
2013-03-25 10:44 ` Richard Purdie
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=1363969789.3097.16.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=B40290@freescale.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=zhenhua.luo@freescale.com \
/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