summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-12-07 18:28:55 +0000
committerThierry Vignaud <tv@mageia.org>2011-12-07 18:28:55 +0000
commitdd705626e039997b9c0bc5de2cad8b1e0918baee (patch)
tree0363a4fbb34aee5f1b223ec2c524ab94e96a6bd9 /images/make_boot_img
parent5bafe5243feca47c2de069e727c59d039338111b (diff)
downloaddrakx-dd705626e039997b9c0bc5de2cad8b1e0918baee.tar
drakx-dd705626e039997b9c0bc5de2cad8b1e0918baee.tar.gz
drakx-dd705626e039997b9c0bc5de2cad8b1e0918baee.tar.bz2
drakx-dd705626e039997b9c0bc5de2cad8b1e0918baee.tar.xz
drakx-dd705626e039997b9c0bc5de2cad8b1e0918baee.zip
perl_checker cleanups (theme was unused since "do not do anything
anymore with bootsplash.cfg" by me on 2009-10-06)
Diffstat (limited to 'images/make_boot_img')
-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;