Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] self-hosted-image: fix bug 2065
@ 2012-03-18  5:41 Dexuan Cui
  2012-03-18  5:41 ` [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source Dexuan Cui
  0 siblings, 1 reply; 6+ messages in thread
From: Dexuan Cui @ 2012-03-18  5:41 UTC (permalink / raw)
  To: openembedded-core, sgw

The following changes since commit 26a46938d3ea1821e7bec4fa6cc8379babad238b:

  bitbake/fetch2: Fix typo which broke use of tarballs (2012-03-16 23:44:23 +0000)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self

Dexuan Cui (1):
  self-hosted-image: pre-populate the builder user with poky source

 meta/recipes-core/images/self-hosted-image.bb |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

-- 
1.7.6




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source
  2012-03-18  5:41 [PATCH 0/1] self-hosted-image: fix bug 2065 Dexuan Cui
@ 2012-03-18  5:41 ` Dexuan Cui
  2012-03-18  8:21   ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Dexuan Cui @ 2012-03-18  5:41 UTC (permalink / raw)
  To: openembedded-core, sgw

[YOCTO #2065]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
---
 meta/recipes-core/images/self-hosted-image.bb |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb
index d56c2cb..7f5173a 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
-PR = "r5"
+PR = "r6"
 
 CORE_IMAGE_EXTRA_INSTALL = "\
     task-self-hosted \
@@ -21,3 +21,24 @@ APPEND += "quiet"
 IMAGE_FSTYPES = "vmdk"
 
 inherit core-image
+
+SRCREV = "26a46938d3ea1821e7bec4fa6cc8379babad238b"
+SRC_URI = "git://git.yoctoproject.org/poky;protocol=git"
+
+fakeroot do_populate_poky_src () {
+    # Because fetch2's git's unpack uses -s cloneflag, the unpacked git repo
+    # will become invalid in the target.
+    rm -rf ${WORKDIR}/git/.git
+    rm -f ${WORKDIR}/git/.gitignore
+
+    cp -Rp ${WORKDIR}/git ${IMAGE_ROOTFS}/home/builder/poky
+    chown -R builder.builder  ${IMAGE_ROOTFS}/home/builder/poky
+}
+
+IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; "
+
+python do_get_poky_src () {
+    bb.build.exec_func('base_do_fetch', d)
+    bb.build.exec_func('base_do_unpack', d)
+}
+addtask do_get_poky_src before do_rootfs
-- 
1.7.6




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source
  2012-03-18  5:41 ` [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source Dexuan Cui
@ 2012-03-18  8:21   ` Koen Kooi
  2012-03-18  9:52     ` Cui, Dexuan
  0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2012-03-18  8:21 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 18 mrt. 2012, om 06:41 heeft Dexuan Cui het volgende geschreven:

> [YOCTO #2065]

What does that mean?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source
  2012-03-18  8:21   ` Koen Kooi
@ 2012-03-18  9:52     ` Cui, Dexuan
  2012-03-18 12:07       ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Cui, Dexuan @ 2012-03-18  9:52 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Koen Kooi wrote on 2012-03-18:
> 
> Op 18 mrt. 2012, om 06:41 heeft Dexuan Cui het volgende geschreven:
> 
>> [YOCTO #2065]
> 
> What does that mean?
Sorry, I should have made it more clear. :-) 

It means bug 2065 is addressed by the patch:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2065

Thanks,
-- Dexuan





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source
  2012-03-18  9:52     ` Cui, Dexuan
@ 2012-03-18 12:07       ` Koen Kooi
  2012-03-19  1:33         ` Cui, Dexuan
  0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2012-03-18 12:07 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 18 mrt. 2012, om 10:52 heeft Cui, Dexuan het volgende geschreven:

> Koen Kooi wrote on 2012-03-18:
>> 
>> Op 18 mrt. 2012, om 06:41 heeft Dexuan Cui het volgende geschreven:
>> 
>>> [YOCTO #2065]
>> 
>> What does that mean?
> Sorry, I should have made it more clear. :-) 
> 
> It means bug 2065 is addressed by the patch:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=2065

So add that and (part of) the bug description into the commit message



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source
  2012-03-18 12:07       ` Koen Kooi
@ 2012-03-19  1:33         ` Cui, Dexuan
  0 siblings, 0 replies; 6+ messages in thread
From: Cui, Dexuan @ 2012-03-19  1:33 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi

Koen Kooi wrote on 2012-03-18:
> 
> Op 18 mrt. 2012, om 10:52 heeft Cui, Dexuan het volgende geschreven:
> 
>> Koen Kooi wrote on 2012-03-18:
>>> 
>>> Op 18 mrt. 2012, om 06:41 heeft Dexuan Cui het volgende geschreven:
>>> 
>>>> [YOCTO #2065]
>>> 
>>> What does that mean?
>> Sorry, I should have made it more clear. :-)
>> 
>> It means bug 2065 is addressed by the patch:
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=2065
> 
> So add that and (part of) the bug description into the commit message
OK, please review and use the updated commit(only the commit description was updated):
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/self&id=0882b5e0adb05d4f950c721fcb80b4cff42ce079

Thanks,
-- Dexuan




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-19  1:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-18  5:41 [PATCH 0/1] self-hosted-image: fix bug 2065 Dexuan Cui
2012-03-18  5:41 ` [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source Dexuan Cui
2012-03-18  8:21   ` Koen Kooi
2012-03-18  9:52     ` Cui, Dexuan
2012-03-18 12:07       ` Koen Kooi
2012-03-19  1:33         ` Cui, Dexuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox