All of lore.kernel.org
 help / color / mirror / Atom feed
* new image recipe
@ 2013-02-06 21:18 Zhou, Jingting
  2013-02-11 20:08 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Zhou, Jingting @ 2013-02-06 21:18 UTC (permalink / raw)
  To: meta-arago@arago-project.org


[-- Attachment #1.1: Type: text/plain, Size: 134 bytes --]

Hey all, attached is the recipe for a new image arago-headless-tisdk-keystone2-image. Please take a look. Thanks~

Jingting Zhou


[-- Attachment #1.2: Type: text/html, Size: 1996 bytes --]

[-- Attachment #2: 0001-added-arago-headless-tisdk-keystone2-image-recipe.patch --]
[-- Type: application/octet-stream, Size: 3357 bytes --]

From 3bd69ef22080d75826b42040efe4a9a108d2ad75 Mon Sep 17 00:00:00 2001
From: Jingting Zhou <a0221004@ares-ubuntu>
Date: Wed, 6 Feb 2013 16:05:06 -0500
Subject: [PATCH] added arago-headless-tisdk-keystone2 image recipe

---
 .../images/arago-headless-tisdk-keystone2-image.bb |   10 +++
 .../tasks/task-arago-base-tisdk-keystone2.bb       |   87 ++++++++++++++++++++
 2 files changed, 97 insertions(+)
 create mode 100755 meta-arago-distro/recipes-core/images/arago-headless-tisdk-keystone2-image.bb
 create mode 100755 meta-arago-distro/recipes-core/tasks/task-arago-base-tisdk-keystone2.bb

diff --git a/meta-arago-distro/recipes-core/images/arago-headless-tisdk-keystone2-image.bb b/meta-arago-distro/recipes-core/images/arago-headless-tisdk-keystone2-image.bb
new file mode 100755
index 0000000..64cdc38
--- /dev/null
+++ b/meta-arago-distro/recipes-core/images/arago-headless-tisdk-keystone2-image.bb
@@ -0,0 +1,10 @@
+# Arago TI SDK filesystem image
+COMPATIBLE_MACHINE = "keystone"
+
+require arago-image.inc
+
+IMAGE_INSTALL += "\
+    task-arago-base-tisdk-keystone2 \
+"
+
+export IMAGE_BASENAME = "arago-headless-tisdk"
diff --git a/meta-arago-distro/recipes-core/tasks/task-arago-base-tisdk-keystone2.bb b/meta-arago-distro/recipes-core/tasks/task-arago-base-tisdk-keystone2.bb
new file mode 100755
index 0000000..67d3a65
--- /dev/null
+++ b/meta-arago-distro/recipes-core/tasks/task-arago-base-tisdk-keystone2.bb
@@ -0,0 +1,87 @@
+DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r2"
+
+inherit task
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+ARAGO_LIBNL = "\
+    libnl-route \
+    libnl-nf \
+    libnl-genl \
+    libnl-cli \
+    "
+	
+ARAGO_PERL = "\
+    perl \
+    perl-module-carp \
+    perl-module-class-struct \
+    perl-module-errno \
+    perl-module-exporter \
+    perl-module-exporter-heavy \
+    perl-module-fcntl \
+    perl-module-file-spec \
+    perl-module-file-spec-unix \
+    perl-module-file-stat \
+    perl-module-io-dir \
+    perl-module-io-file \
+    perl-module-io-handle \
+    perl-module-io-pipe \
+    perl-module-io-poll \
+    perl-module-io-seekable \
+    perl-module-io-select \
+    perl-module-io-socket-inet \
+    perl-module-io-socket-unix \
+    perl-module-io-socket \
+    perl-module-io \
+    perl-module-list-util \
+    perl-module-selectsaver \
+    perl-module-socket \
+    perl-module-strict \
+    perl-module-symbol \
+    perl-module-tie-handle \
+    perl-module-tie-hash \
+    perl-module-tie-stdhandle \
+    perl-module-vars \
+    perl-module-warnings-register \
+    perl-module-warnings \
+    perl-module-xsloader \
+	"
+	
+ARAGO_NDISC6 = "\
+	ndisc6-ndisc6 \
+    ndisc6-rdisc6 \ 
+    ndisc6-rltraceroute6 \ 
+    ndisc6-tcpspray6 \
+    ndisc6-tcptraceroute6 \
+    ndisc6-tracert6 \
+	"
+	
+RDEPENDS_${PN} = "\
+    ${ARAGO_LIBNL} \
+    ${ARAGO_PERL} \
+	${ARAGO_NDISC6} \
+    ptpd \
+    vsftpd \
+    syslog-ng \	
+    base-files \
+    base-passwd \
+    busybox \
+    initscripts \
+    modutils-initscripts \
+    netbase \ 	
+    dtc \
+    strongswan \ 
+    procps \
+    dhcp-client \
+	ipsec-tools \
+    kexec \
+    kdump \
+    tzdata \
+	vtun \
+	lksctp-tools \
+	libdnet \
+	cppstub \
+    "
-- 
1.7.9.5


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

* Re: new image recipe
  2013-02-06 21:18 new image recipe Zhou, Jingting
@ 2013-02-11 20:08 ` Denys Dmytriyenko
  2013-02-11 20:25   ` Zhou, Jingting
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2013-02-11 20:08 UTC (permalink / raw)
  To: Zhou, Jingting; +Cc: meta-arago@arago-project.org

On Wed, Feb 06, 2013 at 09:18:15PM +0000, Zhou, Jingting wrote:
> Hey all, attached is the recipe for a new image 
> arago-headless-tisdk-keystone2-image. Please take a look. Thanks~

All the comments I made to your previous patch are still applicable here, 
plus:

1. Don't make tasks or images specific to a machine/SoC like that. First of 
all, you can avoid making it completely machine-specific and second, you may 
need to use overrides in the recipe itself for really specific things.

2. Please make sure the whitespaces are consistent.

-- 
Denys


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

* Re: new image recipe
  2013-02-11 20:08 ` Denys Dmytriyenko
@ 2013-02-11 20:25   ` Zhou, Jingting
  2013-02-11 20:29     ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Zhou, Jingting @ 2013-02-11 20:25 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org

1. I'll use another name
2. the white spaces are consistent in my computer......

-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Monday, February 11, 2013 3:08 PM
To: Zhou, Jingting
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] new image recipe

On Wed, Feb 06, 2013 at 09:18:15PM +0000, Zhou, Jingting wrote:
> Hey all, attached is the recipe for a new image 
> arago-headless-tisdk-keystone2-image. Please take a look. Thanks~

All the comments I made to your previous patch are still applicable here,
plus:

1. Don't make tasks or images specific to a machine/SoC like that. First of all, you can avoid making it completely machine-specific and second, you may need to use overrides in the recipe itself for really specific things.

2. Please make sure the whitespaces are consistent.

--
Denys


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

* Re: new image recipe
  2013-02-11 20:25   ` Zhou, Jingting
@ 2013-02-11 20:29     ` Denys Dmytriyenko
  0 siblings, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2013-02-11 20:29 UTC (permalink / raw)
  To: Zhou, Jingting; +Cc: meta-arago@arago-project.org

On Mon, Feb 11, 2013 at 03:25:44PM -0500, Zhou, Jingting wrote:
> 1. I'll use another name

It's not the name. Why cannot you use the existing arago-headless-tisdk-image 
recipe? Can you extend it instead of creating another one?


> 2. the white spaces are consistent in my computer......

Some lines use spaces and some use tabs, which is inconsistent - you may want 
to configure your text editor to show you one vs. another visually.

-- 
Denys


> -----Original Message-----
> From: Dmytriyenko, Denys 
> Sent: Monday, February 11, 2013 3:08 PM
> To: Zhou, Jingting
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] new image recipe
> 
> On Wed, Feb 06, 2013 at 09:18:15PM +0000, Zhou, Jingting wrote:
> > Hey all, attached is the recipe for a new image 
> > arago-headless-tisdk-keystone2-image. Please take a look. Thanks~
> 
> All the comments I made to your previous patch are still applicable here,
> plus:
> 
> 1. Don't make tasks or images specific to a machine/SoC like that. First of 
> all, you can avoid making it completely machine-specific and second, you may 
> need to use overrides in the recipe itself for really specific things.
> 
> 2. Please make sure the whitespaces are consistent.


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

end of thread, other threads:[~2013-02-11 20:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-06 21:18 new image recipe Zhou, Jingting
2013-02-11 20:08 ` Denys Dmytriyenko
2013-02-11 20:25   ` Zhou, Jingting
2013-02-11 20:29     ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.