Liping,

It's not new image for each install, I want to download image whether new or
old for each install period.  Reasons:

1. The old image may be corrupted, this is how I found the problem, since
the download detect the image file only by file name, there's no way to
sanity check the image file itself, so the later extract rootfs will always
fail if the file's corrupted
2. I've noticed that if we don't remove the directory, the new download will
be called *(1) *(2), etc. and the extraction only happen to the original
file, so the new files will never be picked, thus why I add remove and
recreate the download directory to totally avoid the issue...


- Jessica
Ke, Liping wrote:
> Ok, you want to download new image for each install...
> 
> Ok, no problem. I will change that.
> 
> Thanks& Regards,
> criping
> 
> 
>> -----Original Message-----
>> From: Ke, Liping
>> Sent: Tuesday, December 07, 2010 10:59 AM
>> To: Zhang, Jessica; Lu, Lianhao
>> Cc: yocto@yoctoproject.org
>> Subject: RE: yocto_installer test script update
>> 
>> 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
>>> 
>> Hi, Jessica
>> 
>> Have question for this one.
>> Now the code will directly downloading, so the folders might contain
>> image, image(1), image(2)... But the untar will always untar the old
>> image? Then why downloading new? If user's network is very slow?
>> 
>> 
>> Thanks& Regards,
>> criping

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to