fix bug 4410: Command genimage failed on Ubuntu 14.04.1 ppc64el with kernelver attribute
This commit is contained in:
parent
3f59552d0c
commit
c65b55b79d
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user