summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/draklive-install b/draklive-install
index d0d020f..50a5d1a 100755
--- a/draklive-install
+++ b/draklive-install
@@ -56,6 +56,7 @@ 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();
prepare_root($in, $all_hds);
copy_root($in, $copy_source);
complete_install($in, $all_hds);
@@ -175,6 +176,11 @@ sub ask_partitions {
fs::partitioning::format_mount_partitions($in, $all_hds, $fstab);
}
+sub remove_unused_packages() {
+ system("/usr/sbin/remove-unselected-locales");
+ system("/usr/sbin/remove-unused-hardware-packages");
+}
+
sub prepare_root {
my ($in, $all_hds) = @_;
#- create required directories and devices (early to have a consistent root before calling other programs)