From 4fbb83b8cca0b49ec461ca40c51a7903f7ca17ef Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 7 Dec 2011 18:28:55 +0000 Subject: perl_checker cleanups (theme was unused since "do not do anything anymore with bootsplash.cfg" by me on 2009-10-06) --- images/make_boot_img | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'images') diff --git a/images/make_boot_img b/images/make_boot_img index 08adbb697..034d2b0cf 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -167,7 +167,7 @@ sub initrd { my $dest=$firm; $dest =~ s|all.kernels$I/$ext/||; _ "cp -a $firm $tmp_initrd/$dest"; - }; + } output("$tmp_initrd/hotplug", q{#!/bin/sh if [ "$SUBSYSTEM" = firmware ] && [ "$ACTION" = add ] && [ -n "$FIRMWARE" ] ; then @@ -286,7 +286,7 @@ sub boot_img_i386 { unlink $rdz; # mtools wants the image to be a power of 32 - my $size = max((ceil(chomp_(`du -s -k $tmp_mnt`) / 32) * 32) + 128, 1440); + my $size = max(ceil(chomp_(`du -s -k $tmp_mnt`) / 32) * 32 + 128, 1440); _ "dd if=/dev/zero of=$img bs=1k count=$size"; _ "/sbin/mkdosfs $img"; @@ -706,7 +706,6 @@ sub syslinux_all_files { @$kernels or die "syslinux_all_files: no kernel\n"; $default_vga =~ /788/ or die 'we rely on vga=788 for bootsplash'; - my $theme = $ENV{THEME} || 'Mageia-Free'; each_index { mkdir "$dir/alt$::i", 0777; -- cgit v1.2.1