teams/asahi: FEX: Minimize rootfs by removing most data files and executables

We only really need i686/x86_64 libraries, and executables which do not exist
(or do not work equivalently) on the arm64 host system.

In particular, removing libexec avoids situations where random dbus services
are started under emulation for no reason.
This commit is contained in:
Asahi Lina
2024-12-09 20:00:23 +00:00
committed by asahilina
parent bb3a746dda
commit 9f4dd7cb88
2 changed files with 83 additions and 29 deletions
+9 -29
View File
@@ -1,35 +1,15 @@
exclude:
- /dev
- /sys
- /proc
- /etc/hosts
- /etc/resolv.conf
- /etc/timezone
- /etc/localtime
- /etc/passwd
- /etc/passwd-
- /etc/group
- /etc/group-
- /etc/shadow
- /etc/shadow-
- /etc/gshadow
- /etc/gshadow-
- /etc/fstab
- /etc/mtab
- /etc/subuid
- /etc/subgid
- /etc/machine-id
- /afs
- /boot
- /dev
- /home
- /media
- /mnt
- /root
- /srv
- /tmp
- /run
- /opt
- /usr/share/fonts
- /var/tmp
- /var/run
- /var/lock
- /var/lib/dbus/machine-id
- /proc
- /root
- /run
- /srv
- /sys
- /tmp
- /var