mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
Fix bashisms
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1279 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -20,7 +20,7 @@ do_configure_prepend() {
|
|||||||
|
|
||||||
rm -f ${S}/.config || true
|
rm -f ${S}/.config || true
|
||||||
|
|
||||||
if [ "${TARGET_OS}" == "linux-gnueabi" -o "${TARGET_OS}" == "linux-uclibcgnueabi" ]; then
|
if [ "${TARGET_OS}" = "linux-gnueabi" -o "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then
|
||||||
echo "CONFIG_AEABI=y" >> ${S}/.config
|
echo "CONFIG_AEABI=y" >> ${S}/.config
|
||||||
echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config
|
echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ do_install () {
|
|||||||
if [ ! -z "${SERIAL_CONSOLE}" ]; then
|
if [ ! -z "${SERIAL_CONSOLE}" ]; then
|
||||||
echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab
|
echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab
|
||||||
fi
|
fi
|
||||||
if [ "${USE_VT}" == "1" ]; then
|
if [ "${USE_VT}" = "1" ]; then
|
||||||
cat <<EOF >>${D}${sysconfdir}/inittab
|
cat <<EOF >>${D}${sysconfdir}/inittab
|
||||||
# ${base_sbindir}/getty invocations for the runlevels.
|
# ${base_sbindir}/getty invocations for the runlevels.
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user