From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 4/4] sstate: fetch .siginfo files from SSTATE_MIRROR
Date: Tue, 4 Dec 2012 15:29:19 -0800 [thread overview]
Message-ID: <1354663759-20022-11-git-send-email-sgw@linux.intel.com> (raw)
In-Reply-To: <1354663759-20022-1-git-send-email-sgw@linux.intel.com>
This would be useful for doing siginfo compares to understand why a build
is not reusing something when using SSTATE_MIRROR. No error will be reported
if it fails to find the .siginfo file
[YOCTO #2898]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/classes/sstate.bbclass | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 832b39e..6b4b5a1 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -212,10 +212,14 @@ def sstate_installpkg(ss, d):
sstateinst = d.expand("${WORKDIR}/sstate-install-%s/" % ss['name'])
sstatefetch = d.getVar('SSTATE_PKGNAME', True) + '_' + ss['name'] + ".tgz"
+ siginfofetch = d.getVar('SSTATE_PKGNAME', True) + '_' + ss['name'] + ".tgz.siginfo"
sstatepkg = d.getVar('SSTATE_PKG', True) + '_' + ss['name'] + ".tgz"
+ siginfopkg = d.getVar('SSTATE_PKG', True) + '_' + ss['name'] + ".tgz.siginfo"
if not os.path.exists(sstatepkg):
pstaging_fetch(sstatefetch, sstatepkg, d)
+ if not os.path.exists(siginfopkg):
+ pstaging_fetch(siginfofetch, siginfopkg, d)
if not os.path.isfile(sstatepkg):
bb.note("Staging package %s does not exist" % sstatepkg)
--
1.8.0
prev parent reply other threads:[~2012-12-04 23:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-04 23:29 [PATCH 0/3] libnl Update and friends Saul Wold
2012-12-04 23:29 ` [PATCH 1/4] gst-meta-base: pull in X11 plugins when using X11 Saul Wold
2012-12-04 23:31 ` Saul Wold
2012-12-04 23:29 ` [PATCH 1/3] libnl: upgrade to 3.2.14 Saul Wold
2012-12-04 23:29 ` [PATCH 1/2] wpa-supplicant: configured to work with libnl 3.2.14 Saul Wold
2012-12-04 23:29 ` [PATCH 2/4] libnl: upgrade to 3.2.14 Saul Wold
2012-12-04 23:29 ` [PATCH 2/2] libpcap: PR bump because of PU for libnl Saul Wold
2012-12-04 23:29 ` [PATCH 2/3] wpa-supplicant: configured to work with libnl 3.2.14 Saul Wold
2012-12-04 23:29 ` [PATCH 3/3] libpcap: PR bump because of PU for libnl Saul Wold
2012-12-04 23:29 ` [PATCH 3/4] wpa-supplicant: configured to work with libnl 3.2.14 Saul Wold
2012-12-04 23:29 ` [PATCH 4/4] libpcap: PR bump because of PU for libnl Saul Wold
2012-12-04 23:29 ` Saul Wold [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=1354663759-20022-11-git-send-email-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 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.