Bug 6348

Summary: keep timestamp when populate ext filesystem
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Juan J Zhao <juan.j.zhao>
Component: coreAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: juan.j.zhao, liezhi.yang, meta.mr.watcher, meta.watcher, Qi.Chen
Version: 1.5.3   
Target Milestone: 1.5.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Juan J Zhao 2014-05-20 08:45:05 UTC
some package requires the timestamp is the same as it's built. For example llvm and clang compiler.
And in 1.5.3, when populate the ext filesystem, the timestamp is updated.
Please keep the time stamp in the rootfs file.
Comment 1 Saul Wold 2014-05-20 23:51:03 UTC
So, if I am understanding correctly, you want the files installed on the roofs 
using the same timestamp, since we use package managers to install the rootfs, 
it will install them that way.  What's the real issue you are trying to resolve 
on the target system?  This is likely not going to be a fixable situation, so I 
want to understand what the real issue is..
Comment 2 Chen Qi 2014-05-23 09:45:18 UTC
The target milestone should be 1.5.3.

Starting to solve this problem.

//Chen Qi
Comment 3 Chen Qi 2014-07-02 02:59:39 UTC
commit 05f172c745799a34aa8c530ac88b25c0081c15d8
Author: Chen Qi <Qi.Chen@windriver.com>
Date:   Mon May 26 22:15:16 2014 -0400

    populate-extfs.sh: keep file timestamps
    
    Fix populate-extfs.sh to keep file timestamps while generating the
    ext file systems.
    
    [YOCTO #6348]
    
    (From OE-Core rev: f8c0359edc2ce740e13e874ea189770ff99d1525)
    
    Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>