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-boun...@yoctoproject.org [mailto:yocto- >> boun...@yoctoproject.org] On Behalf Of Ke, Liping >> Sent: Monday, December 06, 2010 5:04 PM >> To: Zhang, Jessica; Lu, Lianhao; Tian, Kevin >> Cc: yocto@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@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto
adt_changes.tar.gz
Description: Binary data
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto