diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-08-07 21:23:05 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-08-07 21:23:05 +0000 |
commit | f6b66663ad90dbd93ac89f6d6882d393887dc555 (patch) | |
tree | 73d65cfbede9ed52baef966c20265358fa08e9c4 | |
parent | 0581caa1351524bb2564d5dfb132ab26d3bb410b (diff) | |
download | drakiso-f6b66663ad90dbd93ac89f6d6882d393887dc555.tar drakiso-f6b66663ad90dbd93ac89f6d6882d393887dc555.tar.gz drakiso-f6b66663ad90dbd93ac89f6d6882d393887dc555.tar.bz2 drakiso-f6b66663ad90dbd93ac89f6d6882d393887dc555.tar.xz drakiso-f6b66663ad90dbd93ac89f6d6882d393887dc555.zip |
set disk master device in create function instead of record (can be used for usb too)
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -774,6 +774,7 @@ sub create_disk_master { my $dest = get_disk_master_path($live); allocate_master($live, $live->{media}, $dest); my $slash_idx = $live->{media}->find_partition_index('/'); + $opts->{device} ||= get_disk_master_path($live); record_master($live, $opts); } @@ -971,7 +972,6 @@ sub record_harddisk_master { my $media_boot = $live->get_media_prefix('boot', $opts->{boot}); my $media_loopbacks = $live->get_media_prefix('loopbacks', $opts->{boot}); - $opts->{device} ||= get_disk_master_path($live); my $main_device = get_media_device($live, $opts) or die "unable to find recording device (missing label? try with --device <device>)\n"; |