summaryrefslogtreecommitdiffstats
path: root/images
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
commit4fbb83b8cca0b49ec461ca40c51a7903f7ca17ef (patch)
tree0363a4fbb34aee5f1b223ec2c524ab94e96a6bd9 /images
parentbbe9410586cd0b97084e678e2ba18627370bf156 (diff)
downloaddrakx-backup-do-not-use-4fbb83b8cca0b49ec461ca40c51a7903f7ca17ef.tar
drakx-backup-do-not-use-4fbb83b8cca0b49ec461ca40c51a7903f7ca17ef.tar.gz
drakx-backup-do-not-use-4fbb83b8cca0b49ec461ca40c51a7903f7ca17ef.tar.bz2
drakx-backup-do-not-use-4fbb83b8cca0b49ec461ca40c51a7903f7ca17ef.tar.xz
drakx-backup-do-not-use-4fbb83b8cca0b49ec461ca40c51a7903f7ca17ef.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')
-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;