diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-09-21 04:37:22 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-09-21 04:37:22 +0000 |
commit | 2fc394c9f8eb5c7ed022d73898b1d542cf0b7140 (patch) | |
tree | d9741f94dd6dd8162ec30fe004bc9084b2c14028 | |
parent | 177604f255809f5886960c304ea7579c3c40221a (diff) | |
download | drakx-backup-do-not-use-2fc394c9f8eb5c7ed022d73898b1d542cf0b7140.tar drakx-backup-do-not-use-2fc394c9f8eb5c7ed022d73898b1d542cf0b7140.tar.gz drakx-backup-do-not-use-2fc394c9f8eb5c7ed022d73898b1d542cf0b7140.tar.bz2 drakx-backup-do-not-use-2fc394c9f8eb5c7ed022d73898b1d542cf0b7140.tar.xz drakx-backup-do-not-use-2fc394c9f8eb5c7ed022d73898b1d542cf0b7140.zip |
run grub installation program in chroot so that to avoid weird pbs at times
-rw-r--r-- | perl-install/bootloader.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 0cdbfc1bd..40c4c78a0 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1152,10 +1152,8 @@ sub install_grub { if (!$::testing) { log::l("Installing boot loader..."); - symlink "$::prefix/boot", "/boot"; my $error; - run_program::run("sh", $f, "2>", \$error) or die "grub failed: $error"; - unlink "/boot"; + run_program::rooted($::prefix, "sh", $f, "2>", \$error) or die "grub failed: $error"; } } |