Compare commits

..

2 Commits

Author SHA1 Message Date
github-actions[bot]
99d0559df2 update 2024-04-16 17:20:09 2024-04-16 17:20:09 +00:00
Ing
8d6302088b fix something 2024-04-17 01:17:39 +08:00
4 changed files with 6 additions and 4 deletions

View File

@ -1 +1 @@
24.4.3 24.4.4

View File

@ -1,4 +1,4 @@
RR_VERSION="24.4.3" RR_VERSION="24.4.4"
RR_TITLE="RR v${RR_VERSION}" RR_TITLE="RR v${RR_VERSION}"
# Define paths # Define paths

View File

@ -1296,7 +1296,9 @@ function make() {
while true; do while true; do
SIZE=256 # initrd-dsm + zImage-dsm ≈ 210M SIZE=256 # initrd-dsm + zImage-dsm ≈ 210M
SPACELEFT=$(df -m ${PART3_PATH} 2>/dev/null | awk 'NR==2 {print $4}') SPACELEFT=$(df -m ${PART3_PATH} 2>/dev/null | awk 'NR==2 {print $4}')
SPACEALL=$((${SPACELEFT:-0} + $(du -m ${MOD_ZIMAGE_FILE} | awk '{print $1}') + $(du -m ${MOD_RDGZ_FILE} | awk '{print $1}'))) ZIMAGESIZE=$(du -m ${ORI_ZIMAGE_FILE} 2>/dev/null | awk '{print $1}')
RDGZSIZE=$(du -m ${ORI_RDGZ_FILE} 2>/dev/null | awk '{print $1}')
SPACEALL=$((${SPACELEFT:-0} + ${ZIMAGESIZE:-0} + ${RDGZSIZE:-0}))
[ ${SPACEALL:-0} -ge ${SIZE} ] && break [ ${SPACEALL:-0} -ge ${SIZE} ] && break
echo -e "$(TEXT "No disk space left, please clean the cache and try again!")" >"${LOG_FILE}" echo -e "$(TEXT "No disk space left, please clean the cache and try again!")" >"${LOG_FILE}"
return 1 return 1

View File

@ -1 +1 @@
24.4.3 24.4.4