commit | afdca0db49557f2d4dd6526f31046a46e1c3e883 | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Mon Mar 29 14:56:33 2021 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Mon Mar 29 15:29:28 2021 +0800 |
tree | c543ae4f70258fe02abeeae172a0138303d32cd4 | |
parent | 4903faab4c992df0ecd15a64728c06351db45c5c [diff] |
repack_bootimg: creates parent dirs for the copy-to files When invoking repack_bootimg, it will copy files from the ramdisk of src_bootimg into the ramdisk of dst_bootimg. However, if there is no parent dirs then the copy will fail. Creating parent dirs of the destination file if necessary. Bug: 174443192 Test: repack_bootimg --src_bootimg boot-debug-4.19-gz.img --dst_bootimg boot-4.19-gz.img Change-Id: I003954a92ca11b835591bfd4b82df40bf3d81381