summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-ximages/make_boot_img5
1 files changed, 2 insertions, 3 deletions
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;