Patchwork [1/4] adt_installer: remove unnecessary variable

login
register
mail settings
Submitter Chong.Lu@windriver.com
Date July 4, 2014, 8:45 a.m.
Message ID <5d00040de2573c76b3d85d3cd35f06e9ce234b0d.1404463017.git.Chong.Lu@windriver.com>
Download mbox | patch
Permalink /patch/75001/
State Accepted
Commit 82999c1c8fa2662653054329100d2ea2f05a695e
Headers show

Comments

Chong.Lu@windriver.com - July 4, 2014, 8:45 a.m.
YOCTOADT_VERSION is not included in adt_installer.conf file.
Remove this variable, because we don't need it.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
 meta/recipes-devtools/installer/adt-installer_1.0.bb | 2 --
 1 file changed, 2 deletions(-)

Patch

diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index 6380b6c..6a63e79 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -34,7 +34,6 @@  PR = "r11"
 
 ADT_DEPLOY = "${TMPDIR}/deploy/sdk/"
 ADT_DIR = "${WORKDIR}/adt-installer/"
-YOCTOADT_VERSION = "${SDK_VERSION}"
 S = "${WORKDIR}/opkg-${PV}"
 
 PV = "0.2.0"
@@ -74,7 +73,6 @@  fakeroot do_populate_adt () {
 	cp -r scripts ${ADT_DIR}/
 	cp adt_installer ${ADT_DIR}
 	cp adt_installer.conf ${ADT_DIR}
-	sed -i -e 's#YOCTOADT_VERSION#${SDK_VERSION}#' ${ADT_DIR}/adt_installer.conf
 	sed -i -e 's#ADTREPO#${ADTREPO}#' ${ADT_DIR}/adt_installer.conf
 	echo 'SDK_VENDOR=${SDK_VENDOR}' >> ${ADT_DIR}/scripts/data_define
 	echo 'DEFAULT_INSTALL_FOLDER=${SDKPATH}' >> ${ADT_DIR}/scripts/data_define