On Fri, Aug 11, 2017 at 6:29 AM, Koehler, Yannick
<yannick.koeh...@hpe.com> wrote:
> I would like to have the following content under my modname.conf.  It appears 
> that the module_conf_<modname> is a single-line variable, and I am trying 
> using \n to add a newline character but that doesn't appear to be working.
>
>         module_conf_modname :=  "options modname op1=0\n"
>         module_conf_modname_append = "install modname /sbin/modprobe 
> 2ndmodname; /sbin/modprobe -ignore-install modname $CMDLINE_OPTS"
>
> Result in the following file content
>
>         options modname opt1=0\ninstall modname /sbin/modprobe 2ndmodname; 
> /sbin/modprobe -ignore-install modname $CMDLINE_OPTS
>
> Expected
>
>         options modname opt1=0
>         install modname /sbin/modprobe 2ndmodname; /sbin/modprobe 
> -ignore-install modname $CMDLINE_OPTS
>
> Any help appreciated.

May be you can approach the problem differently, and express the
module dependencies such that
you dont need to do custom install of modules from another module conf.

>
> --
> Yannick Koehler
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to