Skip to contentSkip to conversation

Add adt-installer-dev target for QA use

PATCH In review Elizabeth Flanagan 1 participant 3 messages Sep 5, 2012

lore
Share & tools
lore
#0 lore raw

cover Add adt-installer-dev target for QA use

This is the first step in fixing the long standing QA complaint of having no good way of testing ADTREPO:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=2800
https://bugzilla.yoctoproject.org/show_bug.cgi?id=1877
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2718

This target will be added to most autobuilder buildouts and the autobuilder will populate adtrepo-dev from the artifacts. This ensures that released build artifacts are jailed off and cannot be accidentally destroyed while ensuring QA has something to test.

The following changes since commit 99c85ba93075a1aff789cafabbacf42e6a93bd32:

build-appliance-image: Update to latest poky master (2012-09-04 18:04:40 +0100)

are available in the git repository at:
git://git.yoctoproject.org/poky-contrib eflanagan/adtfix
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=eflanagan/adtfix

Elizabeth Flanagan (1):
adt-installer: Add adt-installer-dev.bb

 .../installer/adt-installer-dev_1.0.bb             |   26 ++++++++++++++++++++
 .../installer/adt-installer/adt_installer.conf     |    2 +-
 2 files changed, 27 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-devtools/installer/adt-installer-dev_1.0.bb
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 adt-installer: Add adt-installer-dev.bb

This adds an adt-installer-dev for QA and autobuilder use. It repoints the ADTREPO url to adtrepo-dev.yp.org.

---
 .../installer/adt-installer-dev_1.0.bb             |   26 ++++++++++++++++++++
 .../installer/adt-installer/adt_installer.conf     |    2 +-
 2 files changed, 27 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-devtools/installer/adt-installer-dev_1.0.bb
meta/recipes-devtools/installer/adt-installer-dev_1.0.bb new file +26 -0
new file mode 100644
index 0000000..7679038
@@ -0,0 +1,26 @@
+# Yocto ADT Installer bb file
+#
+# Copyright 2010-2011 by Intel Corp.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy 
+# of this software and associated documentation files (the "Software"), to deal 
+# in the Software without restriction, including without limitation the rights 
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
+# copies of the Software, and to permit persons to whom the Software is 
+# furnished to do so, subject to the following conditions:
+
+# The above copyright notice and this permission notice shall be included in 
+# all copies or substantial portions of the Software.
+
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
+# THE SOFTWARE.
+
+require recipes-devtools/installer/adt-installer_${PV}.bb
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/adt-installer:"
+ADTREPO = "http://adtrepo-dev.yoctoproject.org/${SDK_VERSION}"
meta/recipes-devtools/installer/adt-installer/adt_installer.conf +1 -1
index afc69a4..171d2ac 100644
@@ -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="ADTREPO"
 
 # The following are for system wide setup
 # Target architectures that you want to setup host cross dev environment for
Signature · 1 line
1.7.5.4
#2 lore raw
In reply to Elizabeth Flanagan
Quoted 2 lines · Elizabeth Flanagan

This is the first step in fixing the long standing QA complaint of having no good way of testing ADTREPO:

I missed something in do_populate_adt that will cause this to fail (it will build, it just won't actually function).

Please don't pull, I'll resubmit tomorrow.

-b

Quoted 29 lines

https://bugzilla.yoctoproject.org/show_bug.cgi?id=2800
https://bugzilla.yoctoproject.org/show_bug.cgi?id=1877
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2718

This target will be added to most autobuilder buildouts and the autobuilder will populate adtrepo-dev from the artifacts. This ensures that released build artifacts are jailed off and cannot be accidentally destroyed while ensuring QA has something to test.

The following changes since commit 99c85ba93075a1aff789cafabbacf42e6a93bd32:

build-appliance-image: Update to latest poky master (2012-09-04 18:04:40 +0100)

are available in the git repository at:
git://git.yoctoproject.org/poky-contrib eflanagan/adtfix
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=eflanagan/adtfix

Elizabeth Flanagan (1):
adt-installer: Add adt-installer-dev.bb

 .../installer/adt-installer-dev_1.0.bb             |   26 ++++++++++++++++++++
 .../installer/adt-installer/adt_installer.conf     |    2 +-
 2 files changed, 27 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-devtools/installer/adt-installer-dev_1.0.bb

--
1.7.5.4

Signature · 3 lines
Elizabeth Flanagan
Yocto Project
Build and Release