Re: [yocto] QEMU Size Increase from Yocto Thud to Zeus
Hello Ross, Thanks ! I was able to reduce the size of the image by modifying the QEMU_TARGETS variable.. but on enabling buildhistory and checking under installed-image-sizes.txt , the individual package size of the qemu remains the same. Is this correct? If not is there any other optimization that can be done? Thanks in advance Aashik On Mon, Jun 14, 2021 at 4:23 PM Zoran Stojsavljevic < zoran.stojsavlje...@gmail.com> wrote: > > Yes, look at the PACKAGECONFIGs and setting QEMU_TARGETS. > > Does it mean that with the local.conf line: > > # enable,disable,depends,rdepends > # > PACKAGECONFIG[qemu] = "--with-qemu,--without-qemu,qemu," > > The QEMU is completely removed (this is all that needs to be done, or...)? > > Thank you, > Zee > ___ > > On Mon, Jun 14, 2021 at 12:14 PM Ross Burton wrote: > > > > Yes, look at the PACKAGECONFIGs and setting QEMU_TARGETS. > > > > Ross > > > > On Mon, 14 Jun 2021 at 09:04, Aashik Aswin > wrote: > > > > > > Thanks for the clarification, yes I am installing QEMU in my image. Is > there some way that we can disable the additional architectures and > streamline the size ? > > > > > > Thanks > > > > > > On Fri, Jun 11, 2021 at 8:48 PM Ross Burton > wrote: > > >> > > >> Are you installing qemu into your image though? > > >> > > >> Qemu did get larger as it is built with more architectures enabled, > > >> but unless you're installing it in your image it won't make a > > >> difference. > > >> > > >> Ross > > >> > > >> On Fri, 11 Jun 2021 at 11:40, Aashik Aswin > wrote: > > >> > > > >> > Hi Experts, > > >> > > > >> > I am upgrading my Linux from Yocto Thud to Zeus (5.4 Kernel) . > After building I could see a significant increase in the size of the image. > > >> > On checking with buildhistory enabled, I could see that qemu has > nearly doubled in size. > > >> > > > >> > Thud (4.19) - 223084 KiB qemu > > >> > Zeus (5.4) - 474757 KiB qemu > > >> > > > >> > Is this size increase expected or are there some additional configs > that might have been added as a part of the upgrade ? > > >> > > > >> > Appreciate your help. > > >> > > > >> > TIA, > > >> > Aashik > > >> > > > >> > > > >> > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54056): https://lists.yoctoproject.org/g/yocto/message/54056 Mute This Topic: https://lists.yoctoproject.org/mt/83465520/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Python2 in Gatesgarth
Hello Developers, We are migrating our platforms from Zeus to Gatesgarth, We could see that the native Python2 bb file and core modules have been removed. As much of our platform code is in Python2, I was wondering if there is some way we can re-enable python2 support in our yocto environment to compile/run python2 scripts ? Thanks in Advance, Thanks & Regards Aashik -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54022): https://lists.yoctoproject.org/g/yocto/message/54022 Mute This Topic: https://lists.yoctoproject.org/mt/83893547/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] QEMU Size Increase from Yocto Thud to Zeus
Thanks for the clarification, yes I am installing QEMU in my image. Is there some way that we can disable the additional architectures and streamline the size ? Thanks On Fri, Jun 11, 2021 at 8:48 PM Ross Burton wrote: > Are you installing qemu into your image though? > > Qemu did get larger as it is built with more architectures enabled, > but unless you're installing it in your image it won't make a > difference. > > Ross > > On Fri, 11 Jun 2021 at 11:40, Aashik Aswin > wrote: > > > > Hi Experts, > > > > I am upgrading my Linux from Yocto Thud to Zeus (5.4 Kernel) . After > building I could see a significant increase in the size of the image. > > On checking with buildhistory enabled, I could see that qemu has nearly > doubled in size. > > > > Thud (4.19) - 223084 KiB qemu > > Zeus (5.4) - 474757 KiB qemu > > > > Is this size increase expected or are there some additional configs that > might have been added as a part of the upgrade ? > > > > Appreciate your help. > > > > TIA, > > Aashik > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53852): https://lists.yoctoproject.org/g/yocto/message/53852 Mute This Topic: https://lists.yoctoproject.org/mt/83465520/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] QEMU Size Increase from Yocto Thud to Zeus
Hi Experts, I am upgrading my Linux from Yocto Thud to Zeus (5.4 Kernel) . After building I could see a significant increase in the size of the image. On checking with buildhistory enabled, I could see that qemu has nearly doubled in size. Thud (4.19) - 223084 KiB qemu Zeus (5.4) - 474757 KiB qemu Is this size increase expected or are there some additional configs that might have been added as a part of the upgrade ? Appreciate your help. TIA, Aashik -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53840): https://lists.yoctoproject.org/g/yocto/message/53840 Mute This Topic: https://lists.yoctoproject.org/mt/83465520/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Disable/Enable DHCLIENT in Yocto
Hi Developers, I am trying to add DHCLIENT package to my Yocto Zeus Build. However If we include "dhcp-client" package in yocto, the dhclient takes the priority over existing Busy box udhcpc and starts during the init. My box basically uses UDHCPC for getting the IPs and my intention is to install dhclient only on a need-to-use basis. is there a way where we can prevent DHCLIENT to run on init unless invoked manually ? Please let me know Thanks in advance, Aashik -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51620): https://lists.yoctoproject.org/g/yocto/message/51620 Mute This Topic: https://lists.yoctoproject.org/mt/78660747/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Perl-Native compilation for THUD in Red Hat 8
Hi Developers, I recently migrated my machine to Red Hat 8 , I am using Yocto Thud to build my customized yocto image. However, I am seeing the following Build Issue while compiling Perl-native /usr/include/errno.h:48:10: fatal error: bits/types/error_t.h: No such file or directory | #include | ^~ | compilation terminated. Is there a way that this dependency can be moved to Yocto itself, or is there some alternate way we can try out. Thanks in advance, Aashik -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50903): https://lists.yoctoproject.org/g/yocto/message/50903 Mute This Topic: https://lists.yoctoproject.org/mt/77234651/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] SIGINT Issues with Zeus Migration
Hi Leon, Zoran I am using Ctrl+C to kill the Ping command. Thanks. On Fri, Sep 25, 2020 at 3:56 PM Zoran Stojsavljevic < zoran.stojsavlje...@gmail.com> wrote: > Hello Leon, > > > Aashik, how are you sending the signal? Using CTRL-C or > > using the "kill" command? > > This is a good suggestion for the test. To open another terminal and > issue: kill -SIGINT . > > I should add that this MUST work: kill -SIGKILL , since > SIGKILL handler is un-preemptable. > > If it does not, something is very wrong... I suggest, Aashik, you > write YOCTO bugzilla for Zeus. > > > Zoran, are you suggesting that the program will change the signal > > handler to default even after it has exited, and for the subsequent > > ping command? > > Yes, I do. Then, the ping command should be issued again, and my best > guess is, it should terminate the ping process. > > Leon, you should try to write another C f-n and to install other > SIGINT handler (replacing SIG_DFL), then test it with my original C: > > void myhandler(int signum) { > if (SIGINT == signum) > printf("\nHey, I got SIGINT: %d\n\n",signum); > } > > Zoran > ___ > > On Fri, Sep 25, 2020 at 10:54 AM Leon Woestenberg > wrote: > > > > Hi Aashik, Zoran, > > > > > > On Fri, Sep 25, 2020 at 10:02 AM Zoran > wrote: > > > > > > > ...that I am not able to send SIGINT to commands such as Ping, tail > etc.\ > > > > Aashik, how are you sending the signal? Using CTRL-C or using the > > "kill" command? > > > > > > > > Please, do the following: issue in zeus xterm the command: man signal > > > and read it. > > > > > That reads to use sigaction() instead of signal() I would assume. > > > > > Then execute the following code (ad-hoc from the top of my head): > > > <...> > > > This program serves the double purpose: > > > [1] Gives you the address of the old SIGINT handler which was executed > > > prior execution of this code; > > > [2] After execution, repeat the routine (ping) and see if > > > terminates the ping process. > > > > > > > Zoran, are you suggesting that program will change the signal handler > > to default even after it has exited, and for the subsequent ping > > command? > > > > Regards, > > > > Leon. > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50818): https://lists.yoctoproject.org/g/yocto/message/50818 Mute This Topic: https://lists.yoctoproject.org/mt/77073508/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] SIGINT Issues with Zeus Migration
Hello Developers, I recently migrated all my platform Recipes from Thud (Linux 4.19) to Zeus (5.4). I understand there might be compatibility issues and was able to fix most of them. However one issue I am facing is that in the newly migrated Zeus Image is that I am not able to send SIGINT to commands such as Ping, tail etc. I am only able to run them in non-interactive mode. I have to reboot the box if I executed those above commands in interactive mode. Can anyone suggest which recipe/config can be a good starting point? Please let me know your suggestions. Thanks, Aashik -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50811): https://lists.yoctoproject.org/g/yocto/message/50811 Mute This Topic: https://lists.yoctoproject.org/mt/77073508/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] RootFS Size increase during Migration
Hi Developers, I am migrating my code from Yocto Thud (4.19) Kernel to Yocto Zeus (5.4) Kernel. The recipes and conf files are essentially the same, but I am seeing a substantial increase in the RootFS Size and Subsequent final image size (Close to 40 MB). Any idea on how we can debug this or where we can start for inspecting why the image size increase. Thanks, Aashik -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50438): https://lists.yoctoproject.org/g/yocto/message/50438 Mute This Topic: https://lists.yoctoproject.org/mt/76623835/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Removing Python2 Completely
Thanks, Now I am able to see only python-core remaining in the RootFS Manifest and Image size has decreased by nearly 10 MB. Thanks, Aashik On Fri, Aug 28, 2020 at 12:44 PM Maciej Pijanowski < maciej.pijanow...@3mdeb.com> wrote: > > On 28.08.2020 09:10, Aashik Aswin wrote: > > Hi, > > I am currently using Yocto Zeus. So is it safe to say that if we remove > all the Python2 calls from image, that itself will remove Python2 overall ? > > > If you want to remove python2 from the image, you need to make sure that > no other package installed > to the image RDEPENDS (runtime dependency) on it. I would start with > checking what still pulls the > python2 to your image. > > > https://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#usingpoky-debugging-dependencies > > Also, please reply to the list, not directly to just me. > > > Thanks, > Aashik > > On Fri 28 Aug, 2020, 12:37 PM Maciej Pijanowski, < > maciej.pijanow...@3mdeb.com> wrote: > >> >> On 28.08.2020 09:04, Aashik Aswin wrote: >> >> Hi, >> >> I am trying to remove Python2 and it's supporting modules completely from >> my Image, as I have moved all my code to Python3 and hence no longer >> require Python2. I tried the IMAGE_INSTALL_remove variable but seems to >> have no effect. Is there a way I can remove Python2 without much changes to >> the layers and through configuration variables only ? >> >> You can see what is pulling the python2 to the image (using the bitbake >> -g for example). >> >> Which Yocto release are you using? I believe the latest one (Dunfell) is >> already python3 only. >> >> >> >> Please point me to the correct mailer if I am wrong. >> >> Thanks, >> Aashik >> >> -- >> Maciej Pijanowski >> Embedded Systems Engineer >> GPG: 9963C36AAC3B2B46https://3mdeb.com | @3mdeb_com >> >> >> > -- > Maciej Pijanowski > Embedded Systems Engineer > GPG: 9963C36AAC3B2B46https://3mdeb.com | @3mdeb_com > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50401): https://lists.yoctoproject.org/g/yocto/message/50401 Mute This Topic: https://lists.yoctoproject.org/mt/76468916/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Removing Python2 Completely
Hi, I am trying to remove Python2 and it's supporting modules completely from my Image, as I have moved all my code to Python3 and hence no longer require Python2. I tried the IMAGE_INSTALL_remove variable but seems to have no effect. Is there a way I can remove Python2 without much changes to the layers and through configuration variables only ? Please point me to the correct mailer if I am wrong. Thanks, Aashik -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50394): https://lists.yoctoproject.org/g/yocto/message/50394 Mute This Topic: https://lists.yoctoproject.org/mt/76468916/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-