[meta-freescale] [PATCH 4/9] lio-utils: add tcm_start.sh and lio_start.sh to rootfs

Otavio Salvador otavio at ossystems.com.br
Thu Dec 6 06:19:58 PST 2012


On Thu, Dec 6, 2012 at 12:10 PM, <b28495 at freescale.com> wrote:

> From: Chunrong Guo <b40290 at freescale.com>
>
>            *following scripts had  been added
>             /etc/init.d/target
>             /etc/target/tcm_start.sh
>             /etc/target/lio_start.sh
>
> Signed-off-by: Chunrong Guo <b40290 at freescale.com>
> ---
>  recipes-tools/lio-utils/lio-utils_4.0.bb |    9 ++++++---
>  1 files changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/recipes-tools/lio-utils/lio-utils_4.0.bbb/recipes-tools/lio-utils/
> lio-utils_4.0.bb
> index 31aa4fa..98101b3 100644
> --- a/recipes-tools/lio-utils/lio-utils_4.0.bb
> +++ b/recipes-tools/lio-utils/lio-utils_4.0.bb
> @@ -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
>

You don't install init.d/target so please drop it from commitlog or install
it. In case you install it you should also check if it is being handled by
update-rc.d class (I see no change for it here as well).


>  }
>
>  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/*"
> --
> 1.7.3.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>



-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20121206/a02d6ca5/attachment.html>


More information about the meta-freescale mailing list