Skip to content

Commit

Permalink
Framework: bump tmpfs size as we are going over
Browse files Browse the repository at this point in the history
Suppress this warning: "Rootfs post-tweaks size is larger than estimated tmpfs size"
  • Loading branch information
igorpecovnik committed Aug 23, 2024
1 parent edad72b commit a26eb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions/rootfs/trap-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a26eb47

Please sign in to comment.