summaryrefslogtreecommitdiffstats
path: root/draklive-install
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-10-27 15:15:43 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-10-27 15:27:56 +0100
commit20b8f0d0976053e564b0505171dfeb8b85a84007 (patch)
treea758d815efa2d09532a9db20295673ab631f31f8 /draklive-install
parentc862d08c00b18328100188c500717f97a9309b4e (diff)
downloaddraklive-install-20b8f0d0976053e564b0505171dfeb8b85a84007.tar
draklive-install-20b8f0d0976053e564b0505171dfeb8b85a84007.tar.gz
draklive-install-20b8f0d0976053e564b0505171dfeb8b85a84007.tar.bz2
draklive-install-20b8f0d0976053e564b0505171dfeb8b85a84007.tar.xz
draklive-install-20b8f0d0976053e564b0505171dfeb8b85a84007.zip
Only remove unused locales and drivers from installed system
Currently unused locales and drivers are removed from the live system before it is copied to the installed system. But now we support persistence, this leaves the live medium unable to adapt to different hardware.
Diffstat (limited to 'draklive-install')
-rwxr-xr-xdraklive-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive-install b/draklive-install
index 5d128f8..10c2e43 100755
--- a/draklive-install
+++ b/draklive-install
@@ -65,9 +65,9 @@ sub install_live() {
display_start_message();
init_hds($in, $all_hds, $fstab, $live_media);
ask_partitions_loop($in, $all_hds, $fstab, $copy_source);
- remove_unused_packages($in, $copy_source);
prepare_root($in);
copy_root($in, $copy_source);
+ remove_unused_packages($in, $::prefix);
complete_install($in, $all_hds);
setup_bootloader($in, $all_hds, $fstab);
finish_installation($fstab);