Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] adt-installer tar ball regen issue with sstate
@ 2012-01-31  5:36 Jessica Zhang
  2012-01-31  5:36 ` [PATCH 1/1] Fix the issue that adt-installer tar ball is not regenerated if sstate is on, and other minor bug fixes Jessica Zhang
  2012-02-02 17:58 ` [PATCH 0/1] adt-installer tar ball regen issue with sstate Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Jessica Zhang @ 2012-01-31  5:36 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 08235ba0527a493fd652fdcbfded059c3a802333:
  Jessica Zhang (1):
        Merge branch 'master' of git://git.yoctoproject.org/poky

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib jzhang/adt-installer
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jzhang/adt-installer

Jessica Zhang (1):
  Fix the issue that adt-installer tar ball is not regenerated if
    sstate is on, and other minor bug fixes

 .../installer/adt-installer/adt_installer.conf     |    2 +-
 .../installer/adt-installer_1.0.bb                 |   13 ++++++-------
 2 files changed, 7 insertions(+), 8 deletions(-)




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

* [PATCH 1/1] Fix the issue that adt-installer tar ball is not regenerated if sstate is on, and other minor bug fixes
  2012-01-31  5:36 [PATCH 0/1] adt-installer tar ball regen issue with sstate Jessica Zhang
@ 2012-01-31  5:36 ` Jessica Zhang
  2012-02-02 17:58 ` [PATCH 0/1] adt-installer tar ball regen issue with sstate Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Jessica Zhang @ 2012-01-31  5:36 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
---
 .../installer/adt-installer/adt_installer.conf     |    2 +-
 .../installer/adt-installer_1.0.bb                 |   13 ++++++-------
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf
index 2038b09..275756e 100644
--- a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf
+++ b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf
@@ -23,7 +23,7 @@
 
 # Your yocto distro repository, this should include IPKG based packages and root filesystem files where the installation is based on
 
-YOCTOADT_REPO="http://adtrepo.yoctoproject.org/$YOCTOADT_VERSION"
+YOCTOADT_REPO="http://adtrepo.yoctoproject.org/YOCTOADT_VERSION"
 
 # The following are for system wide setup
 # Target architectures that you want to setup host cross dev environment for
diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index 39e53c1..5e76067 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -30,15 +30,13 @@ ALLOW_EMPTY = "1"
 
 PACKAGES = ""
 
-PR = "r5"
+PR = "r6"
 
 ADT_DEPLOY = "${TMPDIR}/deploy/sdk/"
 ADT_DIR = "${WORKDIR}/adt-installer/"
 YOCTOADT_VERSION = "${SDK_VERSION}"
 S = "${WORKDIR}/trunk"
 
-inherit deploy allarch
-
 SRCREV = "596"
 PV = "0.1.8+svnr${SRCPV}"
 SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
@@ -55,9 +53,9 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
 
 ADTREPO = "http://adtrepo.yoctoproject.org/${SDK_VERSION}"
 
-do_deploy[umask] = 022
+do_populate_adt[umask] = 022
 
-fakeroot do_deploy () {
+fakeroot do_populate_adt () {
 	cd ${WORKDIR}
 	mkdir -p ${ADT_DEPLOY}
 	rm -f ${ADT_DEPLOY}/adt-installer.tar.bz2
@@ -73,13 +71,14 @@ fakeroot do_deploy () {
 	echo 'YOCTOADT_VERSION=${SDK_VERSION}' > ${ADT_DIR}/temp.conf
         cat ${ADT_DIR}/adt_installer.conf >> ${ADT_DIR}/temp.conf
         mv ${ADT_DIR}/temp.conf ${ADT_DIR}/adt_installer.conf
+	sed -i -e 's#YOCTOADT_VERSION#${SDK_VERSION}#' ${ADT_DIR}/adt_installer.conf
         echo 'SDK_VENDOR=${SDK_VENDOR}' >> ${ADT_DIR}/scripts/data_define
         echo 'INSTALL_FOLDER=${SDKPATH}' >> ${ADT_DIR}/scripts/data_define
 	tar cfj adt_installer.tar.bz2 adt-installer
 	cp ${WORKDIR}/adt_installer.tar.bz2 ${ADT_DEPLOY}
 }
 
-do_install[noexec] = "1"
+do_populate_adt[nostamp] = "1"
 do_configure[noexec] = "1"
 do_compile[noexec] = "1"
 do_package[noexec] = "1"
@@ -89,4 +88,4 @@ do_package_write_rpm[noexec] = "1"
 do_package_write_deb[noexec] = "1"
 do_poplulate_sysroot[noexec] = "1"
 
-addtask deploy before do_populate_sysroot after do_patch
+addtask populate_adt before do_build after do_install
-- 
1.7.0.4




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

* Re: [PATCH 0/1] adt-installer tar ball regen issue with sstate
  2012-01-31  5:36 [PATCH 0/1] adt-installer tar ball regen issue with sstate Jessica Zhang
  2012-01-31  5:36 ` [PATCH 1/1] Fix the issue that adt-installer tar ball is not regenerated if sstate is on, and other minor bug fixes Jessica Zhang
@ 2012-02-02 17:58 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-02-02 17:58 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 01/30/2012 09:36 PM, Jessica Zhang wrote:
> The following changes since commit 08235ba0527a493fd652fdcbfded059c3a802333:
>    Jessica Zhang (1):
>          Merge branch 'master' of git://git.yoctoproject.org/poky
>
> are available in the git repository at:
>
>    git://git.yoctoproject.org/poky-contrib jzhang/adt-installer
>    http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jzhang/adt-installer
>
> Jessica Zhang (1):
>    Fix the issue that adt-installer tar ball is not regenerated if
>      sstate is on, and other minor bug fixes
>
>   .../installer/adt-installer/adt_installer.conf     |    2 +-
>   .../installer/adt-installer_1.0.bb                 |   13 ++++++-------
>   2 files changed, 7 insertions(+), 8 deletions(-)
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Merged into OE-core

Thanks
	Sau!



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

end of thread, other threads:[~2012-02-02 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-31  5:36 [PATCH 0/1] adt-installer tar ball regen issue with sstate Jessica Zhang
2012-01-31  5:36 ` [PATCH 1/1] Fix the issue that adt-installer tar ball is not regenerated if sstate is on, and other minor bug fixes Jessica Zhang
2012-02-02 17:58 ` [PATCH 0/1] adt-installer tar ball regen issue with sstate Saul Wold

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