>From d8c335f3778fd8832f22362aba89d619cf511b4d Mon Sep 17 00:00:00 2001 From: Bill Peck Date: Thu, 9 Dec 2010 14:35:13 -0500 Subject: [PATCH] exclude initrd.addrsize as well. This affects s390 builds --- cobbler/action_import.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cobbler/action_import.py b/cobbler/action_import.py index 3bd5d7a..db40943 100644 --- a/cobbler/action_import.py +++ b/cobbler/action_import.py @@ -537,7 +537,7 @@ class Importer: self.logger.info("following symlink: %s" % fullname) os.path.walk(fullname, self.distro_adder, distros_added) - if ( x.startswith("initrd") or x.startswith("ramdisk.image.gz") ) and x != "initrd.size": + if ( x.startswith("initrd") or x.startswith("ramdisk.image.gz") ) and x != "initrd.size" and x != "initrd.addrsize": if x.find("PAE") == -1: initrd = os.path.join(dirname,x) else: -- 1.7.2.3