package_to_container: Add option for container name

Some packages may build multiple executables, but we
want to have the container name reflect the specific
binary the container was created for. This adds an
option to allow the user to select a container name
that is different from the package name.

BUG=chromium:624334
TEST=Run package_to_container with the --name option.

Change-Id: Ib6035d3704386e9a1e819b0155d2efed4be8dd2a
Reviewed-on: https://chromium-review.googlesource.com/363504
Commit-Ready: Keshav Santhanam <ksanthanam@google.com>
Tested-by: Keshav Santhanam <ksanthanam@google.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
1 file changed