From ad704c25fd3a16e418fa4aa8dc16b15971be9588 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 10 Oct 2020 04:08:10 -0700 Subject: [PATCH] util: Add a copyright to gem5img.py. This script was ported to python from a bash script by me back in 2011. The original file didn't have a copyright, but since I made significant modifications to it (porting it to python, improving its features), at least those modifications should have become copyright Google. Change-Id: Ia70bb1e6be5b188537bcf6899ba5884b359dbe18 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35875 Reviewed-by: Richard Cooper Maintainer: Gabe Black Tested-by: kokoro --- util/gem5img.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/util/gem5img.py b/util/gem5img.py index 51a5487fd..7e9e54422 100755 --- a/util/gem5img.py +++ b/util/gem5img.py @@ -1,4 +1,30 @@ #!/usr/bin/python2.7 +# +# Copyright 2020 Google, Inc. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer; +# redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution; +# neither the name of the copyright holders nor the names of its +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + # # gem5img.py # Script for managing a gem5 disk image. -- 2.30.2