From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 6/8] package_rpm.bbclass: create method for createrepo cmd
Date: Sat, 21 May 2011 11:38:02 -0700 [thread overview]
Message-ID: <175d8385703254b94b012ce90240cd3db60bc178.1306002889.git.sgw@linux.intel.com> (raw)
In-Reply-To: <cover.1306002889.git.sgw@linux.intel.com>
In-Reply-To: <cover.1306002889.git.sgw@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/classes/package_rpm.bbclass | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 1d8c686..666eb54 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -15,6 +15,10 @@ python package_rpm_install () {
bb.fatal("package_rpm_install not implemented!")
}
+package_createrepo () {
+ createrepo ${DEPLOY_DIR_RPM}
+}
+
RPMCONF_TARGET_BASE = "${DEPLOY_DIR_RPM}/solvedb"
RPMCONF_HOST_BASE = "${DEPLOY_DIR_RPM}/solvedb-sdk"
#
@@ -816,6 +820,6 @@ python do_package_write_rpm () {
do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}"
addtask package_write_rpm before do_package_write after do_package
-PACKAGEINDEXES += "package_update_index_rpm; createrepo ${DEPLOY_DIR_RPM};"
+PACKAGEINDEXES += "package_update_index_rpm; package_createrepo"
PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot"
PACKAGEINDEXDEPS += "createrepo-native:do_populate_sysroot"
--
1.7.3.4
next prev parent reply other threads:[~2011-05-21 18:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
2011-05-21 18:37 ` [PATCH 1/8] gail: Add LIC_FILES_CHKSUM Saul Wold
2011-05-21 18:37 ` [PATCH 2/8] update-alternatives-dpkg: Update to dpkg base 1.15.8.7 Saul Wold
2011-05-21 18:37 ` [PATCH 3/8] puzzles: update to r9173 Saul Wold
2011-05-23 12:03 ` Phil Blundell
2011-05-23 14:32 ` Richard Purdie
2011-05-21 18:38 ` [PATCH 4/8] tcmode-default: set *GCCVERSION to 4.6 for all Arches Saul Wold
2011-05-21 18:38 ` [PATCH 5/8] tcmode-default: Update Eglibc to 2.13 Saul Wold
2011-05-21 18:38 ` Saul Wold [this message]
2011-05-21 18:38 ` [PATCH 7/8] opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS Saul Wold
2011-05-21 23:06 ` Khem Raj
2011-05-21 18:38 ` [PATCH 8/8] distcc_2.18.3.bb: Fix compilation on uclibc Saul Wold
2011-05-21 23:06 ` Khem Raj
2011-05-22 3:17 ` Saul Wold
2011-05-22 3:51 ` [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
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=175d8385703254b94b012ce90240cd3db60bc178.1306002889.git.sgw@linux.intel.com \
--to=sgw@linux.intel.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