2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-15 10:50:28 +00:00

Don't need to update otherpkgdir to default dir for genimage command (#1954)

This commit is contained in:
cxhong
2016-10-13 01:07:01 -04:00
committed by yangsong
parent 8dda0dc49e
commit 7dd63f1aee
4 changed files with 4 additions and 4 deletions

View File

@ -119,7 +119,7 @@ $updates{'pkgdir'} = $srcdir if ($tempfile);
if (!$srcdir_otherpkgs) {
$srcdir_otherpkgs = "$installroot/post/otherpkgs/$osver/$arch";
}
$updates{'otherpkgdir'} = $srcdir_otherpkgs if ($tempfile);
#$updates{'otherpkgdir'} = $srcdir_otherpkgs if ($tempfile);
if (!$destdir)
{

View File

@ -122,7 +122,7 @@ $updates{'pkgdir'} = $srcdir if ($tempfile);
if (!$srcdir_otherpkgs) {
$srcdir_otherpkgs = "$installroot/post/otherpkgs/$osver/$arch";
}
$updates{'otherpkgdir'} = $srcdir_otherpkgs if ($tempfile);
#$updates{'otherpkgdir'} = $srcdir_otherpkgs if ($tempfile);
if (!$destdir)
{

View File

@ -189,7 +189,7 @@ $srcdir = "$installroot/$osver/$arch" unless ($srcdir);
$updates{'pkgdir'} = $srcdir if ($tempfile);
$srcdir_otherpkgs = "$installroot/post/otherpkgs/$osver/$arch" unless ($srcdir_otherpkgs);
$updates{'otherpkgdir'} = $srcdir_otherpkgs if ($tempfile);
#$updates{'otherpkgdir'} = $srcdir_otherpkgs if ($tempfile);
$destdir = "$installroot/netboot/$osver/$arch/$profile" unless ($destdir);
$updates{'rootimgdir'} = $destdir if ($tempfile);

View File

@ -140,7 +140,7 @@ $updates{'pkgdir'} = $srcdir if ($tempfile);
#$srcdir = $srcdir . "/1";
$srcdir_otherpkgs = "$installroot/post/otherpkgs/$osver/$arch" unless ($srcdir_otherpkgs);
$updates{'otherpkgdir'} = $srcdir_otherpkgs if ($tempfile);
#$updates{'otherpkgdir'} = $srcdir_otherpkgs if ($tempfile);
$destdir = "$installroot/netboot/$osver/$arch/$profile" unless ($destdir);
$updates{'rootimgdir'} = $destdir if ($tempfile);