summaryrefslogtreecommitdiffstats
path: root/images/update_kernel
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-04-28 17:22:21 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-04-28 23:14:58 +0200
commit9f4e8e60701616c3ecc5421b178a063635c3733c (patch)
tree5154281313fcf96f116fce574d70ff08c9d74098 /images/update_kernel
parentb1402fa96fb4bfd0024a1142b1c461a7dea259f5 (diff)
downloaddrakx-9f4e8e60701616c3ecc5421b178a063635c3733c.tar
drakx-9f4e8e60701616c3ecc5421b178a063635c3733c.tar.gz
drakx-9f4e8e60701616c3ecc5421b178a063635c3733c.tar.bz2
drakx-9f4e8e60701616c3ecc5421b178a063635c3733c.tar.xz
drakx-9f4e8e60701616c3ecc5421b178a063635c3733c.zip
perl_checker cleanups
Diffstat (limited to 'images/update_kernel')
-rwxr-xr-ximages/update_kernel3
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");
}