Skip to contentSkip to conversation

Define arago-test-image

PATCH In review Carlos Hernandez 3 participants 7 messages Dec 5, 2012 – Dec 7, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Define arago-test-image

This filesystem image includes test appplications used by Linux validation team.

Please consider it for meta-arago project. Thanks, Carlos

From 3b2e5e76100574e64bfb6d90035e2fa88236fc67 Mon Sep 17 00:00:00 2001
From: Carlos Hernandez <[email protected]>
Date: Tue, 4 Dec 2012 15:31:40 -0500
Subject: [PATCH 01/12] Define arago-test-image

This filesystem image includes test appplications used by Linux validation team

---
 .../recipes-core/images/arago-test-image.bb        |   21 ++++++++
 .../recipes-core/tasks/task-arago-test-addons.bb   |   49 ++++++++++++++++++++
 2 files changed, 70 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/images/arago-test-image.bb
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb
meta-arago-distro/recipes-core/images/arago-test-image.bb new file +21 -0
new file mode 100644
index 0000000..9cf07f9
@@ -0,0 +1,21 @@
+# Arago System Test image
+# gives you test applications
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+require arago-image.inc
+
+COMPATIBLE_MACHINE = "omap3|dm365|omapl138|ti813x|ti814x|ti816x|omap4|ti33x"
+
+IMAGE_INSTALL += "\
+    task-arago-base \
+    task-arago-console \
+    task-arago-base-tisdk \
+    task-arago-tisdk-connectivity \
+    task-arago-tisdk-crypto \
+    task-arago-tisdk-multimedia \
+    task-arago-test \
+    task-arago-test-addons \
+    "
+
+export IMAGE_BASENAME = "arago-test-image"
meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb new file +49 -0

49 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw

Can't task-arago-tisdk-addons be used instead of creating this new task-arago-test-addons recipe? The majority of the content in arago-test-addons is provided by task-arago-addons and the remainder is provided by tasks your pulling into the test image recipe. Other than having a slightly bloated file system with additional tools/libraries is there any reason you can't reuse some of the other tasks?

Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Hernandez, Carlos
Sent: Wednesday, December 05, 2012 1:54 PM
To: [email protected]
Subject: [meta-arago] [PATCH] Define arago-test-image

This filesystem image includes test appplications used by Linux validation team.

Please consider it for meta-arago project. Thanks, Carlos

#2 lore raw

Franklin,

That's a fair point. I did it to keep some independence between the arago-test and arago-tisdk images but I'm OK including task-arago-tisdk-addons instead of task-arago-test-addons. I guess we could separate into different task files only if needed in the future.

One task that will need to be added to task-arago-tisdk-addons is bridge-utils.
bridge-utils is currently only included by task-arago-test-addons.

Let me know if you are OK adding bridge-utils and I can submit another patch with these changes.

Thanks for the review,
Carlos

Quoted 15 lines · Franklin

Can't task-arago-tisdk-addons be used instead of creating this new task-arago-test-addons recipe? The majority of the content in arago-test-addons is provided by task-arago-addons and the remainder is provided by tasks your pulling into the test image recipe. Other than having a slightly bloated file system with additional tools/libraries is there any reason you can't reuse some of the other tasks?

Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Hernandez, Carlos
Sent: Wednesday, December 05, 2012 1:54 PM
To: [email protected]
Subject: [meta-arago] [PATCH] Define arago-test-image

This filesystem image includes test appplications used by Linux validation team.

Please consider it for meta-arago project. Thanks, Carlos

#3 lore raw
Quoted 7 lines · Carlos Hernandez

Franklin,

That's a fair point. I did it to keep some independence between the arago-test and arago-tisdk images but I'm OK including task-arago-tisdk-addons instead of task-arago-test-addons. I guess we could separate into different task files only if needed in the future.

Quoted 6 lines

One task that will need to be added to task-arago-tisdk-addons is bridge-utils.
bridge-utils is currently only included by task-arago-test-addons.

Let me know if you are OK adding bridge-utils and I can submit another patch with these changes.

You could also add bridge-utils to your task-arago-test recipe.

Or, you could just add bridge-utils besides the regular task-arago-tisdk-addons to IMAGE_INSTALL in your test image recipe:

IMAGE_INSTALL += "\
    task-arago-base \
    task-arago-console \
    task-arago-base-tisdk \
    task-arago-tisdk-connectivity \
    task-arago-tisdk-crypto \
    task-arago-tisdk-multimedia \
    task-arago-tisdk-addons \
    task-arago-test \
    bridge-utils \
    "

Denys

Quoted 25 lines

Thanks for the review,
Carlos

Quoted 15 lines · Franklin

Can't task-arago-tisdk-addons be used instead of creating this new task-arago-test-addons recipe? The majority of the content in arago-test-addons is provided by task-arago-addons and the remainder is provided by tasks your pulling into the test image recipe. Other than having a slightly bloated file system with additional tools/libraries is there any reason you can't reuse some of the other tasks?

Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Hernandez, Carlos
Sent: Wednesday, December 05, 2012 1:54 PM
To: [email protected]
Subject: [meta-arago] [PATCH] Define arago-test-image

This filesystem image includes test appplications used by Linux validation team.

Please consider it for meta-arago project. Thanks, Carlos

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#4 lore raw

Please find v2 attached.

Thanks,
Carlos

Quoted 31 lines · Denys Dmytriyenko
Quoted 7 lines · Carlos Hernandez

Franklin,

That's a fair point. I did it to keep some independence between the arago-test and arago-tisdk images but I'm OK including task-arago-tisdk-addons instead of task-arago-test-addons. I guess we could separate into different task files only if needed in the future.

Quoted 6 lines

One task that will need to be added to task-arago-tisdk-addons is bridge-utils.
bridge-utils is currently only included by task-arago-test-addons.

Let me know if you are OK adding bridge-utils and I can submit another patch with these changes.

You could also add bridge-utils to your task-arago-test recipe.

Or, you could just add bridge-utils besides the regular task-arago-tisdk-addons to IMAGE_INSTALL in your test image recipe:

IMAGE_INSTALL += "\
    task-arago-base \
    task-arago-console \
    task-arago-base-tisdk \
    task-arago-tisdk-connectivity \
    task-arago-tisdk-crypto \
    task-arago-tisdk-multimedia \
    task-arago-tisdk-addons \
    task-arago-test \
    bridge-utils \
    "
Quoted 26 lines

Denys

Quoted 24 lines

Thanks for the review,
Carlos

Quoted 15 lines · Franklin

Can't task-arago-tisdk-addons be used instead of creating this new task-arago-test-addons recipe? The majority of the content in arago-test-addons is provided by task-arago-addons and the remainder is provided by tasks your pulling into the test image recipe. Other than having a slightly bloated file system with additional tools/libraries is there any reason you can't reuse some of the other tasks?

Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Hernandez, Carlos
Sent: Wednesday, December 05, 2012 1:54 PM
To: [email protected]
Subject: [meta-arago] [PATCH] Define arago-test-image

This filesystem image includes test appplications used by Linux validation team.

Please consider it for meta-arago project. Thanks, Carlos

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

From 390814230637c81f4c5e95b49f869d40857e3663 Mon Sep 17 00:00:00 2001
From: Carlos Hernandez <[email protected]>
Date: Thu, 6 Dec 2012 17:31:45 -0500
Subject: [PATCH] Define arago-test-image

This filesystem image includes test appplications used by Linux validation team.

---
 .../recipes-core/images/arago-test-image.bb        |   22 ++++++++++++++++++++
 .../recipes-core/tasks/task-arago-test-addons.bb   |   22 ++++++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/images/arago-test-image.bb
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb
meta-arago-distro/recipes-core/images/arago-test-image.bb new file +22 -0
new file mode 100644
index 0000000..3f52729
@@ -0,0 +1,22 @@
+# Arago System Test image
+# gives you test applications
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+require arago-image.inc
+
+COMPATIBLE_MACHINE = "omap3|dm365|omapl138|ti813x|ti814x|ti816x|omap4|ti33x"
+
+IMAGE_INSTALL += "\
+    task-arago-base \
+    task-arago-console \
+    task-arago-base-tisdk \
+    task-arago-tisdk-connectivity \
+    task-arago-tisdk-crypto \
+    task-arago-tisdk-multimedia \
+    task-arago-tisdk-addons \
+    task-arago-test \
+    task-arago-test-addons \
+    "
+
+export IMAGE_BASENAME = "arago-test-image"
meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb new file +22 -0
new file mode 100644
index 0000000..00e9ff6
@@ -0,0 +1,22 @@
+DESCRIPTION = "Task to install additional utilities/demos for test image"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r0"
+
+ALLOW_EMPTY = "1"
+
+inherit task
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+
+TEST_ADDONS = " \
+    bridge-utils \
+    "
+
+TEST_ADDONS_TI = " \
+    "
+
+RDEPENDS_${PN} = "\
+    ${TEST_ADDONS} \
+    ${TEST_ADDONS_TI} \
+    "
Signature · 1 line
1.7.0.4
#5 lore raw
Quoted 1 line · Carlos Hernandez

Please find v2 attached.

Sorry, but any reason you need a whole new task (task-arago-test-addons) in addition to the one you are already adding for the test (task-arago-test)? Right now there's only 1 package listed there (bridge-utils) - do you plan on addin more to that task later on?

Denys

Quoted 140 lines
Quoted 31 lines · Denys Dmytriyenko
Quoted 7 lines · Carlos Hernandez

Franklin,

That's a fair point. I did it to keep some independence between the arago-test and arago-tisdk images but I'm OK including task-arago-tisdk-addons instead of task-arago-test-addons. I guess we could separate into different task files only if needed in the future.

Quoted 6 lines

One task that will need to be added to task-arago-tisdk-addons is bridge-utils.
bridge-utils is currently only included by task-arago-test-addons.

Let me know if you are OK adding bridge-utils and I can submit another patch with these changes.

You could also add bridge-utils to your task-arago-test recipe.

Or, you could just add bridge-utils besides the regular task-arago-tisdk-addons to IMAGE_INSTALL in your test image recipe:

IMAGE_INSTALL += "\
    task-arago-base \
    task-arago-console \
    task-arago-base-tisdk \
    task-arago-tisdk-connectivity \
    task-arago-tisdk-crypto \
    task-arago-tisdk-multimedia \
    task-arago-tisdk-addons \
    task-arago-test \
    bridge-utils \
    "
Quoted 26 lines

Denys

Quoted 24 lines

Thanks for the review,
Carlos

Quoted 15 lines · Franklin

Can't task-arago-tisdk-addons be used instead of creating this new task-arago-test-addons recipe? The majority of the content in arago-test-addons is provided by task-arago-addons and the remainder is provided by tasks your pulling into the test image recipe. Other than having a slightly bloated file system with additional tools/libraries is there any reason you can't reuse some of the other tasks?

Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Hernandez, Carlos
Sent: Wednesday, December 05, 2012 1:54 PM
To: [email protected]
Subject: [meta-arago] [PATCH] Define arago-test-image

This filesystem image includes test appplications used by Linux validation team.

Please consider it for meta-arago project. Thanks, Carlos

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

From 390814230637c81f4c5e95b49f869d40857e3663 Mon Sep 17 00:00:00 2001
From: Carlos Hernandez <[email protected]>
Date: Thu, 6 Dec 2012 17:31:45 -0500
Subject: [PATCH] Define arago-test-image

This filesystem image includes test appplications used by Linux validation team.

---
 .../recipes-core/images/arago-test-image.bb        |   22 ++++++++++++++++++++
 .../recipes-core/tasks/task-arago-test-addons.bb   |   22 ++++++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/images/arago-test-image.bb
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb
meta-arago-distro/recipes-core/images/arago-test-image.bb new file +22 -0
new file mode 100644
index 0000000..3f52729
@@ -0,0 +1,22 @@
+# Arago System Test image
+# gives you test applications
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+require arago-image.inc
+
+COMPATIBLE_MACHINE = "omap3|dm365|omapl138|ti813x|ti814x|ti816x|omap4|ti33x"
+
+IMAGE_INSTALL += "\
+    task-arago-base \
+    task-arago-console \
+    task-arago-base-tisdk \
+    task-arago-tisdk-connectivity \
+    task-arago-tisdk-crypto \
+    task-arago-tisdk-multimedia \
+    task-arago-tisdk-addons \
+    task-arago-test \
+    task-arago-test-addons \
+    "
+
+export IMAGE_BASENAME = "arago-test-image"
meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb new file +22 -0
new file mode 100644
index 0000000..00e9ff6
@@ -0,0 +1,22 @@
+DESCRIPTION = "Task to install additional utilities/demos for test image"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r0"
+
+ALLOW_EMPTY = "1"
+
+inherit task
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+
+TEST_ADDONS = " \
+    bridge-utils \
+    "
+
+TEST_ADDONS_TI = " \
+    "
+
+RDEPENDS_${PN} = "\
+    ${TEST_ADDONS} \
+    ${TEST_ADDONS_TI} \
+    "
Signature · 7 lines
1.7.0.4


_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#6 lore raw

The main reason to have task-arago-test-addons is to avoid affecting TISDK builds that already include task-arago-test. I also don't see any harm in having both, if give us more flexibility.

Carlos

Quoted 177 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, December 06, 2012 6:52 PM
To: Hernandez, Carlos
Cc: Dmytriyenko, Denys; [email protected]; Cooper Jr., Franklin
Subject: Re: [meta-arago] [PATCH v2] Define arago-test-image

Quoted 1 line · Carlos Hernandez

Please find v2 attached.

Sorry, but any reason you need a whole new task (task-arago-test-addons) in
addition to the one you are already adding for the test (task-arago-test)? Right now there's only 1 package listed there (bridge-utils) - do you plan on
addin more to that task later on?

Denys

Quoted 9 lines
Quoted 8 lines · Denys Dmytriyenko
Quoted 7 lines · Carlos Hernandez

Franklin,

That's a fair point. I did it to keep some independence between the arago-test and arago-tisdk images but I'm OK including task-arago-tisdk-addons instead of task-arago-test-addons. I guess we could separate into different task files only if needed in the future.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

One task that will need to be added to task-arago-tisdk-addons is bridge-utils.
bridge-utils is currently only included by task-arago-test-addons.

Let me know if you are OK adding bridge-utils and I can submit

another

Quoted 4 lines
Quoted 4 lines
Quoted 1 line

patch with these changes.

You could also add bridge-utils to your task-arago-test recipe.

Or, you could just add bridge-utils besides the regular task-arago-

tisdk-addons

Quoted 14 lines
Quoted 14 lines

to IMAGE_INSTALL in your test image recipe:

IMAGE_INSTALL += "\
    task-arago-base \
    task-arago-console \
    task-arago-base-tisdk \
    task-arago-tisdk-connectivity \
    task-arago-tisdk-crypto \
    task-arago-tisdk-multimedia \
    task-arago-tisdk-addons \
    task-arago-test \
    bridge-utils \
    "
Quoted 7 lines
Quoted 7 lines

Denys

Quoted 5 lines

Thanks for the review,
Carlos

Quoted 1 line · Franklin

Can't task-arago-tisdk-addons be used instead of creating this new

task-arago-test-addons recipe? The majority of the content in arago-test- addons is provided by task-arago-addons and the remainder is provided by tasks your pulling into the test image recipe. Other than having a slightly bloated file system with additional tools/libraries is there any reason you can't reuse some of the other tasks?

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Hernandez, Carlos
Sent: Wednesday, December 05, 2012 1:54 PM
To: [email protected]
Subject: [meta-arago] [PATCH] Define arago-test-image

This filesystem image includes test appplications used by Linux

validation team.

Quoted 17 lines
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
Quoted 5 lines

Please consider it for meta-arago project. Thanks, Carlos

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

From 390814230637c81f4c5e95b49f869d40857e3663 Mon Sep 17 00:00:00 2001
From: Carlos Hernandez <[email protected]>
Date: Thu, 6 Dec 2012 17:31:45 -0500
Subject: [PATCH] Define arago-test-image

Quoted 6 lines

This filesystem image includes test appplications used by Linux validation team.

---
 .../recipes-core/images/arago-test-image.bb        |   22

++++++++++++++++++++

Quoted 1 line
 .../recipes-core/tasks/task-arago-test-addons.bb   |   22

++++++++++++++++++++

Quoted 2 lines
 2 files changed, 44 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/images/arago-test-

image.bb

Quoted 1 line
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-

test-addons.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-arago-distro/recipes-core/images/arago-test-image.bb

meta-arago-distro/recipes-core/images/arago-test-image.bb line 4

Quoted 9 lines

new file mode 100644
index 0000000..3f52729

meta-arago-distro/recipes-core/images/arago-test-image.bb new file +4 -0
@@ -0,0 +1,22 @@
+# Arago System Test image
+# gives you test applications
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"

meta-arago-distro/recipes-core/images/arago-test-image.bb

Quoted 4 lines
meta-arago-distro/recipes-core/images/arago-test-image.bb new file +4 -0
+
+require arago-image.inc
+
+COMPATIBLE_MACHINE =

"omap3|dm365|omapl138|ti813x|ti814x|ti816x|omap4|ti33x"

Review

Quoted 15 lines
meta-arago-distro/recipes-core/images/arago-test-image.bb new file +14 -0
+
+IMAGE_INSTALL += "\
+    task-arago-base \
+    task-arago-console \
+    task-arago-base-tisdk \
+    task-arago-tisdk-connectivity \
+    task-arago-tisdk-crypto \
+    task-arago-tisdk-multimedia \
+    task-arago-tisdk-addons \
+    task-arago-test \
+    task-arago-test-addons \
+    "
+
+export IMAGE_BASENAME = "arago-test-image"
(quoted diff) +0 -0

addons.bb b/meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb

meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb line 1

Quoted 6 lines

new file mode 100644
index 0000000..00e9ff6

meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb new file +1 -0
@@ -0,0 +1,22 @@
+DESCRIPTION = "Task to install additional utilities/demos for test

image"

meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb line 3

Quoted 2 lines
meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb new file +2 -0
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

Quoted 27 lines
meta-arago-distro/recipes-core/tasks/task-arago-test-addons.bb new file +19 -1
+PR = "r0"
+
+ALLOW_EMPTY = "1"
+
+inherit task
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+
+TEST_ADDONS = " \
+    bridge-utils \
+    "
+
+TEST_ADDONS_TI = " \
+    "
+
+RDEPENDS_${PN} = "\
+    ${TEST_ADDONS} \
+    ${TEST_ADDONS_TI} \
+    "
--

1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago