[yocto] yocto_installer test script update

Ke, Liping liping.ke at intel.com
Mon Dec 6 18:05:00 PST 2010


Ops. Seems I made concurrent changes again....
Seems I need to redo today's work ....

I will update the final files a little later. Just wait.


criping

> -----Original Message-----
> From: Zhang, Jessica
> Sent: Tuesday, December 07, 2010 9:34 AM
> To: Ke, Liping; Lu, Lianhao
> Cc: yocto at yoctoproject.org
> Subject: RE: yocto_installer test script update
> 
> Liping,
> 
> I've made lots of modifications:
> 
> 1. Tide up the prompt imformation format and messaging 2. Correct the
> logic in validate_config for checking the target selection 3. Correct
> the problem for qemu image download, now we forcing download images in
> a clean directory since wget will change the file ext if the file
> already there and which maybe corrupted 4. Eliminate unnecessary
> checking and prompt, e.g. for removing the old /var/pseudo dir if user
> already choosing to install under /opt/poky and override existing
> contents 5. Add prompt for target arch configuration to be consistent
> with the host side checking 6. Rename file names to make them make more
> sense and cosistent with other script name convention of Yocto project
> 
> Attached  tar file contains all my changes, so please make changes on
> top of the files in it instead of merge into your local dir due to the
> amount of changes, unless you already create a git repo some where for
> us to track the changes...
> 
> There're still couple issues that you need to fix:
> 1. The log file is still not capturing all the needed content, I think
> it's on your to do list 2. I noticed the target sysroot is create as
> root under the user directory, which is wrong, I believe it's due to
> the code is exectuing in the part that need root priviledge, so need to
> move it out...
> 
> I've run against situation of none /opt/poky and everything has been
> installed before, and it functioning as I'd expected besides the above
> 2 mentioned issues.  So we're almost there...
> 
> Thanks,
> Jessica
> 
> Ke, Liping wrote:
> > Just one thing, if directly tee, check_result will get wrong output
> > result.
> > So I did not tee opkg/make related command. I will try to add
> > opkg/make to logfile tomorrow.
> >
> >> -----Original Message-----
> >> From: yocto-bounces at yoctoproject.org [mailto:yocto-
> >> bounces at yoctoproject.org] On Behalf Of Ke, Liping
> >> Sent: Monday, December 06, 2010 5:04 PM
> >> To: Zhang, Jessica; Lu, Lianhao; Tian, Kevin
> >> Cc: yocto at yoctoproject.org
> >> Subject: Re: [yocto] yocto_installer test script update
> >>
> >> Hi, Jessica
> >>
> >>   I have updated the script file which modifies all your input
> >> (prompts and the discussion result in the weekly meeting such as
> >> logfile, go on installing when /var/lib/opkg exists, etc).
> >>   I have tested with lianhao's repository (x86_64 native sdk has
> some
> >> problem, he's now fixing it). Sample log files are included. I had
> >> uploaded in lianhao's website.
> >>
> >>
> >> Any problem, just let me know. I can fix it tomorrow!
> >>
> >> Thanks & Regards,
> >> criping
> >>
> >>
> >>
> >> _______________________________________________
> >> yocto mailing list
> >> yocto at yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list