Build success (mostly), disk space a little huge
For those interested in my build saga, I performed a mostly successful build of poky-minimal-image on my old Fedora 8 distro (oustide my Sony firewall).
This was after I installed an poky 586 sdk, and set path to include /opt/poky/.../usr/bin (to pick up python 2.6.5)
and after adding a fedora package to add chrpath to my system (not listed on the yocto distro help page).
The build took 6 hours, and the emulator didn't quite finish. Here was the error: ERROR: Logfile of failure stored in: /a/home/tbird/work/yocto/poky-4.0-build/tmp/work/i686-linux/qemu-native-0.12.4-r22/temp/log.do_configure.12332 Log data follows: | You need libGL.so and libGLU.so to exist in your library path and the development headers for SDL installed to build qemu-native. | Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev | ERROR: Task failed: ('function do_configure failed', '/a/home/tbird/work/yocto/poky-4.0-build/tmp/work/i686-linux/qemu-native-0.12.4-r22/temp/log.do_configure.12332') NOTE: package qemu-native-0.12.4-r22: task do_configure: Failed
I checked, and indeed my system is missing SDL-devel. Due to some broken dependencies in my yum database, it turned out to be difficult to install this package, and I'm going to give up (again) on this machine.
I noticed after the build that my yocto directory was consuming 30G of disk space. The big parts were in yocto/poky-4.0-build/tmp/work $ du -sh * 2.2M all-poky-linux 18G i586-poky-linux 3.5G i686-linux 4.6G qemux86-poky-linux
This seems a bit high? Is this normal? -- Tim
============================= Tim Bird Architecture Group Chair, CE Linux Forum Senior Staff Engineer, Sony Network Entertainment =============================
|
|
Master is re-opened for M3 work
Folks,
We have forked M2 off to builds/milestone now and master is open again for M3 integration.
M2 will take specific and targeted changes for stability and critical bug fixing.
Master is available for Bug Fixing, Recipe updating and new feature support.
-- Sau!
Saul Wold Yocto Component Wrangler @ Intel Yocto Project / Poky Build System
|
|
Re: [poky] Recipe Updating Status and call to action
Thanks Saul for working out this list.
I am a bit surprised on the large number of to-be-upgraded list: 160, because according to our plan, we actually upgrade most of the recipes in M2, and only a small number of recipes are supposed to be left for M3. To find out the reason why, PRC team collect some data to analysis, and here is the result:
Among the 160, PRC team (Dexuan, Dongxiao, Edwin, Ke, Qing) owns 105 recipes. the 105 recipes can be grouped into 3 cases: Case A: the recipe is not planned to upgrade in M2, mostly due to that it is up-to-update in M2 planning time, and later has new version available. Case B: the recipe is planned to upgrade in M2, but not upgrade and leave it to M3 Case C: the recipe is planned to upgrade in M2, and it is upgraded in M2, but later has new version available.
According to our data collection, Case A has 31 recipes, Case B has 21 recipes, Case C has 53 recipes. In other word, in M2 time, we leave 21 recipes (Case B) for M3, but due to new version available after the planning, there are extra 84 recipes (case A + case C) added to be upgraded. Even only count Case C, we can see almost 50% ofM3 to-be-upgraded recipes are already upgraded in M2. This is probably one area we can improved in the future.
Regards Ke
toggle quoted messageShow quoted text
-----Original Message----- From: poky-bounces@... [mailto:poky- bounces@...] On Behalf Of Saul Wold Sent: Thursday, December 16, 2010 8:58 AM To: Yocto Project Discussion; poky@... Subject: [poky] Recipe Updating Status and call to action
Folks,
As we get ready for M3 opening up shortly, I wanted to get folks aware of where we are with M2 and the recipe updating process. Based on my rough reckoning, we had about 266 recipes that needed updating at the start of M2, we updated about 110 (possibly more). There are now about 160 recipes in the update list that need tackling.
Also, the distro tracking data for Version information is getting stale, there are about 135 RECIPE_LATEST_VERSION metadata tags that need to be updated.
I have attached a spreadsheet that shows the update status of both the upstream (RMatch Column) and tracking data (TMatch Column).
I would like to see the team and community pitch in and complete these 160 recipe updates for the 1.0 Release. Please be sure the ownership / RECIPE_MAINTAINER information is correct.
IMPORTANT: Please use distro/stage in poky-contrib to update the distro_tracking_fields.inc file, I have many updates in that already, I will do my best not to rebase that until we get it updated.
The attached spread sheet contains 3 Sheets, please review the 2nd and 3rd sheets (Labeled Tracking Updates and Recipe Updates respectively).
Thanks.
-- Sau!
Saul Wold Yocto Component Wrangler @ Intel Yocto Project / Poky Build System
|
|
Re: Try latest yocto adt script installer
Ke, Liping <liping.ke@...>
Hi, Jessica
Another thing is that after we bitbake the tarball, since bitbake will help us to do_unpack, so untar opkg is not needed actually. After bitbake job is finished, I will change the installer script code to remove untar opkg tarball steps.
Thanks& Regards, criping
|
|
Re: Try latest yocto adt script installer
Ke, Liping <liping.ke@...>
Hi, Jessica
I have updated the scripts. If a qemu file has been downloaded before, It will prompt user download the new or keep the old one. Any problem, just let me know.
They're in the same location (contrib.git and lianhao's link)
Thanks& Regards, criping
toggle quoted messageShow quoted text
-----Original Message----- From: Zhang, Jessica Sent: Thursday, December 16, 2010 12:44 PM To: Ke, Liping; Lu, Lianhao Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Ke, Liping wrote:
Hi, Jessica
I have tested newly added image types (sato minimal) in the user configuration file.
One known thing is: for extracting root fs, currently our code/configuration logic is: Only one rootfs (minimal, sato, sdk) is workable for each arch. It's our current design, the thinking is no matter what rootfs (minimal, sato, sdk or lsb), very likely user needs to use some sort of package management system to add and remove packages in target sysroot. The rootfs just gives user the closest base to start with...
So if user want to extract another rootfs, he needs to change user config and run the installation again. I am not sure if we need to allow user to extract multiple rootfs for each arch. In that case, either configuration file section needs to add directory unfs-folder for each arch-imagetype combination or keep the configuration file, we automatically add sub directory image type under user's designated nfs-folder.
As for downloading file, I strongly feel that we need let user choose whether he want to download again if the same file name existing in the ./download folder with more and more available testing qemu images... Even in intranet, I felt the downloading is quite slow... Each time when testing, I need to wait several minutes. Then can you modify the code before downloading each file, check whether its already exist or not, if so, prompt the user to confirm re-download or skip? And remove the existing checking for the download directory?
Thanks, Jessica
The tarball is available now @ http://llu-piketon.sh.intel.com/installer.tar
And for tracking, I checkin it @ http://git.pokylinux.org/cgit.cgi/poky- contrib/log/?h=lke/installer_new
Thanks& Regards, criping
-----Original Message----- From: Zhang, Jessica Sent: Wednesday, December 15, 2010 5:10 PM To: Ke, Liping; Lu, Lianhao Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Liping,
The newly update scripts are at: http://git.pokylinux.org/cgit.cgi/poky- contrib/commit/?h=jzhang/installer_ne w With following changes: more messages cleanup, fix issues: 1) download all the specified rootfs fiels, 2) add check for yocto_installer_internal, 3) error out when sysroot image file or sysroot location are empty
- Jessica
Ke, Liping wrote:
Hi, Jessica
You said you will give me a new cs today with new cleanups/bugfixes before I am working with recover wget percentage information?
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Wednesday, December 15, 2010 1:18 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have checked in the changes based on your changeset. Now nfs extraction folders could be deleted/operated by user.
And also, the config file is changed since the version number now is 0.9+snapshot.
Currently repository only has arm/x86 sdks. So I changed that in User config too.
Any problem, just let me know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Wednesday, December 15, 2010 1:03 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Liping,
All my changes are captured under: http://git.pokylinux.org/cgit.cgi/poky- contrib/log/?h=jzhang/installer OK.
My installation stopped at:
./yocto_installer_internal: line 165: /opt/poky/0.9-post/sysroots/i586-pokysdk-linux//usr/bin/pseudo: No such file or directory It's caused because you changed 0.9-post to 0.9+snapshot. The version is now defined in the yocto_installer.conf.
Also, for solving the user priviledge problem, I will change user nfs root owner to $USER:$GROUP (lke:lke, eg). Because we found opkg must run under root. Otherwise, the root folder will have to be changed. It will be not good.
Thanks& Regards, criping
We'll sync later tonight...
Thanks, Jessica Ke, Liping wrote:
Hi, Jessica
For tracing the file, I temporarily checked in all needed files into my branch:
http://git.pokylinux.org/cgit/cgit.cgi/poky- contrib/log/?h=lke/adt_installer _initial
If you have some modification on echo message, you can directly change and submit the changes. Since I am not sure about what kinds of echo message is most wanted by user. I temporarily put It under folder ${POKYBASE}/scripts/adt_installer
For testing, Lianhao temporarily make SDK_VERSION="0.9-post", it's now defined in Yocto_installer.conf.
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Tuesday, December 14, 2010 5:20 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have updated the script and it is still put under
http://llu-
piketon.sh.intel.com/installer.tar.
1. For util path problem, the solution is that we need to find the dirname of running script, then cd to that folder. 2. For logfile, now I will output all detailed information to the log file for tracing. 3. If environement-file is not there, error will be reported. 4. Add Error: prompt for errors.
Proxy should be disabled before testing.
I tested for both 32 bit and 64 bit host. Yet I am not sure whether I could cover all corner cases... And Lianhao will easily cause hard-disk not responding when running the script. Haven't root cause the problem. (My two test machine is just fine) If you meet the same issue, please let us know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Tuesday, December 14, 2010 2:40 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Why we must run the script under the adt-installer directory? Actually I tried to run under $HOME or / but specifying the full path to yocto_installer, and got the error: [ADT_INST] script file util is not found! Oh, it's caused by the include grammar. I need to check how
to
solve the relative path problem with include grammar in shell script. It should not be difficult.
############################################# # Meet error when installing Yocto ADT. #############################################
2 comments here: 1. we should be able to allow user run the yocto_installer script from any location and it should be able to locate the needed surporting files or scripts 2. As a convention and to be consistent, I'd suggest change the above error message as "[ADT_INST] Error: Script file util is not found!" There're several error messages in the scripts has the Error message format that I'm talking about here, which you can look up as a reference. No problem, I will unify all error messages.
3. Build log are located @
adt_installer/yoctoadt_installer.log
4. User config ( install which targets) are defined/changed in Yocto_installer.conf. Note: now only i586 qemu rootfs are available in repository.
Any problem, just let me know. Just by playing with it, I change YOCTOADT_TARGETS="ppc" in yocto_installer.conf. And the prompt that I got is as follows:
[ADT_INST] selected archs defined in Host Area Item: YOCTOADT_TARGETS is not valid! Error: Terminate installation process due to errors! It's expected behavior. Since powerpcc is the correct name.
3. It would be nice to point out Host Area resides in which file, and also tells user what are the valid entries
4. It's not consistent when existing the program when
running
into errors, see the above and here just "Error: "...
During the Make opkg..., there're bunch of warning messages can we redirect them to the log file? Also, it seems the log file contents is less than what shows on the screen (STDOUT), which I think should be the reverse case, people should be able to trace more info in the log file? E.g. during downloading rootfs, all the info where it download from and saved to where are showed on the screen but missing in the log file... Log file problem is solved totally by replacing " >> " with "&>>" pointed by Lianhao.
Toward the end of the installation, I run into:
[ADT_INST] Re-generate environment script file according to rootfs location. Ls: cannot access /opt/poky/0.9+snapshot-20101211/environment- setup- i586*:
No
such file or directory Sed: no input files Missing guard will be added here. I will send the updated scripts which will address most of the problem.
Btw: I need someone review the script totally. I am afraid some of the scripts Might not obey shell's world conventions since this is the first script I wrote. I have to say I did try several blackbox test yet failed to cover all corner problems.
Updated scripts will soon be published.
Thanks & Regards, criping
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
|
|
Re: Try latest yocto adt script installer
Ke, Liping <liping.ke@...>
Then can you modify the code before downloading each file, check whether its already exist or not, if so, prompt the user to confirm re-download or skip? And remove the existing checking for the download directory? Hi, Jessica Sure. I will change it and send you the updated patch a little later. criping
|
|
Re: Try latest yocto adt script installer
Ke, Liping wrote: Hi, Jessica
I have tested newly added image types (sato minimal) in the user configuration file.
One known thing is: for extracting root fs, currently our code/configuration logic is: Only one rootfs (minimal, sato, sdk) is workable for each arch. It's our current design, the thinking is no matter what rootfs (minimal, sato, sdk or lsb), very likely user needs to use some sort of package management system to add and remove packages in target sysroot. The rootfs just gives user the closest base to start with... So if user want to extract another rootfs, he needs to change user config and run the installation again. I am not sure if we need to allow user to extract multiple rootfs for each arch. In that case, either configuration file section needs to add directory unfs-folder for each arch-imagetype combination or keep the configuration file, we automatically add sub directory image type under user's designated nfs-folder.
As for downloading file, I strongly feel that we need let user choose whether he want to download again if the same file name existing in the ./download folder with more and more available testing qemu images... Even in intranet, I felt the downloading is quite slow... Each time when testing, I need to wait several minutes. Then can you modify the code before downloading each file, check whether its already exist or not, if so, prompt the user to confirm re-download or skip? And remove the existing checking for the download directory? Thanks, Jessica The tarball is available now @ http://llu-piketon.sh.intel.com/installer.tar
And for tracking, I checkin it @ http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lke/installer_new
Thanks& Regards, criping
-----Original Message----- From: Zhang, Jessica Sent: Wednesday, December 15, 2010 5:10 PM To: Ke, Liping; Lu, Lianhao Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Liping,
The newly update scripts are at: http://git.pokylinux.org/cgit.cgi/poky- contrib/commit/?h=jzhang/installer_ne w With following changes: more messages cleanup, fix issues: 1) download all the specified rootfs fiels, 2) add check for yocto_installer_internal, 3) error out when sysroot image file or sysroot location are empty
- Jessica
Ke, Liping wrote:
Hi, Jessica
You said you will give me a new cs today with new cleanups/bugfixes before I am working with recover wget percentage information?
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Wednesday, December 15, 2010 1:18 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have checked in the changes based on your changeset. Now nfs extraction folders could be deleted/operated by user.
And also, the config file is changed since the version number now is 0.9+snapshot.
Currently repository only has arm/x86 sdks. So I changed that in User config too.
Any problem, just let me know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Wednesday, December 15, 2010 1:03 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Liping,
All my changes are captured under: http://git.pokylinux.org/cgit.cgi/poky- contrib/log/?h=jzhang/installer OK.
My installation stopped at:
./yocto_installer_internal: line 165: /opt/poky/0.9-post/sysroots/i586-pokysdk-linux//usr/bin/pseudo: No such file or directory It's caused because you changed 0.9-post to 0.9+snapshot. The version is now defined in the yocto_installer.conf.
Also, for solving the user priviledge problem, I will change user nfs root owner to $USER:$GROUP (lke:lke, eg). Because we found opkg must run under root. Otherwise, the root folder will have to be changed. It will be not good.
Thanks& Regards, criping
We'll sync later tonight...
Thanks, Jessica Ke, Liping wrote:
Hi, Jessica
For tracing the file, I temporarily checked in all needed files into my branch:
http://git.pokylinux.org/cgit/cgit.cgi/poky- contrib/log/?h=lke/adt_installer _initial
If you have some modification on echo message, you can directly change and submit the changes. Since I am not sure about what kinds of echo message is most wanted by user. I temporarily put It under folder ${POKYBASE}/scripts/adt_installer
For testing, Lianhao temporarily make SDK_VERSION="0.9-post", it's now defined in Yocto_installer.conf.
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Tuesday, December 14, 2010 5:20 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have updated the script and it is still put under http://llu- piketon.sh.intel.com/installer.tar.
1. For util path problem, the solution is that we need to find the dirname of running script, then cd to that folder. 2. For logfile, now I will output all detailed information to the log file for tracing. 3. If environement-file is not there, error will be reported. 4. Add Error: prompt for errors.
Proxy should be disabled before testing.
I tested for both 32 bit and 64 bit host. Yet I am not sure whether I could cover all corner cases... And Lianhao will easily cause hard-disk not responding when running the script. Haven't root cause the problem. (My two test machine is just fine) If you meet the same issue, please let us know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Tuesday, December 14, 2010 2:40 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Why we must run the script under the adt-installer directory? Actually I tried to run under $HOME or / but specifying the full path to yocto_installer, and got the error: [ADT_INST] script file util is not found! Oh, it's caused by the include grammar. I need to check how to solve the relative path problem with include grammar in shell script. It should not be difficult.
############################################# # Meet error when installing Yocto ADT. #############################################
2 comments here: 1. we should be able to allow user run the yocto_installer script from any location and it should be able to locate the needed surporting files or scripts 2. As a convention and to be consistent, I'd suggest change the above error message as "[ADT_INST] Error: Script file util is not found!" There're several error messages in the scripts has the Error message format that I'm talking about here, which you can look up as a reference. No problem, I will unify all error messages.
3. Build log are located @
adt_installer/yoctoadt_installer.log
4. User config ( install which targets) are defined/changed in Yocto_installer.conf. Note: now only i586 qemu rootfs are available in repository.
Any problem, just let me know. Just by playing with it, I change YOCTOADT_TARGETS="ppc" in yocto_installer.conf. And the prompt that I got is as follows:
[ADT_INST] selected archs defined in Host Area Item: YOCTOADT_TARGETS is not valid! Error: Terminate installation process due to errors! It's expected behavior. Since powerpcc is the correct name.
3. It would be nice to point out Host Area resides in which file, and also tells user what are the valid entries
4. It's not consistent when existing the program when running into errors, see the above and here just "Error: "...
During the Make opkg..., there're bunch of warning messages can we redirect them to the log file? Also, it seems the log file contents is less than what shows on the screen (STDOUT), which I think should be the reverse case, people should be able to trace more info in the log file? E.g. during downloading rootfs, all the info where it download from and saved to where are showed on the screen but missing in the log file... Log file problem is solved totally by replacing " >> " with "&>>" pointed by Lianhao.
Toward the end of the installation, I run into:
[ADT_INST] Re-generate environment script file according to rootfs location. Ls: cannot access /opt/poky/0.9+snapshot-20101211/environment- setup- i586*: No such file or directory Sed: no input files Missing guard will be added here. I will send the updated scripts which will address most of the problem.
Btw: I need someone review the script totally. I am afraid some of the scripts Might not obey shell's world conventions since this is the first script I wrote. I have to say I did try several blackbox test yet failed to cover all corner problems.
Updated scripts will soon be published.
Thanks & Regards, criping
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
|
|
Re: Try latest yocto adt script installer
Ke, Liping <liping.ke@...>
Hi, Jessica I have tested newly added image types (sato minimal) in the user configuration file. One known thing is: for extracting root fs, currently our code/configuration logic is: Only one rootfs (minimal, sato, sdk) is workable for each arch. So if user want to extract another rootfs, he needs to change user config and run the installation again. I am not sure if we need to allow user to extract multiple rootfs for each arch. In that case, either configuration file section needs to add directory unfs-folder for each arch-imagetype combination or keep the configuration file, we automatically add sub directory image type under user's designated nfs-folder. As for downloading file, I strongly feel that we need let user choose whether he want to download again if the same file name existing in the ./download folder with more and more available testing qemu images... Even in intranet, I felt the downloading is quite slow... Each time when testing, I need to wait several minutes. The tarball is available now @ http://llu-piketon.sh.intel.com/installer.tarAnd for tracking, I checkin it @ http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lke/installer_newThanks& Regards, criping
toggle quoted messageShow quoted text
-----Original Message----- From: Zhang, Jessica Sent: Wednesday, December 15, 2010 5:10 PM To: Ke, Liping; Lu, Lianhao Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Liping,
The newly update scripts are at: http://git.pokylinux.org/cgit.cgi/poky- contrib/commit/?h=jzhang/installer_ne w With following changes: more messages cleanup, fix issues: 1) download all the specified rootfs fiels, 2) add check for yocto_installer_internal, 3) error out when sysroot image file or sysroot location are empty
- Jessica
Ke, Liping wrote:
Hi, Jessica
You said you will give me a new cs today with new cleanups/bugfixes before I am working with recover wget percentage information?
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Wednesday, December 15, 2010 1:18 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have checked in the changes based on your changeset. Now nfs extraction folders could be deleted/operated by user.
And also, the config file is changed since the version number now is 0.9+snapshot.
Currently repository only has arm/x86 sdks. So I changed that in User config too.
Any problem, just let me know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Wednesday, December 15, 2010 1:03 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Liping,
All my changes are captured under: http://git.pokylinux.org/cgit.cgi/poky- contrib/log/?h=jzhang/installer OK.
My installation stopped at:
./yocto_installer_internal: line 165: /opt/poky/0.9-post/sysroots/i586-pokysdk-linux//usr/bin/pseudo: No such file or directory It's caused because you changed 0.9-post to 0.9+snapshot. The version is now defined in the yocto_installer.conf.
Also, for solving the user priviledge problem, I will change user nfs root owner to $USER:$GROUP (lke:lke, eg). Because we found opkg must run under root. Otherwise, the root folder will have to be changed. It will be not good.
Thanks& Regards, criping
We'll sync later tonight...
Thanks, Jessica Ke, Liping wrote:
Hi, Jessica
For tracing the file, I temporarily checked in all needed files into my branch:
http://git.pokylinux.org/cgit/cgit.cgi/poky- contrib/log/?h=lke/adt_installer _initial
If you have some modification on echo message, you can directly change and submit the changes. Since I am not sure about what kinds of echo message is most wanted by user. I temporarily put It under folder ${POKYBASE}/scripts/adt_installer
For testing, Lianhao temporarily make SDK_VERSION="0.9-post",
it's
now defined in Yocto_installer.conf.
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Tuesday, December 14, 2010 5:20 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have updated the script and it is still put under http://llu- piketon.sh.intel.com/installer.tar.
1. For util path problem, the solution is that we need to find the dirname of running script, then cd to that folder. 2. For logfile, now I will output all detailed information to the log file for tracing. 3. If environement-file is not there, error will be reported. 4. Add Error: prompt for errors.
Proxy should be disabled before testing.
I tested for both 32 bit and 64 bit host. Yet I am not sure whether I could cover all corner cases... And Lianhao will easily cause hard-disk not responding when running the script. Haven't root cause the problem. (My two test machine is just fine) If you meet the same issue, please let us know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Tuesday, December 14, 2010 2:40 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Why we must run the script under the adt-installer directory? Actually I tried to run under $HOME or / but specifying the full path to yocto_installer, and got the error: [ADT_INST] script file util is not found! Oh, it's caused by the include grammar. I need to check how to solve the relative path problem with include grammar in shell script. It should not be difficult.
############################################# # Meet error when installing Yocto ADT. #############################################
2 comments here: 1. we should be able to allow user run the yocto_installer script from any location and it should be able to locate the needed surporting files or scripts 2. As a convention and to be consistent, I'd suggest change
the
above error message as "[ADT_INST] Error: Script file util is not found!" There're several error messages in the scripts has the Error message format that I'm talking about here, which you can look up as a reference. No problem, I will unify all error messages.
3. Build log are located @
adt_installer/yoctoadt_installer.log
4. User config ( install which targets) are defined/changed
in
Yocto_installer.conf. Note: now only i586 qemu rootfs are available in repository.
Any problem, just let me know. Just by playing with it, I change YOCTOADT_TARGETS="ppc" in yocto_installer.conf. And the prompt that I got is as follows:
[ADT_INST] selected archs defined in Host Area Item: YOCTOADT_TARGETS is not valid! Error: Terminate installation process due to errors! It's expected behavior. Since powerpcc is the correct name.
3. It would be nice to point out Host Area resides in which file, and also tells user what are the valid entries
4. It's not consistent when existing the program when running into errors, see the above and here just "Error: "...
During the Make opkg..., there're bunch of warning messages can we redirect them to the log file? Also, it seems the log file contents is less than what shows
on
the screen (STDOUT), which I think should be the reverse case, people should be able to trace more info in the log file? E.g. during downloading rootfs, all the info where it download from and saved to where are showed on the screen but missing in the log file... Log file problem is solved totally by replacing " >> " with "&>>" pointed by Lianhao.
Toward the end of the installation, I run into:
[ADT_INST] Re-generate environment script file according to rootfs location. Ls: cannot access /opt/poky/0.9+snapshot-20101211/environment- setup- i586*: No such file or directory Sed: no input files Missing guard will be added here. I will send the updated scripts which will address most of the problem.
Btw: I need someone review the script totally. I am afraid some of the scripts Might not obey shell's world conventions since this is the first script I wrote. I have to say I did try several blackbox test yet failed to cover all corner problems.
Updated scripts will soon be published.
Thanks & Regards, criping
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
|
|
Re: [poky] Recipe Updating Status and call to action
Tian, Kevin <kevin.tian@...>
From: Saul Wold Sent: Thursday, December 16, 2010 8:58 AM
Folks,
As we get ready for M3 opening up shortly, I wanted to get folks aware of where we are with M2 and the recipe updating process. Based on my rough reckoning, we had about 266 recipes that needed updating at the start of M2, we updated about 110 (possibly more). There are now about 160 recipes in the update list that need tackling.
Also, the distro tracking data for Version information is getting stale, there are about 135 RECIPE_LATEST_VERSION metadata tags that need to be updated.
I have attached a spreadsheet that shows the update status of both the upstream (RMatch Column) and tracking data (TMatch Column).
I would like to see the team and community pitch in and complete these 160 recipe updates for the 1.0 Release. Please be sure the ownership / RECIPE_MAINTAINER information is correct.
I'm kind of surprised when seeing this data, as I thought we have upgraded more than 110 recipes. Then distro team gathered just now to understand whether there's anything mismatch. The major point causing confusion is that the code generating above sheet is stateless, which doesn't track historical data while there do have many packages releasing new versions just in M2 window. This then moves some packages we do upgrade into the '160' group. Basically we think those items with small version difference fall into this category. So it's not that bad as I originally thought. :-) Ke is collecting some data and will reply later to clarify in 160 recieps: - what have been upgraded in M2 window already, and - what have not been touched at all With that data we'll see how much work remains in M3 for this task. On the other hand, along with this I realize that there's one area we need further discuss. How often should we upgrade packages in a given release cycle? MeeGo only does once. For Yocto we want to keep our recipes in cutting-edge which is why we schedule two upgrade windows in M2 and M3 this time. The policy for each recipe however could be a bit different: - M2 is our 1st upgrade window, within which we try to upgrade as many recipes as possible to avoid rush push in last release point. The order is done by: * first upgrade small version changes in a batch which normally implicates those recipes have been touched in previous release cycle and thus small risk * then upgrade the rest recipes which may need more debug time because they may not been touched for some time or at all - M3 (now) is our 2nd upgrade window, within which we try to ensure our final release in cutting-edge. Then I suggest a reverse order: * first upgrade recipes which haven't been covered in M2, which implicates more work required and higher risk * then upgrade small version changes at end of the window. This way can ensure catching latest version or else we may need to do it multiple times if doing it too early. This has small risk So in generally I propose to have a longer window for recipes which have been upgraded and got a new version now. For now we can have distro team focusing on those recipes which haven't been touched yet. Does it sound OK? ---- BTW, I think our package report system (in experimental phase now) can help the upgrade decision clearly. A suggested flow will be: The server checks upstream version every day or every several days. When there's a new version newly released, a mail will be sent to the recipe owner and CC this list. The owner then need react to the notification: - verify whether this is a valid message - decide whether a upgrade is required. The reason for non-upgrade could be: * pure SCM commit (for SCM check we may need more thinking) * an unstable release * known critical bugs/security holes * not worthy of upgrade effort since no new features are introduced * ... - mark decision on the package report system * to-be-upgraded * not upgrade (if so, reason). If we still use RECIPE_NO_UPDATE_REASON, then a patch may be required to update that field The package report system will record all the historical versions and decisions, to avoid trigger unnecessary messages again. When a upgrade window starts and ends, we can then use above stateful data to draw overall picture and track our progress accurately. Comments? Thanks Kevin
|
|
Re: [PATCH 0/1] bug#565: adding environment files
Lu, Lianhao <lianhao.lu@...>
Hi Saul, I've fixed and resubmitted the patch. Sorry for not following the patch submission convention. Best Regards, -Lianhao Saul Wold wrote on 2010-12-14: On 12/13/2010 04:07 AM, Lianhao Lu wrote:
I rebased the previous patch of adding package of environment files to be compatible with the new cross-canadian.bbclass
Lianhao,
This may require Richard to look at a little more closely, I do notice that you are missing the LIC_FILES_CHKSUM, for this on you can use one similar to recipes-core/tasks/task-base.bb
The first line of the commit message synopsis needs to be more descriptive, and the bug id needs to be in the commit message so that we can parse it out later.
Synopsis is normally <recipe | file> : Synopsis
Example: meta-environment: Added package of meta-environment-${TARGET_ARCH} for environment files.
In the body of the commit message you can add the bug id according to this format:
[BUGID# NNN], where NNN is the bugid
Please fix these issues and resubmit, also you should use the poky@... for bug submissions.
Sau!
Pull URL: git://git.pokylinux.org/poky-contrib.git Branch: llu/bug565 Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug565
Thanks, Lianhao Lu<lianhao.lu@...> ---
Lianhao Lu (1): Fix bug #565. meta/classes/toolchain-scripts.bbclass | 32 ++++++++++ meta/recipes-core/meta/meta-environment.bb | 74 ++++++++++++++++++++++++ meta/recipes-core/tasks/task-cross-canadian.bb | 1 + 3 files changed, 107 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-core/meta/meta-environment.bb _______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto Best Regards, Lianhao
|
|
Recipe Updating Status and call to action
Folks,
As we get ready for M3 opening up shortly, I wanted to get folks aware of where we are with M2 and the recipe updating process. Based on my rough reckoning, we had about 266 recipes that needed updating at the start of M2, we updated about 110 (possibly more). There are now about 160 recipes in the update list that need tackling.
Also, the distro tracking data for Version information is getting stale, there are about 135 RECIPE_LATEST_VERSION metadata tags that need to be updated.
I have attached a spreadsheet that shows the update status of both the upstream (RMatch Column) and tracking data (TMatch Column).
I would like to see the team and community pitch in and complete these 160 recipe updates for the 1.0 Release. Please be sure the ownership / RECIPE_MAINTAINER information is correct.
IMPORTANT: Please use distro/stage in poky-contrib to update the distro_tracking_fields.inc file, I have many updates in that already, I will do my best not to rebase that until we get it updated.
The attached spread sheet contains 3 Sheets, please review the 2nd and 3rd sheets (Labeled Tracking Updates and Recipe Updates respectively).
Thanks.
-- Sau!
Saul Wold Yocto Component Wrangler @ Intel Yocto Project / Poky Build System
|
|
Sanity Test Report for Yocto M2 20101211 Build
Xu, Jiajun <jiajun.xu@...>
Hi all, This is the Sanity Test Report for M2 20101211 build. QA finished sanity+weekly test cases. Toolchain testing and qemuppc testing is blocked because there is no image built out. There are 3 new bugs exposed in this testing. Meanwhile, 5 old bugs caused some test cases failed/blocked in this testing. Netbook/Blcaksand testing is blocked by an installation issue. Zypper installation/removal issue still exists on mips and arm platforms. Test Summary --------------------------------------- Target | Total TCs | Not Run | Passed | Failed | Not testable (Blocked) | Poky build system | 2 | 0 | 0 | 2 (bug 598, bug 599) | 0 | Netbook SDK | 76 | 76 | 0 | 0 | 76 (bug 566) | eMenlow Minimal | 27 | 12 | 15 | 0 | 0 | Blacksand SDK | 69 | 69 | 0 | 0 | 69 (bug 566) | Routerstationpro SDK | 28 | 2 | 24 | 2 (bug 490) | 0 | Qemux86-64 Sato | 19 | 7 | 12 | 0 | 0 | Qemux86-64 SDK | 26 | 10 | 16 | 0 | 0 | Qemux86 Sato | 19 | 7 | 12 | 0 | 0 | Qemux86 SDK | 26 | 10 | 16 | 0 | 0 | Qemumips Sato | 19 | 0 | 17 | 2 (bug 490) | 0 | Qemumips SDK | 26 | 4 | 20 | 2 (bug 490) | 0 | Qemuppc Sato | 17 | 17 | 0 | 0 | 17 (bug 585) | Qemuppc SDK | 24 | 24 | 0 | 0 | 24 (bug 585) | Qemuarm Sato | 19 | 0 | 16 | 3 (bug 489, bug 490, bug 491) | 0 | Qemuarm SDK | 26 | 4 | 19 | 3 (bug 489, bug 490, bug 491) | 0 | Total | 423 | 242 | 167 | 14 | 186 |
* You can check the detailed test result in attachment for each target. ** The failed/blocked case number is listed with failed cases’ bug number. *** The “Not Run” cases contains test cases, blocked by some critical bug, or the “Fullpass” test cases, which are not supposed to execute sanity test cycle. Images --------------------------------------- http://autobuilder.pokylinux.org/nightly/20101211-2/ Issue Summary --------------------------------------- New Bugs: 1. [poky] kernel interactive build does not work via ssh http://bugzilla.pokylinux.org/show_bug.cgi?id=598 2. [poky] qemu running with KVM needs root permission http://bugzilla.pokylinux.org/show_bug.cgi?id=599 3. No mouse action response in X window with qemuarm images http://bugzilla.pokylinux.org/show_bug.cgi?id=596 Old Open Bugs: 1. [Netbook] Installer no response after loading from live image http://bugzilla.pokylinux.org/show_bug.cgi?id=566 2. PPC is failing to build http://bugzilla.pokylinux.org/show_bug.cgi?id=585 3. [zypper] uname -m and repo arch difference http://bugzilla.pokylinux.org/show_bug.cgi?id=489 4. [zypper] installation failure on arm http://bugzilla.pokylinux.org/show_bug.cgi?id=490 5. [zypper] package removal failure http://bugzilla.pokylinux.org/show_bug.cgi?id=491 Best Regards, Jiajun
|
|
quick update about LTP failures
Tian, Kevin <kevin.tian@...>
Hi, all, I start looking into our LTP failures now and get some cursory picture. ( http://bugzilla.pokylinux.org/show_bug.cgi?id=169 ) I tried qemux86 sato image from latest M2 build, and there're in total 40 failures. Compared to previous 0.9-M3 result, the number reduces slightly (some failures are OK but other new failures pop up) Most failures (around 3/4) are obviously poky related, e.g: - no /var/log/messages: sysctl01, sysctl02, ... sysctl10 - useradd/userdel not found: cron, su01, cron02, cron_deny01, ... - use busybox: ar, file, tar, cpio, ... - no gcc: ld, ldd, nm It looks like poky-image-lsb more appropriate here given that it includes more full-functional packages to satisfy LTP test case requirement. I'll try lsb image later to see what will be changed. On the other hand, lsb image may not be suitable for real boards like emenlow, netbook, etc. since there's no gfx support in lsb profile so far. Since embedded Linux is not like a typical desktop/server linux, I think finally we may leave some failures there as long as we understand the reasons coming from the customization purpose. It all depends on how the profile is constructed. Does above direction sound OK? I plan to setup a tracking page on wiki for existing LTP/POSIX failures, instead of tracking by current bug entry. Then we could put all the investigation results there for further reference in the future. Thanks Kevin
|
|
Re: Try latest yocto adt script installer
toggle quoted messageShow quoted text
Hi, Jessica
You said you will give me a new cs today with new cleanups/bugfixes before I am working with recover wget percentage information?
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Wednesday, December 15, 2010 1:18 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have checked in the changes based on your changeset. Now nfs extraction folders could be deleted/operated by user.
And also, the config file is changed since the version number now is 0.9+snapshot.
Currently repository only has arm/x86 sdks. So I changed that in User config too.
Any problem, just let me know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Wednesday, December 15, 2010 1:03 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Liping,
All my changes are captured under: http://git.pokylinux.org/cgit.cgi/poky- contrib/log/?h=jzhang/installer OK.
My installation stopped at:
./yocto_installer_internal: line 165: /opt/poky/0.9-post/sysroots/i586-pokysdk-linux//usr/bin/pseudo: No such file or directory It's caused because you changed 0.9-post to 0.9+snapshot. The version is now defined in the yocto_installer.conf.
Also, for solving the user priviledge problem, I will change user nfs root owner to $USER:$GROUP (lke:lke, eg). Because we found opkg must run under root. Otherwise, the root folder will have to be changed. It will be not good.
Thanks& Regards, criping
We'll sync later tonight...
Thanks, Jessica Ke, Liping wrote:
Hi, Jessica
For tracing the file, I temporarily checked in all needed files into my branch:
http://git.pokylinux.org/cgit/cgit.cgi/poky- contrib/log/?h=lke/adt_installer _initial
If you have some modification on echo message, you can directly change and submit the changes. Since I am not sure about what kinds of echo message is most wanted by user. I temporarily put It under folder ${POKYBASE}/scripts/adt_installer
For testing, Lianhao temporarily make SDK_VERSION="0.9-post", it's now defined in Yocto_installer.conf.
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Tuesday, December 14, 2010 5:20 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have updated the script and it is still put under http://llu- piketon.sh.intel.com/installer.tar.
1. For util path problem, the solution is that we need to find the dirname of running script, then cd to that folder. 2. For logfile, now I will output all detailed information to the log file for tracing. 3. If environement-file is not there, error will be reported. 4. Add Error: prompt for errors.
Proxy should be disabled before testing.
I tested for both 32 bit and 64 bit host. Yet I am not sure whether I could cover all corner cases... And Lianhao will easily cause hard-disk not responding when running the script. Haven't root cause the problem. (My two test machine is just fine) If you meet the same issue, please let us know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Tuesday, December 14, 2010 2:40 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Why we must run the script under the adt-installer directory? Actually I tried to run under $HOME or / but specifying the full path to yocto_installer, and got the error: [ADT_INST] script file util is not found! Oh, it's caused by the include grammar. I need to check how to solve the relative path problem with include grammar in shell script. It should not be difficult.
############################################# # Meet error when installing Yocto ADT. #############################################
2 comments here: 1. we should be able to allow user run the yocto_installer script from any location and it should be able to locate the needed surporting files or scripts 2. As a convention and to be consistent, I'd suggest change the above error message as "[ADT_INST] Error: Script file util is not found!" There're several error messages in the scripts has the Error message format that I'm talking about here, which you can look up as a reference. No problem, I will unify all error messages.
3. Build log are located @
adt_installer/yoctoadt_installer.log
4. User config ( install which targets) are defined/changed in Yocto_installer.conf. Note: now only i586 qemu rootfs are available in repository.
Any problem, just let me know. Just by playing with it, I change YOCTOADT_TARGETS="ppc" in yocto_installer.conf. And the prompt that I got is as follows:
[ADT_INST] selected archs defined in Host Area Item: YOCTOADT_TARGETS is not valid! Error: Terminate installation process due to errors! It's expected behavior. Since powerpcc is the correct name.
3. It would be nice to point out Host Area resides in which file, and also tells user what are the valid entries
4. It's not consistent when existing the program when running into errors, see the above and here just "Error: "...
During the Make opkg..., there're bunch of warning messages can we redirect them to the log file? Also, it seems the log file contents is less than what shows on the screen (STDOUT), which I think should be the reverse case, people should be able to trace more info in the log file? E.g. during downloading rootfs, all the info where it download from and saved to where are showed on the screen but missing in the log file... Log file problem is solved totally by replacing " >> " with "&>>" pointed by Lianhao.
Toward the end of the installation, I run into:
[ADT_INST] Re-generate environment script file according to rootfs location. Ls: cannot access /opt/poky/0.9+snapshot-20101211/environment- setup- i586*: No such file or directory Sed: no input files Missing guard will be added here. I will send the updated scripts which will address most of the problem.
Btw: I need someone review the script totally. I am afraid some of the scripts Might not obey shell's world conventions since this is the first script I wrote. I have to say I did try several blackbox test yet failed to cover all corner problems.
Updated scripts will soon be published.
Thanks & Regards, criping
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
|
|
Re: Try latest yocto adt script installer
Ke, Liping <liping.ke@...>
Hi, Jessica
I have checked in the changes based on your changeset. Now nfs extraction folders could be deleted/operated by user.
And also, the config file is changed since the version number now is 0.9+snapshot.
Currently repository only has arm/x86 sdks. So I changed that in User config too.
Any problem, just let me know.
Thanks& Regards, criping
toggle quoted messageShow quoted text
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Wednesday, December 15, 2010 1:03 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Liping,
All my changes are captured under: http://git.pokylinux.org/cgit.cgi/poky- contrib/log/?h=jzhang/installer OK.
My installation stopped at:
./yocto_installer_internal: line 165: /opt/poky/0.9-post/sysroots/i586-pokysdk-linux//usr/bin/pseudo: No such
file or directory It's caused because you changed 0.9-post to 0.9+snapshot. The version is now defined in the yocto_installer.conf.
Also, for solving the user priviledge problem, I will change user nfs root owner to $USER:$GROUP (lke:lke, eg). Because we found opkg must run under root. Otherwise, the root folder will have to be changed. It will be not good.
Thanks& Regards, criping
We'll sync later tonight...
Thanks, Jessica Ke, Liping wrote:
Hi, Jessica
For tracing the file, I temporarily checked in all needed files into
my branch:
http://git.pokylinux.org/cgit/cgit.cgi/poky- contrib/log/?h=lke/adt_installer _initial
If you have some modification on echo message, you can directly change and submit the changes. Since I am not sure about what kinds of echo message is most wanted by user. I temporarily put It under folder ${POKYBASE}/scripts/adt_installer
For testing, Lianhao temporarily make SDK_VERSION="0.9-post", it's now defined in Yocto_installer.conf.
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Tuesday, December 14, 2010 5:20 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have updated the script and it is still put under http://llu- piketon.sh.intel.com/installer.tar.
1. For util path problem, the solution is that we need to find the dirname of running script, then cd to that folder. 2. For logfile, now I will output all detailed information to the log file for tracing. 3. If environement-file is not there, error will be reported. 4. Add Error: prompt for errors.
Proxy should be disabled before testing.
I tested for both 32 bit and 64 bit host. Yet I am not sure
whether
I
could cover all corner cases... And Lianhao will easily cause hard-disk not responding when
running
the script. Haven't root cause the problem. (My two test machine
is
just fine) If you meet the same issue, please let us know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Tuesday, December 14, 2010 2:40 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Why we must run the script under the adt-installer directory? Actually I tried to run under $HOME or / but specifying the full path to yocto_installer, and got the error: [ADT_INST] script file util is not found! Oh, it's caused by the include grammar. I need to check how to solve the relative path problem with include grammar in shell script. It should not be difficult.
############################################# # Meet error when installing Yocto ADT. #############################################
2 comments here: 1. we should be able to allow user run the yocto_installer
script
from any location and it should be able to locate the needed surporting files or scripts 2. As a convention and to be consistent, I'd suggest change the above error message as "[ADT_INST] Error: Script file util is
not
found!" There're several error messages in the scripts has the Error message format that I'm talking about here, which you can look up as a reference. No problem, I will unify all error messages.
3. Build log are located @ adt_installer/yoctoadt_installer.log 4. User config ( install which targets) are defined/changed in Yocto_installer.conf. Note: now only i586 qemu rootfs are available in repository.
Any problem, just let me know. Just by playing with it, I change YOCTOADT_TARGETS="ppc" in yocto_installer.conf. And the prompt that I got is as follows:
[ADT_INST] selected archs defined in Host Area Item: YOCTOADT_TARGETS is not valid! Error: Terminate installation process due to errors! It's expected behavior. Since powerpcc is the correct name.
3. It would be nice to point out Host Area resides in which file, and also tells user what are the valid entries
4. It's not consistent when existing the program when running
into
errors, see the above and here just "Error: "...
During the Make opkg..., there're bunch of warning messages can
we
redirect them to the log file? Also, it seems the log file contents is less than what shows on the screen (STDOUT), which I think should be the reverse case, people should be able to trace more info in the log file? E.g. during downloading rootfs, all the info where it download from
and
saved to where are showed on the screen but missing in the log file... Log file problem is solved totally by replacing " >> " with "&>>" pointed by Lianhao.
Toward the end of the installation, I run into:
[ADT_INST] Re-generate environment script file according to
rootfs
location. Ls: cannot access /opt/poky/0.9+snapshot-20101211/environment- setup- i586*: No
such
file or directory Sed: no input files Missing guard will be added here. I will send the updated scripts which will address most of the problem.
Btw: I need someone review the script totally. I am afraid some
of
the scripts Might not obey shell's world conventions since this
is
the first script I wrote. I have to say I did try several
blackbox
test yet failed to cover all corner problems.
Updated scripts will soon be published.
Thanks & Regards, criping
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
|
|
Re: Try latest yocto adt script installer
Ke, Liping <liping.ke@...>
Liping,
All my changes are captured under: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jzhang/installer OK. My installation stopped at:
./yocto_installer_internal: line 165: /opt/poky/0.9-post/sysroots/i586-pokysdk-linux//usr/bin/pseudo: No such file or directory
It's caused because you changed 0.9-post to 0.9+snapshot. The version is now defined in the yocto_installer.conf. Also, for solving the user priviledge problem, I will change user nfs root owner to $USER:$GROUP (lke:lke, eg). Because we found opkg must run under root. Otherwise, the root folder will have to be changed. It will be not good. Thanks& Regards, criping We'll sync later tonight...
Thanks, Jessica Ke, Liping wrote:
Hi, Jessica
For tracing the file, I temporarily checked in all needed files into my branch:
http://git.pokylinux.org/cgit/cgit.cgi/poky- contrib/log/?h=lke/adt_installer _initial
If you have some modification on echo message, you can directly change and submit the changes. Since I am not sure about what kinds of echo message is most wanted by user. I temporarily put It under folder ${POKYBASE}/scripts/adt_installer
For testing, Lianhao temporarily make SDK_VERSION="0.9-post", it's now defined in Yocto_installer.conf.
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Tuesday, December 14, 2010 5:20 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have updated the script and it is still put under http://llu- piketon.sh.intel.com/installer.tar.
1. For util path problem, the solution is that we need to find the dirname of running script, then cd to that folder. 2. For logfile, now I will output all detailed information to the log file for tracing. 3. If environement-file is not there, error will be reported. 4. Add Error: prompt for errors.
Proxy should be disabled before testing.
I tested for both 32 bit and 64 bit host. Yet I am not sure whether I
could cover all corner cases... And Lianhao will easily cause hard-disk not responding when running the script. Haven't root cause the problem. (My two test machine is just fine) If you meet the same issue, please let us know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Tuesday, December 14, 2010 2:40 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Why we must run the script under the adt-installer directory? Actually I tried to run under $HOME or / but specifying the full path to yocto_installer, and got the error: [ADT_INST] script file util is not found! Oh, it's caused by the include grammar. I need to check how to solve the relative path problem with include grammar in shell script. It should not be difficult.
############################################# # Meet error when installing Yocto ADT. #############################################
2 comments here: 1. we should be able to allow user run the yocto_installer script from any location and it should be able to locate the needed surporting files or scripts 2. As a convention and to be consistent, I'd suggest change the above error message as "[ADT_INST] Error: Script file util is not found!" There're several error messages in the scripts has the Error message format that I'm talking about here, which you can look up as a reference. No problem, I will unify all error messages.
3. Build log are located @ adt_installer/yoctoadt_installer.log 4. User config ( install which targets) are defined/changed in Yocto_installer.conf. Note: now only i586 qemu rootfs are available in repository.
Any problem, just let me know. Just by playing with it, I change YOCTOADT_TARGETS="ppc" in yocto_installer.conf. And the prompt that I got is as follows:
[ADT_INST] selected archs defined in Host Area Item: YOCTOADT_TARGETS is not valid! Error: Terminate installation process due to errors! It's expected behavior. Since powerpcc is the correct name.
3. It would be nice to point out Host Area resides in which file, and also tells user what are the valid entries
4. It's not consistent when existing the program when running into errors, see the above and here just "Error: "...
During the Make opkg..., there're bunch of warning messages can we redirect them to the log file? Also, it seems the log file contents is less than what shows on the screen (STDOUT), which I think should be the reverse case, people should be able to trace more info in the log file? E.g. during downloading rootfs, all the info where it download from and saved to where are showed on the screen but missing in the log file... Log file problem is solved totally by replacing " >> " with "&>>" pointed by Lianhao.
Toward the end of the installation, I run into:
[ADT_INST] Re-generate environment script file according to rootfs location. Ls: cannot access /opt/poky/0.9+snapshot-20101211/environment- setup- i586*: No such file or directory Sed: no input files Missing guard will be added here. I will send the updated scripts which will address most of the problem.
Btw: I need someone review the script totally. I am afraid some of the scripts Might not obey shell's world conventions since this is the first script I wrote. I have to say I did try several blackbox test yet failed to cover all corner problems.
Updated scripts will soon be published.
Thanks & Regards, criping
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
|
|
Re: Try latest yocto adt script installer
Liping, All my changes are captured under: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jzhang/installer My installation stopped at: ./yocto_installer_internal: line 165: /opt/poky/0.9-post/sysroots/i586-pokysdk-linux//usr/bin/pseudo: No such file or directory We'll sync later tonight... Thanks, Jessica Ke, Liping wrote: Hi, Jessica
For tracing the file, I temporarily checked in all needed files into my branch:
http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/log/?h=lke/adt_installer_initial If you have some modification on echo message, you can directly change and submit the changes. Since I am not sure about what kinds of echo message is most wanted by user. I temporarily put It under folder ${POKYBASE}/scripts/adt_installer
For testing, Lianhao temporarily make SDK_VERSION="0.9-post", it's now defined in Yocto_installer.conf.
Thanks& Regards, criping
-----Original Message----- From: Ke, Liping Sent: Tuesday, December 14, 2010 5:20 PM To: Ke, Liping; Zhang, Jessica Cc: yocto@... Subject: RE: [yocto] Try latest yocto adt script installer
Hi, Jessica
I have updated the script and it is still put under http://llu- piketon.sh.intel.com/installer.tar.
1. For util path problem, the solution is that we need to find the dirname of running script, then cd to that folder. 2. For logfile, now I will output all detailed information to the log file for tracing. 3. If environement-file is not there, error will be reported. 4. Add Error: prompt for errors.
Proxy should be disabled before testing.
I tested for both 32 bit and 64 bit host. Yet I am not sure whether I could cover all corner cases... And Lianhao will easily cause hard-disk not responding when running the script. Haven't root cause the problem. (My two test machine is just fine) If you meet the same issue, please let us know.
Thanks& Regards, criping
-----Original Message----- From: yocto-bounces@... [mailto:yocto- bounces@...] On Behalf Of Ke, Liping Sent: Tuesday, December 14, 2010 2:40 PM To: Zhang, Jessica Cc: yocto@... Subject: Re: [yocto] Try latest yocto adt script installer
Why we must run the script under the adt-installer directory? Actually I tried to run under $HOME or / but specifying the full path to yocto_installer, and got the error: [ADT_INST] script file util is not found! Oh, it's caused by the include grammar. I need to check how to solve the relative path problem with include grammar in shell script. It should not be difficult.
############################################# # Meet error when installing Yocto ADT. #############################################
2 comments here: 1. we should be able to allow user run the yocto_installer script from any location and it should be able to locate the needed surporting files or scripts 2. As a convention and to be consistent, I'd suggest change the above error message as "[ADT_INST] Error: Script file util is not found!" There're several error messages in the scripts has the Error message format that I'm talking about here, which you can look up as a reference. No problem, I will unify all error messages.
3. Build log are located @ adt_installer/yoctoadt_installer.log 4. User config ( install which targets) are defined/changed in Yocto_installer.conf. Note: now only i586 qemu rootfs are available in repository.
Any problem, just let me know. Just by playing with it, I change YOCTOADT_TARGETS="ppc" in yocto_installer.conf. And the prompt that I got is as follows:
[ADT_INST] selected archs defined in Host Area Item: YOCTOADT_TARGETS is not valid! Error: Terminate installation process due to errors! It's expected behavior. Since powerpcc is the correct name.
3. It would be nice to point out Host Area resides in which file, and also tells user what are the valid entries
4. It's not consistent when existing the program when running into errors, see the above and here just "Error: "...
During the Make opkg..., there're bunch of warning messages can we redirect them to the log file? Also, it seems the log file contents is less than what shows on the screen (STDOUT), which I think should be the reverse case, people should be able to trace more info in the log file? E.g. during downloading rootfs, all the info where it download from and saved to where are showed on the screen but missing in the log file... Log file problem is solved totally by replacing " >> " with "&>>" pointed by Lianhao.
Toward the end of the installation, I run into:
[ADT_INST] Re-generate environment script file according to rootfs location. Ls: cannot access /opt/poky/0.9+snapshot-20101211/environment- setup- i586*: No such file or directory Sed: no input files Missing guard will be added here. I will send the updated scripts which will address most of the problem.
Btw: I need someone review the script totally. I am afraid some of the scripts Might not obey shell's world conventions since this is the first script I wrote. I have to say I did try several blackbox test yet failed to cover all corner problems.
Updated scripts will soon be published.
Thanks & Regards, criping
_______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
|
|
Re: Add extra parameters for qemu script
Ke, Liping <liping.ke@...>
Hi, Scott
Thanks for the review! Sure, I will use the script following distro-team conventions.
And also, $MYNAME will be used in the final patch. And the debug line for building will be removed when I send the final patch.
Thanks & Regards, criping
toggle quoted messageShow quoted text
One final thing - when you resubmit your patch this time, could you use the create-pull-request/send-pull-request scripts? That way the patch can be pulled in by Richard or Saul with minimal effort, and it will help ensure you get proper credit in the commit log.
Scott
-- Scott Garman Embedded Linux Distro Engineer - Yocto Project
|
|
Re: Add extra parameters for qemu script
Scott Garman <scott.a.garman@...>
On 12/14/2010 02:27 PM, Scott Garman wrote: On 12/13/2010 07:41 PM, Ke, Liping wrote:
Hi, Scott
I have updated the patch and tested with poky-tree mode (arm, x86). Since kvm and serial needs special processing, so for avoiding repeating the code, I will exclude serial and kvm in permitted extra-option, user need to use (serial, kvm) it they want to use it.
For "<-m XXX>" options, I will keep the original logic. If it's arm, the> 128M memory will be forced back to 128M.
It's the high-level user's responsibility to make sure other params are valid.
Any problem, just let me know.
Thanks a lot for your help! Thanks for the patch, Criping.
This patch includes the addition of a do_configure_prepend step for the libxfixes recipe? That looks like some debugging info crept in that may not have been intended.
In the usage() function, please use $MYNAME instead of $0 for consistency - see the other help echo lines.
The rest of the patch looks ok. Please respin one last time with the above minor changes and I'll accept it. One final thing - when you resubmit your patch this time, could you use the create-pull-request/send-pull-request scripts? That way the patch can be pulled in by Richard or Saul with minimal effort, and it will help ensure you get proper credit in the commit log. Scott -- Scott Garman Embedded Linux Distro Engineer - Yocto Project
|
|
Re: Add extra parameters for qemu script
Scott Garman <scott.a.garman@...>
On 12/13/2010 07:41 PM, Ke, Liping wrote: Hi, Scott
I have updated the patch and tested with poky-tree mode (arm, x86). Since kvm and serial needs special processing, so for avoiding repeating the code, I will exclude serial and kvm in permitted extra-option, user need to use (serial, kvm) it they want to use it.
For "<-m XXX>" options, I will keep the original logic. If it's arm, the> 128M memory will be forced back to 128M.
It's the high-level user's responsibility to make sure other params are valid.
Any problem, just let me know.
Thanks a lot for your help! Thanks for the patch, Criping. This patch includes the addition of a do_configure_prepend step for the libxfixes recipe? That looks like some debugging info crept in that may not have been intended. In the usage() function, please use $MYNAME instead of $0 for consistency - see the other help echo lines. The rest of the patch looks ok. Please respin one last time with the above minor changes and I'll accept it. Thanks, Scott -- Scott Garman Embedded Linux Distro Engineer - Yocto Project
|
|