On Tuesday, September 1, 2020 11:30:23 A.M. EDT Richard Purdie wrote: > On Fri, 2020-08-28 at 17:29 -0400, Mark Asselstine wrote: > > The xinput_calibrator_once.sh script produces output on stdout and > > stderr which the current 'Exec' doesn't consume. This results in a > > [xinput_calibrator_once.sh] defunct process which will remain around > > until we exit the X11 session. > > > > Add a redirect to the Exec which will consume this output and avoid > > the defunct process. > > > > Signed-off-by: Mark Asselstine <mark.asselst...@windriver.com> > > --- > > > > V2: * no changes > > > > .../recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git > > a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb > > b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb index > > 4f831932e7..c59f97895c 100644 > > --- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb > > +++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb > > @@ -31,7 +31,7 @@ do_install_append() { > > > > install -m 0755 ${WORKDIR}/30xinput_calibrate.sh > > ${D}${sysconfdir}/X11/Xsession.d/ > > > > install -d ${D}${sysconfdir}/xdg/autostart > > > > - sed -e 's,^Exec=.*,Exec=${bindir}/xinput_calibrator_once.sh,' > > ${S}/scripts/xinput_calibrator.desktop > > > ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop + sed -e > > 's,^Exec=.*,Exec=${bindir}/sh -c "${bindir}/xinput_calibrator_once.sh > > 2>\&1 > /dev/null",' ${S}/scripts/xinput_calibrator.desktop > > > ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop> > > } > > > > FILES_${PN} += "${sysconfdir}/xdg/autostart" > > That appears to fail in testing: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/1281/step > s/8/logs/step1c > > Presumably it should be base_bindir?
Sorry about that Richard. The configuration I tested with had no issue but obviously this wasn't universal. As you should have seen when I was looking into another XFCE startup issue it made me question my fix and so we should hold off on this change regardless, until I have dug in further to the bigger root cause. Thanks, Mark > > Cheers, > > Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#142119): https://lists.openembedded.org/g/openembedded-core/message/142119 Mute This Topic: https://lists.openembedded.org/mt/76483813/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-