From 662a62c57a2c7156fe0fad7e12851d2ee5793442 Mon Sep 17 00:00:00 2001 From: immarvin Date: Thu, 12 Feb 2015 00:23:18 -0800 Subject: [PATCH] there should be only 1 local package directory speicified in pkgdir attribute, the removed code slice seems unnecessary --- xCAT-server/lib/xcat/plugins/debian.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/debian.pm b/xCAT-server/lib/xcat/plugins/debian.pm index 199e99ca6..630f7f012 100755 --- a/xCAT-server/lib/xcat/plugins/debian.pm +++ b/xCAT-server/lib/xcat/plugins/debian.pm @@ -739,11 +739,6 @@ sub mkinstall my $initrdpath; my $maxmem; - # only first value is adopted, please see tabdump linuximage, section pkgdir. - my @pkgdirs = split(/,/, $pkgdir); - if (scalar(@pkgdirs) > 1) { - $pkgdir = @pkgdirs[0]; - } if ( (