Davlet Panech 93f0b873b6 Better safe_copy_dir & friends
This patch improves safe_copy_dir() and related functions:
* clean up & simplify implementation
* path sanity checks no longer depend on $PROJECT.
* safe_copy_dir(): --chown: resolve user name to UID on host
* safe_copy_dir(): interpret dest_dir as in "cp" command,
  but src_dir as in "rsync"

Story: 2010226
Task: 46386

Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I9428d9fceb50f78840fc9fb93e8a6a132425cddc
2022-09-22 09:08:42 -04:00
..
2022-09-22 09:08:42 -04:00
2022-09-22 09:08:42 -04:00
2022-09-20 16:08:24 -04:00
2022-08-15 14:16:07 -04:00
2022-08-15 14:16:07 -04:00