diff options
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | draklive-install | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- remove unused locales and drivers from source if not persistent + (this significantly reduces the time taken to install) + 2.18 - create /media in the installed system (mga#24097) - remove orphans after removing unwanted locales / hardware support diff --git a/draklive-install b/draklive-install index 58eb445..59e39be 100755 --- a/draklive-install +++ b/draklive-install @@ -64,12 +64,15 @@ sub install_live() { my $copy_source = $settings{SOURCE} || '/'; + my $persistent = -e '/run/mgalive/persistent'; + display_start_message(); init_hds($in, $all_hds, $fstab); ask_partitions_loop($in, $all_hds, $fstab, $copy_source); + remove_unused_packages($in, $copy_source) if !$persistent; prepare_root($in); copy_root($in, $copy_source); - remove_unused_packages($in, $::prefix); + remove_unused_packages($in, $::prefix) if $persistent; complete_install($in, $all_hds); setup_bootloader($in, $all_hds, $fstab); finish_installation($fstab); |