summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--NEWS1
-rwxr-xr-xdraklive-install2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ed93f26..d3efc6b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- only remove unused locales and drivers from installed system
- ensure partitioning wizard knows devices have been unmounted (mga#23063)
- disable screensaver/lock whilst installer is running
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);