pre-upload: Do not warn about copyright lines in

The script comes from the Linux kernel tree and follows
those copyright rules.  Add an --exclude_regex to cros_license_check so
that we do not warn about it when updating it in repohooks (while
preserving the check for the rest of this repo.)

TEST=Wrote a test commit on and tried to repo upload it.

Change-Id: Ia51f11d814a333cadd730864d09bec542225c252
Signed-off-by: Filipe Brandenburger <>
Reviewed-by: Mike Frysinger <>
1 file changed