[yocto] [meta-ivi][PATCH] weston: Add weston.ini config file

sujith h sujith.h at gmail.com
Tue Apr 22 22:59:19 PDT 2014


Hi Khem Raj,


On Wed, Apr 23, 2014 at 9:04 AM, Khem Raj <raj.khem at gmail.com> wrote:

> On Wed, Apr 16, 2014 at 1:12 AM, Sujith H <sujith.h at gmail.com> wrote:
> > Adding weston.ini to $ROOT_HOME/.config. With this change
> > user can login to $ROOT_HOME and launch weston with ivi-shell.
>
> what if I am not root ? IOW is there more systemwide way of doing it ?
>

I couldn't find any other login variable( like $ROOT_HOME) in bitbake.conf.
I agree that if we can do it in a more systemwide
way then it would be a clean solution. Any pointers to look at?


> >
> > Signed-off-by: Sujith H <Sujith_Haridasan at mentor.com>
> > ---
> >  recipes-graphics/wayland/weston_1.4.0.bbappend | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> >
> > diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend
> b/recipes-graphics/wayland/weston_1.4.0.bbappend
> > index 7a8ba6f..a2713d6 100644
> > --- a/recipes-graphics/wayland/weston_1.4.0.bbappend
> > +++ b/recipes-graphics/wayland/weston_1.4.0.bbappend
> > @@ -12,3 +12,16 @@ PR = "r1"
> >
> >  FILES_${PN} += "${libdir}/weston/*"
> >  FILES_${PN}-dbg += "${libdir}/weston/.debug/*"
> > +
> > +do_install_append() {
> > +   install -d ${D}${ROOT_HOME}/.config
> > +   install -m 0644 ${S}/ivi-shell/weston.ini.in${D}${ROOT_HOME}/.config/weston.ini
> > +   sed -i -e  's/hmi-controller.so/hmi-controller.so,
> ivi-controller.so/' ${D}${ROOT_HOME}/.config/weston.ini
> > +   sed -i -e 's|\@libexecdir\@|${libexecdir}|'
> ${D}${ROOT_HOME}/.config/weston.ini
> > +   sed -i -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|'
> ${D}${ROOT_HOME}/.config/weston.ini
> > +   sed -i -e 's|\@abs_top_builddir\@\/clients|${bindir}|'
> ${D}${ROOT_HOME}/.config/weston.ini
> > +}
> > +
> > +PACKAGES += "${PN}-ini"
> > +
> > +FILES_${PN}-ini = "${ROOT_HOME}/.config"
> > --
> > 1.8.4
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>



-- 
സുജിത് ഹരിദാസന്
Bangalore
<Project>Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
<Blog> http://sujithh.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140423/d3adb573/attachment.html>


More information about the yocto mailing list