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.

TEST=Run package_to_container with the --name option.

Change-Id: Ib6035d3704386e9a1e819b0155d2efed4be8dd2a
Commit-Ready: Keshav Santhanam <>
Tested-by: Keshav Santhanam <>
Reviewed-by: Dylan Reid <>
1 file changed