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:
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user