* issue building iputils with uclibc. @ 2012-03-20 15:49 John Toomey 2012-03-20 16:23 ` Paul Eggleton 0 siblings, 1 reply; 23+ messages in thread From: John Toomey @ 2012-03-20 15:49 UTC (permalink / raw) To: yocto Hello all I'm having problems compiling iputils with uclibc - | ping6.o: In function `niquery_option_subject_name_handler': | /tmp/work/i586-poky-linux-uclibc/iputils-s20101006-r2/iputils-s20101006/ping6.c:428: undefined reference to `dn_comp' | collect2: ld returned 1 exit status | make: *** [ping6] Error 1 | make: *** Waiting for unfinished jobs.... | make[1]: Leaving directory `/tmp/work/i586-poky-linux-uclibc/iputils-s20101006-r2/iputils-s20101006/doc' | ERROR: oe_runmake failed NOTE: package iputils-s20101006-r2: task do_compile: Failed ERROR: Task 4 (/poky/meta/recipes-extended/iputils/iputils_s20101006.bb, do_compile) failed with exit code '1' It works fine with eglibc. I posted this question before but didnt really get a good answer - can anyone help point me in the right direction? Regards John ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: issue building iputils with uclibc. 2012-03-20 15:49 issue building iputils with uclibc John Toomey @ 2012-03-20 16:23 ` Paul Eggleton 2012-03-20 16:56 ` Khem Raj 0 siblings, 1 reply; 23+ messages in thread From: Paul Eggleton @ 2012-03-20 16:23 UTC (permalink / raw) To: John Toomey; +Cc: yocto On Tuesday 20 March 2012 15:49:10 John Toomey wrote: > I'm having problems compiling iputils with uclibc - > > | ping6.o: In function `niquery_option_subject_name_handler': > /tmp/work/i586-poky-linux-uclibc/iputils-s20101006-r2/iputils-s20101006/ping > 6.c:428: undefined reference to `dn_comp' > > | collect2: ld returned 1 exit status > | make: *** [ping6] Error 1 > | make: *** Waiting for unfinished jobs.... > | make[1]: Leaving directory > > `/tmp/work/i586-poky-linux-uclibc/iputils-s20101006-r2/iputils-s20101006/doc > ' > | ERROR: oe_runmake failed > > NOTE: package iputils-s20101006-r2: task do_compile: Failed > ERROR: Task 4 (/poky/meta/recipes-extended/iputils/iputils_s20101006.bb, > do_compile) failed with exit code '1' > > It works fine with eglibc. I posted this question before but didnt > really get a good answer - can anyone help point me in the right direction? IIRC the thread ended with Khem asking if UCLIBC_HAS_RESOLVER_SUPPORT='y' was in the uclibc configuration, the implication being that dn_comp is unavailable unless that is true. I'm not too familiar with how uclibc is configured and with only a brief glance at the recipe I can see the config seems to be automatically generated but I can't see exactly how additional options (beyond what gets added from DISTRO_FEATURES) would be added. Khem, could you help out here? Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: issue building iputils with uclibc. 2012-03-20 16:23 ` Paul Eggleton @ 2012-03-20 16:56 ` Khem Raj 2012-03-29 13:20 ` John Toomey 0 siblings, 1 reply; 23+ messages in thread From: Khem Raj @ 2012-03-20 16:56 UTC (permalink / raw) To: Paul Eggleton; +Cc: yocto On Tue, Mar 20, 2012 at 9:23 AM, Paul Eggleton <paul.eggleton@linux.intel.com> wrote: > > IIRC the thread ended with Khem asking if UCLIBC_HAS_RESOLVER_SUPPORT='y' was > in the uclibc configuration, the implication being that dn_comp is unavailable > unless that is true. I'm not too familiar with how uclibc is configured and > with only a brief glance at the recipe I can see the config seems to be > automatically generated but I can't see exactly how additional options (beyond > what gets added from DISTRO_FEATURES) would be added. > > Khem, could you help out here? go into the uclibc build tree and like kernel or busybox it will have a .config and grok that. If this is disabled then enable it in uClibc.distro file under uclibc recipes dir and rebuild uclibc. ideally these are distro knobs but for tests you can try it file ( uclibc uses kconfig ) ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: issue building iputils with uclibc. 2012-03-20 16:56 ` Khem Raj @ 2012-03-29 13:20 ` John Toomey 2012-03-29 19:05 ` Paul Eggleton 0 siblings, 1 reply; 23+ messages in thread From: John Toomey @ 2012-03-29 13:20 UTC (permalink / raw) To: Khem Raj; +Cc: Paul Eggleton, yocto On 20/03/2012 16:56, Khem Raj wrote: > On Tue, Mar 20, 2012 at 9:23 AM, Paul Eggleton > <paul.eggleton@linux.intel.com> wrote: >> IIRC the thread ended with Khem asking if UCLIBC_HAS_RESOLVER_SUPPORT='y' was >> in the uclibc configuration, the implication being that dn_comp is unavailable >> unless that is true. I'm not too familiar with how uclibc is configured and >> with only a brief glance at the recipe I can see the config seems to be >> automatically generated but I can't see exactly how additional options (beyond >> what gets added from DISTRO_FEATURES) would be added. >> >> Khem, could you help out here? > go into the uclibc build tree and like kernel or busybox it will have > a .config and grok that. If this is disabled then enable it in > uClibc.distro file under uclibc recipes dir and rebuild uclibc. > ideally these are distro knobs but for tests you can try it > file ( uclibc uses kconfig ) > Hi Folks I am unable to find a .config file in the uclibc build tree, can you be more specific about the path i might find it at? UCLIBC_HAS_RESOLVER_SUPPORT=y doesnt seem to be present in the uClibc.distro file, i added it and tried running the build again with no success. Is there anything else I can try? Thanks, John ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: issue building iputils with uclibc. 2012-03-29 13:20 ` John Toomey @ 2012-03-29 19:05 ` Paul Eggleton 2012-03-29 19:49 ` Khem Raj 2012-03-30 10:27 ` issue building iputils with uclibc Paul Eggleton 0 siblings, 2 replies; 23+ messages in thread From: Paul Eggleton @ 2012-03-29 19:05 UTC (permalink / raw) To: yocto On Thursday 29 March 2012 14:20:44 John Toomey wrote: > On 20/03/2012 16:56, Khem Raj wrote: > > go into the uclibc build tree and like kernel or busybox it will have > > a .config and grok that. If this is disabled then enable it in > > uClibc.distro file under uclibc recipes dir and rebuild uclibc. > > ideally these are distro knobs but for tests you can try it > > file ( uclibc uses kconfig ) > > I am unable to find a .config file in the uclibc build tree, can you be > more specific about the path i might find it at? > > UCLIBC_HAS_RESOLVER_SUPPORT=y doesnt seem to be present in the > uClibc.distro file, i added it and tried running the build again with no > success. Is there anything else I can try? OK, so I just gave this build a try. You can find the configuration actually used in the build in TMPDIR/work/i586-poky-linux-uclibc/uclibc-0.9.32- r4.3/git/.config (directory names may vary slightly depending on your build configuration). With master, when I checked my version of that file, UCLIBC_HAS_RESOLVER_SUPPORT=y is set, so apparently this feature is getting enabled by default. However, when I did the same on edison (which uses uclibc 0.9.32 as opposed to 0.9.33) that setting is not present. Digging around I'm beginning to wonder if this option was perhaps added in uclibc 0.9.33, which if true would explain why it is not present when building uclibc in edison; but does that mean the underlying functionality was added in that version or just the option? Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: issue building iputils with uclibc. 2012-03-29 19:05 ` Paul Eggleton @ 2012-03-29 19:49 ` Khem Raj 2012-03-29 20:39 ` How to change the startup application Liu, Song 2012-03-30 10:27 ` issue building iputils with uclibc Paul Eggleton 1 sibling, 1 reply; 23+ messages in thread From: Khem Raj @ 2012-03-29 19:49 UTC (permalink / raw) To: Paul Eggleton; +Cc: yocto On Thu, Mar 29, 2012 at 12:05 PM, Paul Eggleton <paul.eggleton@linux.intel.com> wrote: > On Thursday 29 March 2012 14:20:44 John Toomey wrote: >> On 20/03/2012 16:56, Khem Raj wrote: >> > go into the uclibc build tree and like kernel or busybox it will have >> > a .config and grok that. If this is disabled then enable it in >> > uClibc.distro file under uclibc recipes dir and rebuild uclibc. >> > ideally these are distro knobs but for tests you can try it >> > file ( uclibc uses kconfig ) >> >> I am unable to find a .config file in the uclibc build tree, can you be >> more specific about the path i might find it at? >> >> UCLIBC_HAS_RESOLVER_SUPPORT=y doesnt seem to be present in the >> uClibc.distro file, i added it and tried running the build again with no >> success. Is there anything else I can try? > > OK, so I just gave this build a try. You can find the configuration actually > used in the build in TMPDIR/work/i586-poky-linux-uclibc/uclibc-0.9.32- > r4.3/git/.config (directory names may vary slightly depending on your build > configuration). > > With master, when I checked my version of that file, > UCLIBC_HAS_RESOLVER_SUPPORT=y is set, so apparently this feature is getting > enabled by default. However, when I did the same on edison (which uses uclibc > 0.9.32 as opposed to 0.9.33) that setting is not present. Digging around I'm > beginning to wonder if this option was perhaps added in uclibc 0.9.33, which > if true would explain why it is not present when building uclibc in edison; > but does that mean the underlying functionality was added in that version or > just the option? thats makes it clear. Its 0.9.33 feature. I was assuming thats what you were using. > > Cheers, > Paul > > -- > > Paul Eggleton > Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 23+ messages in thread
* How to change the startup application 2012-03-29 19:49 ` Khem Raj @ 2012-03-29 20:39 ` Liu, Song 2012-03-29 23:56 ` Autif Khan 0 siblings, 1 reply; 23+ messages in thread From: Liu, Song @ 2012-03-29 20:39 UTC (permalink / raw) To: yocto I got a question about how to change the startup application with Yocto for images generated with Yocto. And I googled it and landed on this page: https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup_scripts. Pretty good, someone was thinking about the same thing. But this page turns out to be empty. It seems that we need to get better than this. I'm wondering if someone could update this wiki page or if the information is somewhere else... Thanks, Song ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: How to change the startup application 2012-03-29 20:39 ` How to change the startup application Liu, Song @ 2012-03-29 23:56 ` Autif Khan 2012-04-03 20:34 ` Liu, Song 2016-10-25 13:02 ` Nikola Popovic 0 siblings, 2 replies; 23+ messages in thread From: Autif Khan @ 2012-03-29 23:56 UTC (permalink / raw) To: Liu, Song; +Cc: yocto > I got a question about how to change the startup application with Yocto for images generated with Yocto. > And I googled it and landed on this page: > https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup_scripts. Pretty good, someone > was thinking about the same thing. But this page turns out to be empty. It seems that we need to get > better than this. > > I'm wondering if someone could update this wiki page or if the information is somewhere else... I do not know of if the information is elsewhere - I had to find this information for my project Here is my stab at it (already updated the wiki): Q: How do I change and add startup scripts? A: Edit meta/recipes-sato/matchbox-sato/matchbox-session-sato/session. Of course, if you have your own meta-layer, append the matchbox-session-sato_0.1.bb recipe. Disable 'matchbox-desktop' and 'matchbox-panel', however, do not disable 'exec matchbox-window-manager ...' Don't forget to run your app as a background process For example, the following code will start the fifteen game: #matchbox-desktop & # Lines containing feature-[foo] are removed at build time if the machine # doesn't have the feature "foo". #START_APPLETS=showdesktop,windowselector #END_APPLETS=clock,battery,systray,startup-notify,notify #END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone #matchbox-panel --titlebar --start-applets $START_APPLETS --end-applets $END_APPLETS & /usr/games/fifteen & exec matchbox-window-manager -theme Sato -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@ ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: How to change the startup application 2012-03-29 23:56 ` Autif Khan @ 2012-04-03 20:34 ` Liu, Song 2012-04-03 20:46 ` Gary Thomas 2012-04-03 21:23 ` Autif Khan 2016-10-25 13:02 ` Nikola Popovic 1 sibling, 2 replies; 23+ messages in thread From: Liu, Song @ 2012-04-03 20:34 UTC (permalink / raw) To: Autif Khan; +Cc: yocto Hi Autif, thanks a lot for providing the answer here. Since no one is showing any objections here, I updated the wiki page with your answer (https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup). Please let me know if there is any suggestions or concerns. Song -----Original Message----- From: Autif Khan [mailto:autif.mlist@gmail.com] Sent: Thursday, March 29, 2012 4:56 PM To: Liu, Song Cc: yocto@yoctoproject.org Subject: Re: [yocto] How to change the startup application > I got a question about how to change the startup application with Yocto for images generated with Yocto. > And I googled it and landed on this page: > https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup > _scripts. Pretty good, someone was thinking about the same thing. But > this page turns out to be empty. It seems that we need to get better than this. > > I'm wondering if someone could update this wiki page or if the information is somewhere else... I do not know of if the information is elsewhere - I had to find this information for my project Here is my stab at it (already updated the wiki): Q: How do I change and add startup scripts? A: Edit meta/recipes-sato/matchbox-sato/matchbox-session-sato/session. Of course, if you have your own meta-layer, append the matchbox-session-sato_0.1.bb recipe. Disable 'matchbox-desktop' and 'matchbox-panel', however, do not disable 'exec matchbox-window-manager ...' Don't forget to run your app as a background process For example, the following code will start the fifteen game: #matchbox-desktop & # Lines containing feature-[foo] are removed at build time if the machine # doesn't have the feature "foo". #START_APPLETS=showdesktop,windowselector #END_APPLETS=clock,battery,systray,startup-notify,notify #END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone #matchbox-panel --titlebar --start-applets $START_APPLETS --end-applets $END_APPLETS & /usr/games/fifteen & exec matchbox-window-manager -theme Sato -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@ ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: How to change the startup application 2012-04-03 20:34 ` Liu, Song @ 2012-04-03 20:46 ` Gary Thomas 2012-04-03 21:12 ` Autif Khan 2012-04-03 21:23 ` Autif Khan 1 sibling, 1 reply; 23+ messages in thread From: Gary Thomas @ 2012-04-03 20:46 UTC (permalink / raw) To: yocto On 2012-04-03 14:34, Liu, Song wrote: > Hi Autif, thanks a lot for providing the answer here. Since no one is showing any objections here, I updated the wiki page with your answer (https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup). Please let me know if there is any suggestions or concerns. This rather narrow answer is only useful if you are running a MatchBox desktop. There are many other deployment scenarios which would require a different approach. > -----Original Message----- > From: Autif Khan [mailto:autif.mlist@gmail.com] > Sent: Thursday, March 29, 2012 4:56 PM > To: Liu, Song > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] How to change the startup application > >> I got a question about how to change the startup application with Yocto for images generated with Yocto. >> And I googled it and landed on this page: >> https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup >> _scripts. Pretty good, someone was thinking about the same thing. But >> this page turns out to be empty. It seems that we need to get better than this. >> >> I'm wondering if someone could update this wiki page or if the information is somewhere else... > > I do not know of if the information is elsewhere - I had to find this information for my project > > Here is my stab at it (already updated the wiki): > > Q: How do I change and add startup scripts? > > A: Edit meta/recipes-sato/matchbox-sato/matchbox-session-sato/session. > Of course, if you have your own meta-layer, append the matchbox-session-sato_0.1.bb recipe. > > Disable 'matchbox-desktop' and 'matchbox-panel', however, do not disable 'exec matchbox-window-manager ...' > > Don't forget to run your app as a background process > > For example, the following code will start the fifteen game: > > #matchbox-desktop& > > # Lines containing feature-[foo] are removed at build time if the machine # doesn't have the feature "foo". > > #START_APPLETS=showdesktop,windowselector > #END_APPLETS=clock,battery,systray,startup-notify,notify > #END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone > > #matchbox-panel --titlebar --start-applets $START_APPLETS --end-applets $END_APPLETS& > > /usr/games/fifteen& > > exec matchbox-window-manager -theme Sato -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@ > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: How to change the startup application 2012-04-03 20:46 ` Gary Thomas @ 2012-04-03 21:12 ` Autif Khan 2012-04-03 21:15 ` Gary Thomas 0 siblings, 1 reply; 23+ messages in thread From: Autif Khan @ 2012-04-03 21:12 UTC (permalink / raw) To: Gary Thomas; +Cc: yocto >> Hi Autif, thanks a lot for providing the answer here. Since no one is >> showing any objections here, I updated the wiki page with your answer >> (https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup). >> Please let me know if there is any suggestions or concerns. > > > This rather narrow answer is only useful if you are running a MatchBox > desktop. > There are many other deployment scenarios which would require a different > approach. That is true. However, All over the Yocto Project's website - the common bitbake commands for an image is either core-image-minimal or core-image-sato. (core-image-sato-sdk also uses matchbox). minimal does not start any app - not counting daemons and gettys If the user chooses another window manager - they are/should be on their own. I just assumed that we are not trying to document the init process (bootloader, kernel, initrd, inittab, init.d etc) We are trying to answer a less experienced developer to replace the default window manager with their own app There is a chance that I am not aware of the default application being other than matchbox. Can you please provide me some counter example? ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: How to change the startup application 2012-04-03 21:12 ` Autif Khan @ 2012-04-03 21:15 ` Gary Thomas 0 siblings, 0 replies; 23+ messages in thread From: Gary Thomas @ 2012-04-03 21:15 UTC (permalink / raw) To: Autif Khan; +Cc: yocto On 2012-04-03 15:12, Autif Khan wrote: >>> Hi Autif, thanks a lot for providing the answer here. Since no one is >>> showing any objections here, I updated the wiki page with your answer >>> (https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup). >>> Please let me know if there is any suggestions or concerns. >> >> >> This rather narrow answer is only useful if you are running a MatchBox >> desktop. >> There are many other deployment scenarios which would require a different >> approach. > > That is true. > > However, All over the Yocto Project's website - the common bitbake > commands for an image is either core-image-minimal or core-image-sato. > (core-image-sato-sdk also uses matchbox). > > minimal does not start any app - not counting daemons and gettys > > If the user chooses another window manager - they are/should be on their own. > > I just assumed that we are not trying to document the init process > (bootloader, kernel, initrd, inittab, init.d etc) > > We are trying to answer a less experienced developer to replace the > default window manager with their own app Then it should be made clear that this answer only covers that scope. The Wiki page title implies that it is a more generic answer. > > There is a chance that I am not aware of the default application being > other than matchbox. Can you please provide me some counter example? I can think of many, most that are headless (no window environment at all) -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: How to change the startup application 2012-04-03 20:34 ` Liu, Song 2012-04-03 20:46 ` Gary Thomas @ 2012-04-03 21:23 ` Autif Khan 2012-04-03 21:58 ` Liu, Song 1 sibling, 1 reply; 23+ messages in thread From: Autif Khan @ 2012-04-03 21:23 UTC (permalink / raw) To: Liu, Song; +Cc: yocto Hi Song, I thought that I already updated the wiki. It seems like you created an extra page. "_scripts" is missing from the link. It should be there. Source: https://wiki.yoctoproject.org/wiki/Category:FAQ What I added days ago: https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup_scripts What you added (which I think should be deleted): https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup Agree? On Tue, Apr 3, 2012 at 4:34 PM, Liu, Song <song.liu@intel.com> wrote: > Hi Autif, thanks a lot for providing the answer here. Since no one is showing any objections here, I updated the wiki page with your answer (https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup). Please let me know if there is any suggestions or concerns. > > Song > > -----Original Message----- > From: Autif Khan [mailto:autif.mlist@gmail.com] > Sent: Thursday, March 29, 2012 4:56 PM > To: Liu, Song > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] How to change the startup application > >> I got a question about how to change the startup application with Yocto for images generated with Yocto. >> And I googled it and landed on this page: >> https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup >> _scripts. Pretty good, someone was thinking about the same thing. But >> this page turns out to be empty. It seems that we need to get better than this. >> >> I'm wondering if someone could update this wiki page or if the information is somewhere else... > > I do not know of if the information is elsewhere - I had to find this information for my project > > Here is my stab at it (already updated the wiki): > > Q: How do I change and add startup scripts? > > A: Edit meta/recipes-sato/matchbox-sato/matchbox-session-sato/session. > Of course, if you have your own meta-layer, append the matchbox-session-sato_0.1.bb recipe. > > Disable 'matchbox-desktop' and 'matchbox-panel', however, do not disable 'exec matchbox-window-manager ...' > > Don't forget to run your app as a background process > > For example, the following code will start the fifteen game: > > #matchbox-desktop & > > # Lines containing feature-[foo] are removed at build time if the machine # doesn't have the feature "foo". > > #START_APPLETS=showdesktop,windowselector > #END_APPLETS=clock,battery,systray,startup-notify,notify > #END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone > > #matchbox-panel --titlebar --start-applets $START_APPLETS --end-applets $END_APPLETS & > > /usr/games/fifteen & > > exec matchbox-window-manager -theme Sato -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@ ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: How to change the startup application 2012-04-03 21:23 ` Autif Khan @ 2012-04-03 21:58 ` Liu, Song 2012-04-04 10:06 ` James Abernathy 0 siblings, 1 reply; 23+ messages in thread From: Liu, Song @ 2012-04-03 21:58 UTC (permalink / raw) To: Autif Khan; +Cc: yocto Thanks, Autif. I guess I missed the last word for the link, but it's strange that the page was there. Anyway, I deleted mine. Song -----Original Message----- From: Autif Khan [mailto:autif.mlist@gmail.com] Sent: Tuesday, April 03, 2012 2:23 PM To: Liu, Song Cc: yocto@yoctoproject.org Subject: Re: [yocto] How to change the startup application Hi Song, I thought that I already updated the wiki. It seems like you created an extra page. "_scripts" is missing from the link. It should be there. Source: https://wiki.yoctoproject.org/wiki/Category:FAQ What I added days ago: https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup_scripts What you added (which I think should be deleted): https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup Agree? On Tue, Apr 3, 2012 at 4:34 PM, Liu, Song <song.liu@intel.com> wrote: > Hi Autif, thanks a lot for providing the answer here. Since no one is showing any objections here, I updated the wiki page with your answer (https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup). Please let me know if there is any suggestions or concerns. > > Song > > -----Original Message----- > From: Autif Khan [mailto:autif.mlist@gmail.com] > Sent: Thursday, March 29, 2012 4:56 PM > To: Liu, Song > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] How to change the startup application > >> I got a question about how to change the startup application with Yocto for images generated with Yocto. >> And I googled it and landed on this page: >> https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startu >> p _scripts. Pretty good, someone was thinking about the same thing. >> But this page turns out to be empty. It seems that we need to get >> better than this. >> >> I'm wondering if someone could update this wiki page or if the information is somewhere else... > > I do not know of if the information is elsewhere - I had to find this > information for my project > > Here is my stab at it (already updated the wiki): > > Q: How do I change and add startup scripts? > > A: Edit meta/recipes-sato/matchbox-sato/matchbox-session-sato/session. > Of course, if you have your own meta-layer, append the matchbox-session-sato_0.1.bb recipe. > > Disable 'matchbox-desktop' and 'matchbox-panel', however, do not disable 'exec matchbox-window-manager ...' > > Don't forget to run your app as a background process > > For example, the following code will start the fifteen game: > > #matchbox-desktop & > > # Lines containing feature-[foo] are removed at build time if the machine # doesn't have the feature "foo". > > #START_APPLETS=showdesktop,windowselector > #END_APPLETS=clock,battery,systray,startup-notify,notify > #END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone > > #matchbox-panel --titlebar --start-applets $START_APPLETS > --end-applets $END_APPLETS & > > /usr/games/fifteen & > > exec matchbox-window-manager -theme Sato -use_desktop_mode decorated > -use_cursor $SHOWCURSOR $@ ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: How to change the startup application 2012-04-03 21:58 ` Liu, Song @ 2012-04-04 10:06 ` James Abernathy 0 siblings, 0 replies; 23+ messages in thread From: James Abernathy @ 2012-04-04 10:06 UTC (permalink / raw) To: Liu, Song; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 3654 bytes --] Just an observation. the FAQ link that Autif did looks like a How Do I, which is the section in the Wiki right after the FAQ. Does that matter to anyone? Jim A On Tue, Apr 3, 2012 at 5:58 PM, Liu, Song <song.liu@intel.com> wrote: > Thanks, Autif. I guess I missed the last word for the link, but it's > strange that the page was there. Anyway, I deleted mine. > > Song > > -----Original Message----- > From: Autif Khan [mailto:autif.mlist@gmail.com] > Sent: Tuesday, April 03, 2012 2:23 PM > To: Liu, Song > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] How to change the startup application > > Hi Song, > > I thought that I already updated the wiki. It seems like you created an > extra page. "_scripts" is missing from the link. It should be there. > > Source: > https://wiki.yoctoproject.org/wiki/Category:FAQ > > What I added days ago: > > https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup_scripts > > What you added (which I think should be deleted): > https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup > > Agree? > > On Tue, Apr 3, 2012 at 4:34 PM, Liu, Song <song.liu@intel.com> wrote: > > Hi Autif, thanks a lot for providing the answer here. Since no one is > showing any objections here, I updated the wiki page with your answer ( > https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup). > Please let me know if there is any suggestions or concerns. > > > > Song > > > > -----Original Message----- > > From: Autif Khan [mailto:autif.mlist@gmail.com] > > Sent: Thursday, March 29, 2012 4:56 PM > > To: Liu, Song > > Cc: yocto@yoctoproject.org > > Subject: Re: [yocto] How to change the startup application > > > >> I got a question about how to change the startup application with Yocto > for images generated with Yocto. > >> And I googled it and landed on this page: > >> https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startu > >> p _scripts. Pretty good, someone was thinking about the same thing. > >> But this page turns out to be empty. It seems that we need to get > >> better than this. > >> > >> I'm wondering if someone could update this wiki page or if the > information is somewhere else... > > > > I do not know of if the information is elsewhere - I had to find this > > information for my project > > > > Here is my stab at it (already updated the wiki): > > > > Q: How do I change and add startup scripts? > > > > A: Edit meta/recipes-sato/matchbox-sato/matchbox-session-sato/session. > > Of course, if you have your own meta-layer, append the > matchbox-session-sato_0.1.bb recipe. > > > > Disable 'matchbox-desktop' and 'matchbox-panel', however, do not disable > 'exec matchbox-window-manager ...' > > > > Don't forget to run your app as a background process > > > > For example, the following code will start the fifteen game: > > > > #matchbox-desktop & > > > > # Lines containing feature-[foo] are removed at build time if the > machine # doesn't have the feature "foo". > > > > #START_APPLETS=showdesktop,windowselector > > #END_APPLETS=clock,battery,systray,startup-notify,notify > > #END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone > > > > #matchbox-panel --titlebar --start-applets $START_APPLETS > > --end-applets $END_APPLETS & > > > > /usr/games/fifteen & > > > > exec matchbox-window-manager -theme Sato -use_desktop_mode decorated > > -use_cursor $SHOWCURSOR $@ > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > [-- Attachment #2: Type: text/html, Size: 5194 bytes --] ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: How to change the startup application 2012-03-29 23:56 ` Autif Khan 2012-04-03 20:34 ` Liu, Song @ 2016-10-25 13:02 ` Nikola Popovic 2016-10-25 15:52 ` Khem Raj 1 sibling, 1 reply; 23+ messages in thread From: Nikola Popovic @ 2016-10-25 13:02 UTC (permalink / raw) To: yocto Greetings. Is there any possibility to make recipe which start and run application inside weston terminal when Yocto starts. Tnx ! -- Nikola Popovic Software Engineer Tel: +381 21 4801 1304 E-mail : nikola.popovic@rt-rk.com RT-RK LLC Narodnog fronta 23a 21000 Novi Sad Serbia www.rt-rk.com ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: How to change the startup application 2016-10-25 13:02 ` Nikola Popovic @ 2016-10-25 15:52 ` Khem Raj 0 siblings, 0 replies; 23+ messages in thread From: Khem Raj @ 2016-10-25 15:52 UTC (permalink / raw) To: Nikola Popovic; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 714 bytes --] > On Oct 25, 2016, at 6:02 AM, Nikola Popovic <nikola.popovic@rt-rk.com> wrote: > > Greetings. > > Is there any possibility to make recipe which start and run application inside weston terminal when Yocto starts. weston init does have mechanism for such usecases see weston.ini. I would recommend to read through weston docs. > > Tnx ! > > > -- > Nikola Popovic > Software Engineer > Tel: +381 21 4801 1304 > E-mail : nikola.popovic@rt-rk.com > > RT-RK LLC > Narodnog fronta 23a > 21000 Novi Sad > Serbia > www.rt-rk.com > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto [-- Attachment #2: Message signed with OpenPGP using GPGMail --] [-- Type: application/pgp-signature, Size: 211 bytes --] ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: issue building iputils with uclibc. 2012-03-29 19:05 ` Paul Eggleton 2012-03-29 19:49 ` Khem Raj @ 2012-03-30 10:27 ` Paul Eggleton 1 sibling, 0 replies; 23+ messages in thread From: Paul Eggleton @ 2012-03-30 10:27 UTC (permalink / raw) To: John Toomey; +Cc: yocto On Thursday 29 March 2012 20:05:52 Paul Eggleton wrote: > On Thursday 29 March 2012 14:20:44 John Toomey wrote: > > On 20/03/2012 16:56, Khem Raj wrote: > > > go into the uclibc build tree and like kernel or busybox it will have > > > a .config and grok that. If this is disabled then enable it in > > > uClibc.distro file under uclibc recipes dir and rebuild uclibc. > > > ideally these are distro knobs but for tests you can try it > > > file ( uclibc uses kconfig ) > > > > I am unable to find a .config file in the uclibc build tree, can you be > > more specific about the path i might find it at? > > > > UCLIBC_HAS_RESOLVER_SUPPORT=y doesnt seem to be present in the > > uClibc.distro file, i added it and tried running the build again with no > > success. Is there anything else I can try? > > OK, so I just gave this build a try. You can find the configuration actually > used in the build in TMPDIR/work/i586-poky-linux-uclibc/uclibc-0.9.32- > r4.3/git/.config (directory names may vary slightly depending on your > build configuration). > > With master, when I checked my version of that file, > UCLIBC_HAS_RESOLVER_SUPPORT=y is set, so apparently this feature is getting > enabled by default. However, when I did the same on edison (which uses > uclibc 0.9.32 as opposed to 0.9.33) that setting is not present. Digging > around I'm beginning to wonder if this option was perhaps added in uclibc > 0.9.33, which if true would explain why it is not present when building > uclibc in edison; but does that mean the underlying functionality was added > in that version or just the option? More detective work - the dn_comp() function was indeed not in uclibc until 0.9.33; also, the reference to dn_comp() was added in the following commit to iputils: http://www.linux- ipv6.org/gitweb/gitweb.cgi?p=gitroot/iputils.git;a=commitdiff;h=ac3fe58bc1939c8ed3cf34c30f713dfe82b27ce5 So I guess you have a few options: 1) Avoid using iputils altogether - you can get very basic versions of the utilities in iputils from busybox. Looks like on the face of it nothing depends on iputils but it is pulled in via task-core-basic (which is pulled in by core-image-basic). 2) Upgrade to uclibc 0.9.33 (can be done in a separate layer on top of edison) 3) Patch iputils to remove the call to this function and any others that aren't in uclibc 0.9.32 4) Patch iputils to not build ping6 5) Build an older version of iputils Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 23+ messages in thread
* issue building iputils with uclibc @ 2012-03-09 15:18 John Toomey 2012-03-09 15:29 ` Khem Raj 0 siblings, 1 reply; 23+ messages in thread From: John Toomey @ 2012-03-09 15:18 UTC (permalink / raw) To: yocto Hello all I'm having problems compiling iputils with uclibc - | ping6.o: In function `niquery_option_subject_name_handler': | /tmp/work/i586-poky-linux-uclibc/iputils-s20101006-r2/iputils-s20101006/ping6.c:428: undefined reference to `dn_comp' | collect2: ld returned 1 exit status | make: *** [ping6] Error 1 | make: *** Waiting for unfinished jobs.... | make[1]: Leaving directory `/tmp/work/i586-poky-linux-uclibc/iputils-s20101006-r2/iputils-s20101006/doc' | ERROR: oe_runmake failed NOTE: package iputils-s20101006-r2: task do_compile: Failed ERROR: Task 4 (/poky/meta/recipes-extended/iputils/iputils_s20101006.bb, do_compile) failed with exit code '1' It works fine with eglibc. Any help would be greatly appreciated! Regards John ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: issue building iputils with uclibc 2012-03-09 15:18 John Toomey @ 2012-03-09 15:29 ` Khem Raj 2012-03-09 15:45 ` John Toomey 0 siblings, 1 reply; 23+ messages in thread From: Khem Raj @ 2012-03-09 15:29 UTC (permalink / raw) To: John Toomey; +Cc: yocto On Fri, Mar 9, 2012 at 7:18 AM, John Toomey <john.toomey@linux.intel.com> wrote: > undefined reference to `dn_comp' add LDFLAGS_libc-uclibc_append = " -lresolv" to recipe. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: issue building iputils with uclibc 2012-03-09 15:29 ` Khem Raj @ 2012-03-09 15:45 ` John Toomey 2012-03-09 16:45 ` Khem Raj 0 siblings, 1 reply; 23+ messages in thread From: John Toomey @ 2012-03-09 15:45 UTC (permalink / raw) To: Khem Raj; +Cc: yocto On 09/03/2012 15:29, Khem Raj wrote: > On Fri, Mar 9, 2012 at 7:18 AM, John Toomey<john.toomey@linux.intel.com> wrote: >> undefined reference to `dn_comp' > add LDFLAGS_libc-uclibc_append = " -lresolv" to recipe. > Hi Raj I'm still getting the same... | ping6.o: In function `niquery_option_subject_name_handler': | /tmp/work/i586-poky-linux-uclibc/iputils-s20101006-r2/iputils-s20101006/ping6.c:428: undefined reference to `dn_comp' | collect2: ld returned 1 exit status | make: *** [ping6] Error 1 | make: *** Waiting for unfinished jobs.... | make[1]: Leaving directory `/tmp/work/i586-poky-linux-uclibc/iputils-s20101006-r2/iputils-s20101006/doc' | ERROR: oe_runmake failed NOTE: package iputils-s20101006-r2: task do_compile: Failed ERROR: Task 7 (/poky/meta/recipes-extended/iputils/iputils_s20101006.bb, do_compile) failed with exit code '1' Anything else I can try? Regards John ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: issue building iputils with uclibc 2012-03-09 15:45 ` John Toomey @ 2012-03-09 16:45 ` Khem Raj 2012-03-12 15:19 ` John Toomey 0 siblings, 1 reply; 23+ messages in thread From: Khem Raj @ 2012-03-09 16:45 UTC (permalink / raw) To: John Toomey; +Cc: yocto On Fri, Mar 9, 2012 at 7:45 AM, John Toomey <john.toomey@linux.intel.com> wrote: > > Anything else I can try? > Do you have UCLIBC_HAS_RESOLVER_SUPPORT=y in uclibc .config ? ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: issue building iputils with uclibc 2012-03-09 16:45 ` Khem Raj @ 2012-03-12 15:19 ` John Toomey 0 siblings, 0 replies; 23+ messages in thread From: John Toomey @ 2012-03-12 15:19 UTC (permalink / raw) To: Khem Raj; +Cc: yocto On 09/03/2012 16:45, Khem Raj wrote: > On Fri, Mar 9, 2012 at 7:45 AM, John Toomey<john.toomey@linux.intel.com> wrote: >> Anything else I can try? >> > Do you have UCLIBC_HAS_RESOLVER_SUPPORT=y > in uclibc .config ? > I dont think so, is there an easy way to check? How would I set it to try this? ^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~2016-10-25 15:52 UTC | newest] Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-03-20 15:49 issue building iputils with uclibc John Toomey 2012-03-20 16:23 ` Paul Eggleton 2012-03-20 16:56 ` Khem Raj 2012-03-29 13:20 ` John Toomey 2012-03-29 19:05 ` Paul Eggleton 2012-03-29 19:49 ` Khem Raj 2012-03-29 20:39 ` How to change the startup application Liu, Song 2012-03-29 23:56 ` Autif Khan 2012-04-03 20:34 ` Liu, Song 2012-04-03 20:46 ` Gary Thomas 2012-04-03 21:12 ` Autif Khan 2012-04-03 21:15 ` Gary Thomas 2012-04-03 21:23 ` Autif Khan 2012-04-03 21:58 ` Liu, Song 2012-04-04 10:06 ` James Abernathy 2016-10-25 13:02 ` Nikola Popovic 2016-10-25 15:52 ` Khem Raj 2012-03-30 10:27 ` issue building iputils with uclibc Paul Eggleton -- strict thread matches above, loose matches on Subject: below -- 2012-03-09 15:18 John Toomey 2012-03-09 15:29 ` Khem Raj 2012-03-09 15:45 ` John Toomey 2012-03-09 16:45 ` Khem Raj 2012-03-12 15:19 ` John Toomey
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.