From d3dff5ce8c27bad7fb3e655588abaa8f9b1b1662 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 23 Aug 2024 11:12:58 +0200 Subject: [PATCH] Framework: bump tmpfs size as we are going over Suppress this warning: "Rootfs post-tweaks size is larger than estimated tmpfs size" --- lib/functions/rootfs/trap-rootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/rootfs/trap-rootfs.sh b/lib/functions/rootfs/trap-rootfs.sh index c00a9fe8f..15911c350 100644 --- a/lib/functions/rootfs/trap-rootfs.sh +++ b/lib/functions/rootfs/trap-rootfs.sh @@ -26,7 +26,7 @@ function prepare_rootfs_build_params_and_trap() { # @TODO: well those are very... arbitrary numbers. At least when using cached rootfs, we can be more precise. # predicting the size of tmpfs is hard/impossible, so would be nice to show the used size at the end so we can tune. declare -i tmpfs_estimated_size=2300 # MiB - bumped from 2000, empirically - [[ $BUILD_DESKTOP == yes ]] && tmpfs_estimated_size=5000 # MiB + [[ $BUILD_DESKTOP == yes ]] && tmpfs_estimated_size=6000 # MiB declare use_tmpfs=no # by default if [[ ${FORCE_USE_RAMDISK} == no ]]; then # do not use, even if it fits