mount /root to tmpfs, some environments check disk space

This commit is contained in:
Tobias Powalowski 2022-05-22 18:11:11 +02:00
parent 8ff3906ede
commit b2d419d548

View file

@ -340,6 +340,11 @@ _prepare_x() {
locale-gen >/dev/null 2>&1
echo "Cleanup locale and i18n ..."
rm -rf /usr/share/{locale,i18n}
# needed for environments, which checks diskspace
if ! mountpoint /root; do
echo "Mount tmpfs on /root"
mount -t tmpfs tmpfs /root
fi
}
_chromium_flags() {