add "-m" when unpacking cpio

"-m": Preserves original mtime on files being written out, so the copy will
have the same timestamps as the original (copy-out and pass-thru modes)
pull/9/head
Yu Yezhong 8 years ago committed by cfig
parent 507342d0a7
commit 094252e583

@ -84,7 +84,7 @@ task unpack_cpio(type: Exec, dependsOn: unpack_ramdisk_gz) {
}
workingDir workdir + "/root"
executable 'cpio'
args = ['-i', '-F', '../ramdisk.img']
args = ['-i', '-m', '-F', '../ramdisk.img']
}
task unpack(type: Delete, dependsOn: unpack_cpio) {

Loading…
Cancel
Save