mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-24 15:05:36 +00:00
fix bug 4410: Command genimage failed on Ubuntu 14.04.1 ppc64el with kernelver attribute
This commit is contained in:
@ -477,7 +477,7 @@ unless ($onlyinitrd) {
|
||||
$rc = system("$aptgetcmd_update");
|
||||
if ($kernelimage) {
|
||||
if ($kernelver) {
|
||||
$kernelimage = "linux-image-".$kernelver."-generic";
|
||||
$kernelimage = "linux-image-".$kernelver;
|
||||
}
|
||||
my $aptgetcmd_install = $aptgetcmd . "&&". $aptgetcmdby. " install --no-install-recommends ".$kernelimage;
|
||||
$rc = system("$aptgetcmd_install");
|
||||
|
Reference in New Issue
Block a user