Skip to contentSkip to conversation

lio-utils: add tcm_start.sh and lio_start.sh to rootfs

PATCH Superseded [email protected] 2 participants 4 messages Mar 7, 2013 – Mar 8, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lio-utils: add tcm_start.sh and lio_start.sh to rootfs

From: Chunrong Guo <[email protected]>

*following scripts had been added
/etc/init.d/target
/etc/target/tcm_start.sh
/etc/target/lio_start.sh

---
 recipes-tools/lio-utils/lio-utils_4.0.bb |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
recipes-tools/lio-utils/lio-utils_4.0.bb +6 -3
index 31aa4fa..98101b3 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "http://linux-iscsi.org/index.php/Lio-utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git \
     file://lio-utils-install-more-modules.patch "
@@ -46,13 +46,16 @@ do_install() {
     if test -d ${S}/tools; then
         oe_runmake install
     fi
-
+ 
+    install -d ${D}/etc/target/
     install -d ${D}/etc/init.d/
     install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/
+    install -m 755 ${S}/conf/tcm_start.default ${D}/etc/target/tcm_start.sh
+    install -m 755 ${S}/conf/lio_start.default ${D}/etc/target/lio_start.sh
 }
 
 RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \ 
     python-datetime python-textutils python-crypt python-netclient python-email"
 
 
-FILES_${PN} += "${sbindir}/* /etc/init.d/*"
+FILES_${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*"
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 8 lines · On Thu, Mar 7, 2013 at 5:48 AM, <[email protected]> wrote:

From: Chunrong Guo <[email protected]>

*following scripts had been added
/etc/init.d/target
/etc/target/tcm_start.sh
/etc/target/lio_start.sh

If I recall correctly you said you'd send this package for inclusion to meta-oe so why to keep changing it here? It might be good to prepare the patch for meta-oe and get rid of it as soon as possible.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#2 lore raw
Quoted 17 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Thursday, March 07, 2013 10:43 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [PATCH] lio-utils: add tcm_start.sh and lio_start.sh to rootfs

Quoted 7 lines · On Thu, Mar 7, 2013 at 5:48 AM, <[email protected]> wrote:

From: Chunrong Guo <[email protected]>

*following scripts had been added
/etc/init.d/target
/etc/target/tcm_start.sh
/etc/target/lio_start.sh

Quoted 5 lines
Quoted 1 line

If I recall correctly you said you'd send this package for inclusion to meta-oe so why to keep changing it here? It might be good to prepare the patch for meta-oe and get rid of it as soon as possible.

Well, I just want to add this commit and then move the whole recipe to meta-oe. In this way, the one removed in meta-fsl-ppc and the one added in meta-oe are identical.

Furthermore, I'm not sure that this package will be accepted by meta-oe shortly. So, let's sync the ones exist on internel/external git tree first. Does it make sense?

-Ting

Quoted 5 lines

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#3 lore raw
Quoted 23 lines · On Fri, Mar 8, 2013 at 12:35 AM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 17 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Thursday, March 07, 2013 10:43 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [PATCH] lio-utils: add tcm_start.sh and lio_start.sh to rootfs

Quoted 7 lines · On Thu, Mar 7, 2013 at 5:48 AM, <[email protected]> wrote:

From: Chunrong Guo <[email protected]>

*following scripts had been added
/etc/init.d/target
/etc/target/tcm_start.sh
/etc/target/lio_start.sh

Quoted 5 lines
Quoted 1 line

If I recall correctly you said you'd send this package for inclusion to meta-oe so why to keep changing it here? It might be good to prepare the patch for meta-oe and get rid of it as soon as possible.

Quoted 5 lines

Well, I just want to add this commit and then move the whole recipe to meta-oe. In this way, the one removed in meta-fsl-ppc and the one added in meta-oe are identical.

Furthermore, I'm not sure that this package will be accepted by meta-oe shortly. So, let's sync the ones exist on internel/external git tree first. Does it make sense?

Fine with me, please send it with the v2 so all the series can be applied by Matt together.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br