From 551bc0ab1160ca43a00fa4f3fed5582b1550bd4d Mon Sep 17 00:00:00 2001 From: mellor Date: Tue, 10 Mar 2015 08:41:52 -0400 Subject: [PATCH] defect 4494: fix lskmodules to find both *.deb and *.udeb packages --- xCAT-server/lib/xcat/plugins/kmodules.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/kmodules.pm b/xCAT-server/lib/xcat/plugins/kmodules.pm index 1801c87a9..9f22a645e 100644 --- a/xCAT-server/lib/xcat/plugins/kmodules.pm +++ b/xCAT-server/lib/xcat/plugins/kmodules.pm @@ -462,7 +462,7 @@ sub set_sources { my @kernel_rpms = (); if ($ou_entry->{'basename'} =~ /^ubuntu/) { - @kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *.deb`; + @kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *deb`; } else { @@ -511,7 +511,7 @@ sub set_sources { my @kernel_rpms = (); if ($od_entry->{'basename'} =~ /ubuntu/) { - @kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *.deb`; + @kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *deb`; } else { @@ -532,7 +532,7 @@ sub set_sources { my @kernel_rpms = (); if ($od_entry->{'basename'} =~ /ubuntu/) { - @kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *.deb`; + @kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *deb`; } else {