[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] GPLv2+ boilerplates for scripts/ scripts and other such odds and ends.



---
 scripts/buildinstall        |   18 ++++++++++++++++++
 scripts/dumphdrlist.py      |    8 ++++----
 scripts/fixmtime.py         |   18 ++++++++++++++++++
 scripts/getkeymaps          |   18 ++++++++++++++++++
 scripts/getlangnames.py     |   19 +++++++++++++++++++
 scripts/makestamp.py        |   15 +++++++++++++--
 scripts/maketreeinfo.py     |   21 +++++++++++++++++----
 scripts/mk-images           |   19 +++++++++++++++++++
 scripts/mk-images.alpha     |   19 +++++++++++++++++++
 scripts/mk-images.ia64      |   18 ++++++++++++++++++
 scripts/mk-images.ppc       |   19 +++++++++++++++++++
 scripts/mk-images.s390      |   19 +++++++++++++++++++
 scripts/mk-images.x86       |   19 +++++++++++++++++++
 scripts/mk-rescueimage.i386 |   16 ++++++++++++++++
 scripts/mk-rescueimage.ia64 |   16 ++++++++++++++++
 scripts/mk-rescueimage.ppc  |   16 ++++++++++++++++
 scripts/pkgorder            |   27 +++++++++++++++++++--------
 scripts/pyrc.py             |   19 +++++++++++++++++++
 scripts/scrubtree           |   18 ++++++++++++++++++
 scripts/splittree.py        |    9 +++++----
 scripts/upd-bootimage       |   18 ++++++++++++++++++
 scripts/upd-initrd          |   20 ++++++++++++++++++--
 scripts/upd-instroot        |   18 ++++++++++++++++++
 scripts/upd-kernel          |   17 +++++++++++++++++
 scripts/upd-updates         |   18 ++++++++++++++++++
 scripts/yumcache            |   18 ++++++++++++++++++
 26 files changed, 436 insertions(+), 24 deletions(-)

diff --git a/scripts/buildinstall b/scripts/buildinstall
index e83f6e9..c8ebe0c 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -1,4 +1,22 @@
 #!/bin/bash
+#
+# buildinstall
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 usage() {
 	echo "Usage: buildinstall --version <version> --product <product> --release <comment> [--pkgorder <file>] [--prodpath <path>] [--discs <discstring>] <root>" >&2
diff --git a/scripts/dumphdrlist.py b/scripts/dumphdrlist.py
index 1267f52..68fb5fc 100644
--- a/scripts/dumphdrlist.py
+++ b/scripts/dumphdrlist.py
@@ -3,8 +3,7 @@
 # dumphdrlist.py - dump the header list and give the discs that each
 # package is on
 #
-# Copyright 2002 Red Hat, Inc.
-# Author: Jeremy Katz <katzj redhat com>
+# Copyright (C) 2002  Red Hat, Inc.  All rights reserved.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -17,8 +16,9 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Red Hat Author(s): Author: Jeremy Katz <katzj redhat com>
 #
 
 import rpm
diff --git a/scripts/fixmtime.py b/scripts/fixmtime.py
index f3b046d..92fbf98 100755
--- a/scripts/fixmtime.py
+++ b/scripts/fixmtime.py
@@ -1,4 +1,22 @@
 #!/usr/bin/python
+#
+# fixmtime.py
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 """Walks path given on the command line for .pyc and .pyo files, changing
 the mtime in the header to 0, so it will match the .py file on the cramfs"""
diff --git a/scripts/getkeymaps b/scripts/getkeymaps
index dce3221..a49c9f7 100755
--- a/scripts/getkeymaps
+++ b/scripts/getkeymaps
@@ -1,4 +1,22 @@
 #!/bin/sh
+#
+# getkeymaps
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 ARCH=$1
 if [ -z "$ARCH" ]; then
diff --git a/scripts/getlangnames.py b/scripts/getlangnames.py
index 186ec4d..c6fc61b 100644
--- a/scripts/getlangnames.py
+++ b/scripts/getlangnames.py
@@ -1,3 +1,22 @@
+#
+# getlangnames.py
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+
 import sys
 sys.path.append("..")
 from rhpl.translate import _
diff --git a/scripts/makestamp.py b/scripts/makestamp.py
index 6b6986a..9d919d0 100755
--- a/scripts/makestamp.py
+++ b/scripts/makestamp.py
@@ -2,9 +2,20 @@
 #
 # makes a .discinfo file.  if information isn't provided, prompts for it
 #
-# Copyright 2002  Red Hat, Inc.
+# Copyright (C) 2002  Red Hat, Inc.  All rights reserved.
 #
-# License: GPL
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
 import os,sys,string
diff --git a/scripts/maketreeinfo.py b/scripts/maketreeinfo.py
index 1aefa8b..5ae03c3 100644
--- a/scripts/maketreeinfo.py
+++ b/scripts/maketreeinfo.py
@@ -1,10 +1,23 @@
 #!/usr/bin/python
 #
-# makes a .treeinfo file.  if information isn't provided, it emits some warnings.
-# Author: Will Woods <wwoods redhat com>
-# Copyright 2007 Red Hat, Inc.
+# makes a .treeinfo file.  if information isn't provided, emit some warnings.
 #
-# License: GPL
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Red Hat Author(s): Will Woods <wwoods redhat com>
 #
 
 import os,sys,string
diff --git a/scripts/mk-images b/scripts/mk-images
index 661f354..6acdba1 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -1,4 +1,23 @@
 #!/bin/bash
+#
+# mk-images
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+
 LANG=C
 
 PATH=$PATH:/sbin:/usr/sbin
diff --git a/scripts/mk-images.alpha b/scripts/mk-images.alpha
index eaa15b1..ef387ce 100644
--- a/scripts/mk-images.alpha
+++ b/scripts/mk-images.alpha
@@ -1,3 +1,22 @@
+#
+# mk-images.alpha
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+
 INITRDMODS="tgafb crc32 $INITRDMODS"
 
 ###FSMODS="msdos vfat ext3 reiserfs jfs xfs"
diff --git a/scripts/mk-images.ia64 b/scripts/mk-images.ia64
index d8d8773..56fd8dc 100644
--- a/scripts/mk-images.ia64
+++ b/scripts/mk-images.ia64
@@ -1,4 +1,22 @@
 #!/bin/bash
+#
+# mk-images.ia64
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 #makebootdisk required for EFI bootloader dosfs image
 makebootdisk() {
diff --git a/scripts/mk-images.ppc b/scripts/mk-images.ppc
index 8c50dc5..221673b 100644
--- a/scripts/mk-images.ppc
+++ b/scripts/mk-images.ppc
@@ -1,3 +1,22 @@
+#
+# mk-images.ppc
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+
 makeBootImages() {
     echo "Building boot images for kernel $kernelvers"
     FAKEARCH=""
diff --git a/scripts/mk-images.s390 b/scripts/mk-images.s390
index f9052be..efe8490 100644
--- a/scripts/mk-images.s390
+++ b/scripts/mk-images.s390
@@ -1,3 +1,22 @@
+#
+# mk-images.s390
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+
 S390SCSIMODS="zfcp tape390"
 S390DASDMODS=" dasd_diag_mod dasd_eckd_mod dasd_fba_mod dasd_mod"
 S390NETMODS="ctc netiucv smsgiucv lcs qdio qeth ccwgroup"
diff --git a/scripts/mk-images.x86 b/scripts/mk-images.x86
index f4c01a1..8d0c600 100644
--- a/scripts/mk-images.x86
+++ b/scripts/mk-images.x86
@@ -1,3 +1,22 @@
+#
+# mk-images.x86
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+
 SYSLINUX=$IMGPATH/usr/lib/syslinux/syslinux-nomtools
 
 if [ ! -f $SYSLINUX ]; then
diff --git a/scripts/mk-rescueimage.i386 b/scripts/mk-rescueimage.i386
index ea885d7..6b359bb 100755
--- a/scripts/mk-rescueimage.i386
+++ b/scripts/mk-rescueimage.i386
@@ -9,6 +9,22 @@
 #
 # the rescue image will be created as <dest-dir>/i386-rescueimage
 #
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 import os
 import sys
diff --git a/scripts/mk-rescueimage.ia64 b/scripts/mk-rescueimage.ia64
index e5fde35..b745935 100755
--- a/scripts/mk-rescueimage.ia64
+++ b/scripts/mk-rescueimage.ia64
@@ -9,6 +9,22 @@
 #
 # the rescue image will be created as <dest-dir>/ia64-rescueimage
 #
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 import os
 import sys
diff --git a/scripts/mk-rescueimage.ppc b/scripts/mk-rescueimage.ppc
index d373337..1197fec 100644
--- a/scripts/mk-rescueimage.ppc
+++ b/scripts/mk-rescueimage.ppc
@@ -9,6 +9,22 @@
 #
 # the rescue image will be created as <dest-dir>/ppc-rescueimage
 #
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 import os
 import sys
diff --git a/scripts/pkgorder b/scripts/pkgorder
index 2051fcd..8652a64 100755
--- a/scripts/pkgorder
+++ b/scripts/pkgorder
@@ -1,14 +1,25 @@
 #!/usr/bin/python
-# 
-# Paul Nasrat <pnasrat redhat com>
-# Copyright 2005 Red Hat, Inc.
 #
-# This software may be freely redistributed under the terms of the GNU
-# library public license.
+# pkgorder
 #
-# You should have received a copy of the GNU Library Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# Copyright (C) 2005  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Red Hat Author(s): Paul Nasrat <pnasrat redhat com>
+#
+
 import os.path
 import glob
 import rpm
diff --git a/scripts/pyrc.py b/scripts/pyrc.py
index 88f26b0..47b0f02 100755
--- a/scripts/pyrc.py
+++ b/scripts/pyrc.py
@@ -1,3 +1,22 @@
+#
+# pyrc.py
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+
 try:
     import readline
     import rlcompleter
diff --git a/scripts/scrubtree b/scripts/scrubtree
index b1e00a9..4546606 100755
--- a/scripts/scrubtree
+++ b/scripts/scrubtree
@@ -1,4 +1,22 @@
 #!/bin/bash
+#
+# scrubtree
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 DEBUG=""
 
diff --git a/scripts/splittree.py b/scripts/splittree.py
index 4546c9a..03323d2 100644
--- a/scripts/splittree.py
+++ b/scripts/splittree.py
@@ -1,6 +1,8 @@
 #!/usr/bin/env python
-
-# Copyright (C) 2003-2005 Red Hat, Inc.
+#
+# splittree.py
+#
+# Copyright (C) 2003, 2004, 2005  Red Hat, Inc.  All rights reserved.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -13,8 +15,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
 import sys
diff --git a/scripts/upd-bootimage b/scripts/upd-bootimage
index e583cbc..9fcf364 100755
--- a/scripts/upd-bootimage
+++ b/scripts/upd-bootimage
@@ -1,4 +1,22 @@
 #!/bin/bash
+#
+# upd-bootimage
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 if [ -z "$1" ]; then
     echo "$0: <image> <binary> [<initrdpath>]"
diff --git a/scripts/upd-initrd b/scripts/upd-initrd
index e16d9ec..99d61da 100755
--- a/scripts/upd-initrd
+++ b/scripts/upd-initrd
@@ -1,9 +1,25 @@
 #!/bin/sh
+#
 # Updates an installer initrd with a new loader binary 
 # Usage: upd-initrd <initrd> <binary> <outfile>
 #
-# Jeremy Katz <katzj redhat com>
-# Copyright 2005   Red Hat, Inc.
+# Copyright (C) 2005  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Red Hat Author(s): Jeremy Katz <katzj redhat com>
+#
 
 if [ $# -ne 3 ]; then
     echo "Usage: $0 <initrd> <binary> <outfile>"
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 6a39cb4..610fd5e 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -1,4 +1,22 @@
 #!/bin/bash
+#
+# upd-instroot
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 ORIGDIR=`pwd`
 DEBUG=""
diff --git a/scripts/upd-kernel b/scripts/upd-kernel
index 0face88..af01656 100755
--- a/scripts/upd-kernel
+++ b/scripts/upd-kernel
@@ -1,7 +1,24 @@
 #!/bin/sh
+#
 # take a boot directory with kernel + initrd and create a new one
 # with a new kernel + initrd
 # Usage: ./upd-kernel <olddir> <newdir> <newkernelrpm>
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 OLDDIR=`readlink -f $1`
 NEWDIR=$2
diff --git a/scripts/upd-updates b/scripts/upd-updates
index c7fd8d6..3a724c2 100755
--- a/scripts/upd-updates
+++ b/scripts/upd-updates
@@ -1,4 +1,22 @@
 #!/bin/bash
+#
+# upd-updates
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 usage() {
 	if [ $1 -ne 0 ]; then
diff --git a/scripts/yumcache b/scripts/yumcache
index 637aaac..b441249 100755
--- a/scripts/yumcache
+++ b/scripts/yumcache
@@ -1,4 +1,22 @@
 #!/usr/bin/python
+#
+# yumcache
+#
+# Copyright (C) 2007  Red Hat, Inc.  All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
 
 from optparse import OptionParser
 
-- 
1.5.3.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]