mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
mount /root to tmpfs, some environments check disk space
This commit is contained in:
parent
8ff3906ede
commit
b2d419d548
1 changed files with 5 additions and 0 deletions
|
@ -340,6 +340,11 @@ _prepare_x() {
|
||||||
locale-gen >/dev/null 2>&1
|
locale-gen >/dev/null 2>&1
|
||||||
echo "Cleanup locale and i18n ..."
|
echo "Cleanup locale and i18n ..."
|
||||||
rm -rf /usr/share/{locale,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() {
|
_chromium_flags() {
|
||||||
|
|
Loading…
Reference in a new issue