mirror of
https://github.com/RROrg/rr.git
synced 2025-08-21 20:17:11 +08:00
Compare commits
1 Commits
99d0559df2
...
7574be2cde
Author | SHA1 | Date | |
---|---|---|---|
|
7574be2cde |
@ -1,4 +1,4 @@
|
|||||||
RR_VERSION="24.4.4"
|
RR_VERSION="24.4.3"
|
||||||
RR_TITLE="RR v${RR_VERSION}"
|
RR_TITLE="RR v${RR_VERSION}"
|
||||||
|
|
||||||
# Define paths
|
# Define paths
|
||||||
|
@ -1296,9 +1296,7 @@ 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}')
|
||||||
ZIMAGESIZE=$(du -m ${ORI_ZIMAGE_FILE} 2>/dev/null | awk '{print $1}')
|
SPACEALL=$((${SPACELEFT:-0} + $(du -m ${MOD_ZIMAGE_FILE} | awk '{print $1}') + $(du -m ${MOD_RDGZ_FILE} | 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
|
||||||
|
@ -1 +1 @@
|
|||||||
24.4.4
|
24.4.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user