diff options
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ sub build_syslinux_cfg { sub build_grub_cfg { my ($live, $media, $opts, $device) = @_; - #- FIXME? first partition is hardcoded for loopback (master images) + #- FIXME? use find_partition_index my ($part_nb) = $device =~ m!/dev/loop! ? 1 : $device =~ /(\d+)$/; my $part_idx = $part_nb - 1; my $initrd = $media->get_initrd_path; |