diff --git a/src/bin/lorax b/src/bin/lorax
index b98c1477..34d3c5e7 100755
--- a/src/bin/lorax
+++ b/src/bin/lorax
@@ -2,6 +2,24 @@
#
# lorax
+# lorax executable script
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
import sys
diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py
index 43e404a1..ca6d9e09 100644
--- a/src/pylorax/__init__.py
+++ b/src/pylorax/__init__.py
@@ -1,5 +1,24 @@
#
# __init__.py
+# main lorax class
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): David Cantrell
+# Martin Gracik
#
__VERSION__ = "0.1"
diff --git a/src/pylorax/config.py b/src/pylorax/config.py
index 8385b19f..c683bad3 100644
--- a/src/pylorax/config.py
+++ b/src/pylorax/config.py
@@ -1,5 +1,23 @@
#
# config.py
+# configuration classes for lorax
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
import os
diff --git a/src/pylorax/efi.py b/src/pylorax/efi.py
index 1365dfd6..a635f702 100644
--- a/src/pylorax/efi.py
+++ b/src/pylorax/efi.py
@@ -1,6 +1,25 @@
#
# efi.py
+# class for creating efi images
#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
+#
+
import sys
import os
diff --git a/src/pylorax/install.py b/src/pylorax/install.py
index 6b9ba39c..f1ae5a39 100644
--- a/src/pylorax/install.py
+++ b/src/pylorax/install.py
@@ -1,5 +1,24 @@
#
# install.py
+# class for creating install images
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): David Cantrell
+# Martin Gracik
#
import os
@@ -59,6 +78,7 @@ class InstallImage(object):
dst = os.path.join(self.conf.installtree, "usr", "bin", file)
shutil.copy2(src, dst)
+ # XXX i cannot find this in the repos for f12
def configure_fedorakmod(self):
if os.path.isfile(self.paths.FEDORAKMODCONF):
utils.replace(self.paths.FEDORAKMODCONF,
diff --git a/src/pylorax/launcher.py b/src/pylorax/launcher.py
index 5e00bbb4..ac86b60d 100644
--- a/src/pylorax/launcher.py
+++ b/src/pylorax/launcher.py
@@ -1,6 +1,25 @@
#
# launcher.py
+# functions for the command line launcher
#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
+#
+
from __future__ import print_function
diff --git a/src/pylorax/lcs/__init__.py b/src/pylorax/lcs/__init__.py
index 7388121a..dc699128 100644
--- a/src/pylorax/lcs/__init__.py
+++ b/src/pylorax/lcs/__init__.py
@@ -1,5 +1,23 @@
#
# __init__.py
+# lorax control system classes
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
import sys
diff --git a/src/pylorax/lcs/actions/__init__.py b/src/pylorax/lcs/actions/__init__.py
index 1958643e..4a074693 100644
--- a/src/pylorax/lcs/actions/__init__.py
+++ b/src/pylorax/lcs/actions/__init__.py
@@ -1,5 +1,23 @@
#
# __init__.py
+# function for loading action modules
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
import sys
diff --git a/src/pylorax/lcs/actions/base.py b/src/pylorax/lcs/actions/base.py
index f90a6751..5f627b1f 100644
--- a/src/pylorax/lcs/actions/base.py
+++ b/src/pylorax/lcs/actions/base.py
@@ -1,5 +1,23 @@
#
# base.py
+# base lorax control system action class
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
class LCSAction(object):
diff --git a/src/pylorax/lcs/actions/file.py b/src/pylorax/lcs/actions/file.py
index c0591796..16a63022 100644
--- a/src/pylorax/lcs/actions/file.py
+++ b/src/pylorax/lcs/actions/file.py
@@ -1,5 +1,23 @@
#
# file.py
+# lcs file actions
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
import os
diff --git a/src/pylorax/lcs/actions/ssh.py b/src/pylorax/lcs/actions/ssh.py
index 6e9e617c..d4266b18 100644
--- a/src/pylorax/lcs/actions/ssh.py
+++ b/src/pylorax/lcs/actions/ssh.py
@@ -1,5 +1,23 @@
#
# ssh.py
+# lcs ssh actions
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
import commands
diff --git a/src/pylorax/output.py b/src/pylorax/output.py
index bcd154a0..f9469553 100644
--- a/src/pylorax/output.py
+++ b/src/pylorax/output.py
@@ -1,5 +1,23 @@
#
# output.py
+# output control
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
import sys
diff --git a/src/pylorax/ramdisk.py b/src/pylorax/ramdisk.py
index 7c135e4e..9eefc8c5 100644
--- a/src/pylorax/ramdisk.py
+++ b/src/pylorax/ramdisk.py
@@ -1,5 +1,23 @@
#
# ramdisk.py
+# class for creating init ramdisk
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
import sys
diff --git a/src/pylorax/singleton.py b/src/pylorax/singleton.py
index fbcf4930..056d448e 100644
--- a/src/pylorax/singleton.py
+++ b/src/pylorax/singleton.py
@@ -1,5 +1,23 @@
#
# singleton.py
+# singleton base class
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
class Singleton(object):
diff --git a/src/pylorax/utils.py b/src/pylorax/utils.py
index f8f1594f..2b57a093 100644
--- a/src/pylorax/utils.py
+++ b/src/pylorax/utils.py
@@ -1,5 +1,23 @@
#
# utils.py
+# file utilities
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# 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 .
+#
+# Red Hat Author(s): Martin Gracik
#
import sys