fix bug 4441 xcat genimage won't install os upgrade, add the "http" started otherpkgdir into apt.list file

This commit is contained in:
zhaoertao 2014-12-01 09:12:29 -05:00
parent be301fac1e
commit f5577e7921

View File

@ -381,7 +381,7 @@ unless ($onlyinitrd) {
my %extrapkgnames;
if (keys(%extra_hash) > 0) {
open ($aptconfig,">","$rootimg_dir/etc/apt/sources.list.d/genimage.apt.list");
open ($aptconfig,">>","$rootimg_dir/etc/apt/sources.list.d/genimage.apt.list");
my $index=1;
foreach $pass (sort {$a <=> $b} (keys(%extra_hash))) {
foreach (keys(%{$extra_hash{$pass}})) {