summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/buildinstall18
-rw-r--r--scripts/dumphdrlist.py8
-rwxr-xr-xscripts/fixmtime.py18
-rwxr-xr-xscripts/getkeymaps18
-rw-r--r--scripts/getlangnames.py19
-rwxr-xr-xscripts/makestamp.py15
-rw-r--r--scripts/maketreeinfo.py21
-rwxr-xr-xscripts/mk-images19
-rw-r--r--scripts/mk-images.alpha19
-rw-r--r--scripts/mk-images.ia6418
-rw-r--r--scripts/mk-images.ppc19
-rw-r--r--scripts/mk-images.s39019
-rw-r--r--scripts/mk-images.x8619
-rwxr-xr-xscripts/mk-rescueimage.i38616
-rwxr-xr-xscripts/mk-rescueimage.ia6416
-rw-r--r--scripts/mk-rescueimage.ppc16
-rwxr-xr-xscripts/pkgorder27
-rwxr-xr-xscripts/pyrc.py19
-rwxr-xr-xscripts/scrubtree18
-rw-r--r--scripts/splittree.py9
-rwxr-xr-xscripts/upd-bootimage18
-rwxr-xr-xscripts/upd-initrd20
-rwxr-xr-xscripts/upd-instroot18
-rwxr-xr-xscripts/upd-kernel17
-rwxr-xr-xscripts/upd-updates18
-rwxr-xr-xscripts/yumcache18
26 files changed, 436 insertions, 24 deletions
diff --git a/scripts/buildinstall b/scripts/buildinstall
index e83f6e9ab..c8ebe0c4f 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 1267f5274..68fb5fc89 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 f3b046d20..92fbf9898 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 dce3221a2..a49c9f7d7 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 186ec4dfd..c6fc61be6 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 6b6986a47..9d919d026 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 1aefa8bec..5ae03c38f 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 661f354c0..6acdba1ce 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 eaa15b11d..ef387ce35 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 d8d877361..56fd8dc71 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 8c50dc55f..221673be6 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 f9052be5a..efe849030 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 f4c01a143..8d0c6007c 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 ea885d74b..6b359bb5b 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 e5fde3542..b74593549 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 d3733373e..1197fecdf 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 2051fcd1f..8652a6460 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 88f26b04d..47b0f02f3 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 b1e00a9ab..4546606ba 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 4546c9ad4..03323d24b 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 e583cbc03..9fcf36427 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 e16d9ecdb..99d61da0e 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 6a39cb435..610fd5efe 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 0face8828..af01656f8 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 c7fd8d64c..3a724c27f 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 637aaacc8..b441249c5 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