summaryrefslogtreecommitdiffstats
path: root/move/make_live_tree_boot
diff options
context:
space:
mode:
Diffstat (limited to 'move/make_live_tree_boot')
-rwxr-xr-xmove/make_live_tree_boot6
1 files changed, 6 insertions, 0 deletions
diff --git a/move/make_live_tree_boot b/move/make_live_tree_boot
index b4245b381..20518bfdc 100755
--- a/move/make_live_tree_boot
+++ b/move/make_live_tree_boot
@@ -67,13 +67,19 @@ sub remove_light_tree {
my @always_list = chomp_(cat_('data/always.list'));
my @boot_list = chomp_(cat_('data/boot.list'));
+my @totem_list = chomp_(cat_('data/totem.list'));
+
+@always_list = uniq(@always_list, intersection(\@boot_list, \@totem_list));
@boot_list = difference2(\@boot_list, \@always_list);
+@totem_list = difference2(\@totem_list, \@always_list);
remove_light_tree('always', \@always_list);
remove_light_tree('boot', \@boot_list);
+remove_light_tree('totem', \@totem_list);
if (!@ARGV) {
create_light_tree('always', \@always_list);
create_light_tree('boot', \@boot_list);
+ create_light_tree('totem', \@totem_list);
}