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 7 additions and 6 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}"
# Define paths

View File

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

View File

@ -1 +1 @@
24.4.3
24.4.4