From 844284cc2f4643de66ec1c20683036e65c2de712 Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Sun, 11 Jun 2023 22:25:55 +0200
Subject: host-demeter: Avoid removing merged-usr symlinks

---
 host-demeter/make.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/host-demeter/make.conf b/host-demeter/make.conf
index 5f824fd..8e37209 100644
--- a/host-demeter/make.conf
+++ b/host-demeter/make.conf
@@ -19,3 +19,7 @@ EMERGE_DEFAULT_OPTS="--alert --ask --autounmask=n --color=n --jobs 2 --load-aver
 FEATURES="cgroup clean-logs compress-build-logs downgrade-backup parallel-install split-elog split-log userfetch"
 
 INSTALL_MASK="/usr/share/bash-completion"
+
+# Avoid removing merged-usr symlinks.
+UNINSTALL_IGNORE="${UNINSTALL_IGNORE} /bin /lib /lib32 /lib64 /libx32 /sbin /usr/sbin"
+UNINSTALL_IGNORE="${UNINSTALL_IGNORE} /usr/lib/modules/*"
-- 
cgit v1.2.3-2-gb3c3