diff options
Diffstat (limited to 'images/update_kernel')
-rwxr-xr-x | images/update_kernel | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/images/update_kernel b/images/update_kernel index a16513eac..e003f457b 100755 --- a/images/update_kernel +++ b/images/update_kernel @@ -11,7 +11,6 @@ use lib '../kernel'; use MDK::Common; use list_modules; -(my $karch = arch()) =~ s/^i.86$/i586/; my $rpm = 'rpm --nosignature'; @@ -40,7 +39,7 @@ sub rpm2version { sub extract_installed_rpm { my ($installed_dir, $kern_ver) = @_; my $local_dir = "all.kernels/$kern_ver"; - mkdir_p("$local_dir"); + mkdir_p($local_dir); sys('cp', "$installed_dir/boot/vmlinuz-$kern_ver", "$local_dir/vmlinuz"); } |