kumquat-buildroot/board
Gaël PORTAY d0b055239e raspberrypi: post-image.sh fix gpu_mem option
The gpu_mem option is not using the proper option argument which causes sed to
fail.

	+ case "${arg}" in
	+ gpu_mem=ome/gportay/output-rpi3-qtwe/images
	+ sed -e '/^ome/gportay/output-rpi3-qtwe/images=/s,=.*,=ome/gportay/output-rpi3-qtwe/images,' -i /home/gportay/output-rpi3-qtwe/images/rpi-firmware/config.txt
	sed: -e expression #1, char 8: extra characters after command
	+ case "${arg}" in
	+ gpu_mem=ome/gportay/output-rpi3-qtwe/images
	+ sed -e '/^ome/gportay/output-rpi3-qtwe/images=/s,=.*,=ome/gportay/output-rpi3-qtwe/images,' -i /home/gportay/output-rpi3-qtwe/images/rpi-firmware/config.txt
	sed: -e expression #1, char 8: extra characters after command

The issue comes from the use of $1 instead of $arg to extract the gpu_mem
value. $1 is the $(BINARIES_DIR) which leads to a sed expression error.

Also, it adds the error flag to the shell script to prevent from such situation
and terminate the build in error.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-10-21 21:37:10 +02:00
..
acmesystems
altera/socrates_cyclone5 configs/socrates_cyclone5: new defconfig 2017-08-02 21:45:26 +02:00
arcturus/ppc-ucp1020
arm
armadeus board: remove Armadeus's APF9328 support 2017-08-21 23:23:16 +02:00
atmel configs/atmel: addition of the sama5d27 som1 ek board 2017-10-06 12:34:32 +02:00
avnet/s6lx9_microboard
beagleboardx15
beaglebone board/beaglebone: skip bonegreen.dtb if not built 2017-08-11 22:36:39 +02:00
boundarydevices/common board/boundarydevices: add mac parameter for BD-SDMAC in bootscript 2017-08-19 15:18:32 +02:00
chromebook/snow
ci20
ci40
csky
cubietech/cubieboard2
digilent/zybo
embest/riotboard
engicam boarde: icorem6: clarify the common vs. board-specific things in readme.txt 2017-10-06 22:14:07 +02:00
firefly/firefly-rk3288
freescale configs/imx6-sabresd: Add VPU decoding support 2017-10-10 22:43:04 +02:00
friendlyarm
gdb
grinn
hardkernel/odroidc2
intel/galileo configs/galileo: add CONFIG_LBDAF=y in the kernel configuration 2017-09-02 20:14:14 +02:00
lego/ev3
lemaker/bananapro
linksprite/pcduino
minnowboard
nexbox/a95x
olimex
openblocks/a6
orangepi
pandaboard
pc
qemu configs/qemu_aarch64_virt_defconfig: build and use ext4 rootfs 2017-10-12 22:49:21 +02:00
raspberrypi raspberrypi: post-image.sh fix gpu_mem option 2017-10-21 21:37:10 +02:00
roseapplepi
sinovoip/m2-plus Added support for Sinovoip BananaPi M2 Plus board. 2017-09-22 23:11:01 +02:00
solidrun/mx6cubox
stmicroelectronics
synopsys
technexion configs/imx7dpico: Bump to 4.13 kernel 2017-09-07 21:59:14 +02:00
technologic configs: add defconfig for TS-7680 2017-08-24 23:15:26 +02:00
telit/evk-pro3
toradex/apalis-imx6
udoo configs/mx6udoo: Bump kernel and U-Boot versions 2017-10-15 15:54:04 +02:00
wandboard wandboard: genimage: Pass an offset for the rootfs 2017-09-26 23:52:15 +02:00
warp7
zynq
raspberrypi0
raspberrypi2
raspberrypi3
raspberrypi3-64