treewide: replace backticks by $(...) in gen_*_img.sh scripts
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [decapitalized patch subject at submitter's request] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
committed by
Christian Lamparter
parent
0bbfc3dff7
commit
c5b4fa20fa
@@ -21,7 +21,7 @@ head=4
|
||||
sect=63
|
||||
|
||||
# set the Boot stream partition size to 1M
|
||||
set `ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t 53 -p 1M -t 83 -p ${ROOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M`
|
||||
set $(ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t 53 -p 1M -t 83 -p ${ROOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M)
|
||||
|
||||
ROOTFS1OFFSET="$(($3 / 512))"
|
||||
ROOTFS1SIZE="$(($4 / 512))"
|
||||
|
||||
@@ -23,7 +23,7 @@ head=4
|
||||
sect=63
|
||||
|
||||
# Set the u-boot storage to 2M
|
||||
set `ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t 53 -p 2M -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M`
|
||||
set $(ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t 53 -p 2M -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M)
|
||||
|
||||
UBOOTOFFSET="$(($1 / 512))"
|
||||
UBOOTSIZE="$(($2 / 512))"
|
||||
|
||||
Reference in New Issue
Block a user