enter_chroot: Copy user's local LUCI creds into the chroot.

Currently, when you authenticate with luci on the command-line, the
creds that get stored locally don't get propagated into the chroot.
This will fix that by copying them into the expected location when
entering the chroot, similar to how .gitcookies get propagated.

TEST=entered chroot
Change-Id: I6b2737eed4fce3269f2df24eb2114a8343c231ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/2025614
Tested-by: Ben Pastene <bpastene@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed