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.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@yoctoproject.org > 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@yoctoproject.org > >> 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-boun...@yoctoproject.org [mailto:yocto- > >>> boun...@yoctoproject.org] On Behalf Of Ke, Liping > >>> Sent: Wednesday, December 15, 2010 1:03 PM > >>> To: Zhang, Jessica > >>> Cc: yocto@yoctoproject.org > >>> 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@yoctoproject.org > >>>>>> 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-boun...@yoctoproject.org [mailto:yocto- > >>>>>>> boun...@yoctoproject.org] On Behalf Of Ke, Liping > >>>>>>> Sent: Tuesday, December 14, 2010 2:40 PM > >>>>>>> To: Zhang, Jessica > >>>>>>> Cc: yocto@yoctoproject.org > >>>>>>> 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@yoctoproject.org > >>>>>>> https://lists.yoctoproject.org/listinfo/yocto > >>> _______________________________________________ > >>> yocto mailing list > >>> yocto@yoctoproject.org > >>> https://lists.yoctoproject.org/listinfo/yocto _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto