summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-11-09 23:53:24 +0000
committerOlivier Blin <oblin@mandriva.com>2009-11-09 23:53:24 +0000
commit2d810615072236d104e24cf723378ccf723bdab8 (patch)
tree5f682211461becbe23899f713aa29e1e001a6477
parent2e117fd37cfeae2a497d213b06eb06e901c3e8f7 (diff)
downloaddraklive-2d810615072236d104e24cf723378ccf723bdab8.tar
draklive-2d810615072236d104e24cf723378ccf723bdab8.tar.gz
draklive-2d810615072236d104e24cf723378ccf723bdab8.tar.bz2
draklive-2d810615072236d104e24cf723378ccf723bdab8.tar.xz
draklive-2d810615072236d104e24cf723378ccf723bdab8.zip
fix writing media specific boot for disk masters
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 4ac770e..c9fa706 100755
--- a/draklive
+++ b/draklive
@@ -911,7 +911,7 @@ sub install_disk_bootloader {
$live->{prefix}{boot} . $_;
} get_syslinux_path($media, $opts), $media->get_initrd_path, @syslinux_boot_files;
} elsif ($bootloader eq 'grub') {
- if (need_compressed_image($live)) {
+ if (need_media_specific_boot($live)) {
#- FIXME: add get_grub_path (when building boot configuration files)
# and get_bootloader_path (when copying)
mkdir_p($live->{mnt} . $media_boot . '/grub');