mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
Merge pull request #5033 from chewitt/dthelper
dthelper: only flag memsize for pi and 512mb boards
This commit is contained in:
commit
5b97b230aa
@ -51,8 +51,7 @@ do_dtflag(){
|
||||
if [ "${MEMSIZE}" -lt "524288" ]; then
|
||||
MEMSIZE="-512"
|
||||
else
|
||||
MEMSIZE=$(( $MEMSIZE / ( 1024 * 1024 ) + 1 ))
|
||||
MEMSIZE="-${MEMSIZE}g"
|
||||
MEMSIZE=""
|
||||
fi
|
||||
fi
|
||||
echo "${DTFLAG}${MEMSIZE}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user