mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
dthelper: only flag memsize for pi and 512mb boards
This commit is contained in:
parent
5a27620535
commit
e5cb1ade46
@ -51,8 +51,7 @@ do_dtflag(){
|
|||||||
if [ "${MEMSIZE}" -lt "524288" ]; then
|
if [ "${MEMSIZE}" -lt "524288" ]; then
|
||||||
MEMSIZE="-512"
|
MEMSIZE="-512"
|
||||||
else
|
else
|
||||||
MEMSIZE=$(( $MEMSIZE / ( 1024 * 1024 ) + 1 ))
|
MEMSIZE=""
|
||||||
MEMSIZE="-${MEMSIZE}g"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo "${DTFLAG}${MEMSIZE}"
|
echo "${DTFLAG}${MEMSIZE}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user