Skip to content

Commit bbf099f

Browse files
committed
sysvinit-inittab: Remove dependency on bash
Signed-off-by: Martijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
1 parent 82ae0e8 commit bbf099f

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

meta-imx-bsp/recipes-core/sysvinit/sysvinit-inittab/imxgpu2d/rc_gpu.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
CPUREV=$(cat /sys/devices/soc0/soc_id)
33
FILEVG=/usr/lib/libOpenVG.so
44
FILEVGLIB=/usr/lib/libOpenVG.so.1
@@ -16,7 +16,7 @@ then
1616
rm -f $FILEVGLIB
1717
fi
1818

19-
if [ $CPUREV == "i.MX6QP" ] || [ $CPUREV == "i.MX6Q" ] || [ $CPUREV == "i.MX6SL" ]
19+
if [ "$CPUREV" = "i.MX6QP" ] || [ "$CPUREV" = "i.MX6Q" ] || [ "$CPUREV" = "i.MX6SL" ]
2020
then
2121
# Use GC355 VG
2222
ln -s $FILEVG355 $FILEVG

meta-imx-bsp/recipes-core/sysvinit/sysvinit-inittab/imxgpu2d/rc_mxc.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
#
33
if grep -sq ttymxc0 /proc/cmdline; then
44
/sbin/getty -L ttymxc0 115200 vt100

meta-imx-bsp/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Freescale imx extra configuration
22
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
33

4-
RDEPENDS:${PN} += " bash "
5-
64
SYSVINIT-GPU = " file://rc_mxc.S file://rc_gpu.S"
75

86
SRC_URI:append:imxgpu2d = " ${SYSVINIT-GPU}"

0 commit comments

Comments
 (0)