diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-12-29 18:01:16 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-12-29 18:01:16 +0000 |
commit | 075797d8f70abbf199b536bc4660eeaa7d438ff9 (patch) | |
tree | d0e513e27b653170c7f729234f009be322da6e55 /tools/draklive | |
parent | d3594465ec206429453e6513f7b08f45a5bd181e (diff) | |
download | drakx-075797d8f70abbf199b536bc4660eeaa7d438ff9.tar drakx-075797d8f70abbf199b536bc4660eeaa7d438ff9.tar.gz drakx-075797d8f70abbf199b536bc4660eeaa7d438ff9.tar.bz2 drakx-075797d8f70abbf199b536bc4660eeaa7d438ff9.tar.xz drakx-075797d8f70abbf199b536bc4660eeaa7d438ff9.zip |
rename refresh_boot_only as boot_only
Diffstat (limited to 'tools/draklive')
-rwxr-xr-x | tools/draklive | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/draklive b/tools/draklive index 3c8b16888..bf11b47b7 100755 --- a/tools/draklive +++ b/tools/draklive @@ -603,7 +603,7 @@ sub format_device { sub record_cdrom_master { my ($live, $media, $opts) = @_; - $opts->{refresh_boot_only} and die "record boot isn't possible for cdrom master"; + $opts->{boot_only} and die "record boot isn't possible for cdrom master"; $media->{device} or die "no device defined in media configuration"; my $src = $opts->{onthefly} ? '-' : $live->{workdir} . $live->{prefix}{images} . '/live.iso'; run_('cdrecord', '-v', 'dev=' . $media->{device}, $src); @@ -624,7 +624,7 @@ sub record_usb_master { cp_f($live->{workdir} . $_, $live->{mnt}) foreach get_initrd_path($live, $media), map { $live->{prefix}{boot} . '/' . $_ } qw(vmlinuz live.msg); run_('rsync', '-vdP', $live->{workdir} . $live->{prefix}{loopbacks} . '/', $live->{mnt} . $live->{prefix}{loopbacks}) - unless $opts->{refresh_boot_only}; + unless $opts->{boot_only}; run_('umount', $live->{mnt}); maybe_umount_device($device); #- use syslinux -s, "safe, slow and stupid" version of SYSLINUX |