From patchwork Thu Dec 22 22:12:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 17131 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0288DC4167B for ; Thu, 22 Dec 2022 22:12:24 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web11.58846.1671747137162637308 for ; Thu, 22 Dec 2022 14:12:17 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 3A0B740027; Thu, 22 Dec 2022 22:12:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QKSSyTkyczYr; Thu, 22 Dec 2022 22:12:16 +0000 (UTC) Received: from mail.denix.org (pool-100-15-88-116.washdc.fios.verizon.net [100.15.88.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 1ACD540C2A; Thu, 22 Dec 2022 22:12:15 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id B3CE51636B0; Thu, 22 Dec 2022 17:12:01 -0500 (EST) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Cc: Denys Dmytriyenko Subject: [dunfell][PATCH 1/4] meta-toolchain-arago: fix bashisms Date: Thu, 22 Dec 2022 22:12:02 +0000 Message-Id: <20221222221205.1312505-1-denis@denix.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 22 Dec 2022 22:12:23 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14137 From: Denys Dmytriyenko Fix bashisms - helps with making builds in vanilla Ubuntu containers. Signed-off-by: Denys Dmytriyenko --- .../recipes-core/meta/meta-toolchain-arago.bb | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb index 8fed34f5..d2479ad1 100644 --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb @@ -106,13 +106,22 @@ arago_sdk_fixup () { lexec="${SDK_OUTPUT}/${SDKPATHNATIVE}${prefix_nativesdk}/libexec/gcc/${TOOLCHAIN_SYS}" fi tcv=`ls -1 $lexec|head -1` - [ -e ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/$tcv ] || ln -s . ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/$tcv - [ -e ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/usr/lib/$tcv ] || ln -s . ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/usr/lib/$tcv - [ -e ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/${TOOLCHAIN_SYS} ] || ln -s . ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/${TOOLCHAIN_SYS} - [ -e ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/usr/lib/${TOOLCHAIN_SYS} ] || ln -s . ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/usr/lib/${TOOLCHAIN_SYS} + if [ ! -e ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/$tcv ]; then + ln -s . ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/$tcv + fi + if [ ! -e ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/usr/lib/$tcv ]; then + ln -s . ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/usr/lib/$tcv + fi + if [ ! -e ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/${TOOLCHAIN_SYS} ]; then + ln -s . ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/${TOOLCHAIN_SYS} + fi + if [ ! -e ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/usr/lib/${TOOLCHAIN_SYS} ]; then + ln -s . ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/usr/lib/${TOOLCHAIN_SYS} + fi tcpath="${SDK_OUTPUT}/${SDKPATHNATIVE}${prefix_nativesdk}/${TOOLCHAIN_SYS}" mkdir -p $tcpath - pushd $tcpath + curdir=$(pwd) + cd $tcpath ln -s ${SDKTARGETSYSROOT}/include include if [ "${TOOLCHAIN_BRAND}" != "arago" ]; then mkdir -p libc @@ -122,7 +131,7 @@ arago_sdk_fixup () { ln -s ${SDKTARGETSYSROOT}/lib lib ln -s ${SDKTARGETSYSROOT}/usr/lib usr/lib ln -s ${SDKTARGETSYSROOT}/usr/include usr/include - popd + cd $curdir } fakeroot create_sdk_files() { From patchwork Thu Dec 22 22:12:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 17134 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24010C3DA7A for ; Thu, 22 Dec 2022 22:12:24 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web10.58755.1671747137067099962 for ; Thu, 22 Dec 2022 14:12:17 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 483E140BA9; Thu, 22 Dec 2022 22:12:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eWg7oNUn9fZE; Thu, 22 Dec 2022 22:12:16 +0000 (UTC) Received: from mail.denix.org (pool-100-15-88-116.washdc.fios.verizon.net [100.15.88.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 24DEC40C2B; Thu, 22 Dec 2022 22:12:15 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id C12AA1636B4; Thu, 22 Dec 2022 17:12:01 -0500 (EST) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Cc: Denys Dmytriyenko Subject: [dunfell][PATCH 2/4] external-arm-sdk-toolchain: fix bashisms Date: Thu, 22 Dec 2022 22:12:03 +0000 Message-Id: <20221222221205.1312505-2-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221222221205.1312505-1-denis@denix.org> References: <20221222221205.1312505-1-denis@denix.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 22 Dec 2022 22:12:24 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14136 From: Denys Dmytriyenko Fix bashisms - helps with making builds in vanilla Ubuntu containers. Signed-off-by: Denys Dmytriyenko --- .../meta/external-arm-sdk-toolchain.bb | 33 ++++++++++++++++--- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/meta-arago-extras/recipes-core/meta/external-arm-sdk-toolchain.bb b/meta-arago-extras/recipes-core/meta/external-arm-sdk-toolchain.bb index e4323891..05783a74 100644 --- a/meta-arago-extras/recipes-core/meta/external-arm-sdk-toolchain.bb +++ b/meta-arago-extras/recipes-core/meta/external-arm-sdk-toolchain.bb @@ -115,9 +115,14 @@ do_install() { ${@oe.utils.conditional('PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}', 'external-arm-sdk-toolchain', 'install -d ${D}${datadir}/man/man1', '', d)} install -d ${D}${gcclibdir}/${EAT_TARGET_SYS}/${EAT_VER_GCC}/include - cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/${LIBDIR}/{libstdc++.*,libgcc_s.*,libsupc++.*} ${D}${prefix}/${EAT_TARGET_SYS}/lib + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/${LIBDIR}/libstdc++.* ${D}${prefix}/${EAT_TARGET_SYS}/lib + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/${LIBDIR}/libgcc_s.* ${D}${prefix}/${EAT_TARGET_SYS}/lib + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/${LIBDIR}/libsupc++.* ${D}${prefix}/${EAT_TARGET_SYS}/lib cp -a ${TOOLCHAIN_PATH}/lib/gcc/${EAT_TARGET_SYS}/${EAT_VER_GCC}/* ${D}${gcclibdir}/${EAT_TARGET_SYS}/${EAT_VER_GCC} - cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{gcov,gcc*,g++,cpp} ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcov ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc* ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}g++ ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}cpp ${D}${bindir} cp -a ${TOOLCHAIN_PATH}/libexec/* ${D}${libexecdir} ${@oe.utils.conditional('PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}', 'external-arm-sdk-toolchain', 'cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gdb* ${D}${bindir}', '', d)} @@ -125,7 +130,27 @@ do_install() { ${@oe.utils.conditional('PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}', 'external-arm-sdk-toolchain', 'cp -a ${TOOLCHAIN_PATH}/share/info/* ${D}${datadir}/info/', '', d)} ${@oe.utils.conditional('PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}', 'external-arm-sdk-toolchain', 'cp -a ${TOOLCHAIN_PATH}/share/man/man1/${TARGET_PREFIX}* ${D}${datadir}/man/man1/', '', d)} - cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/bin/{ld*,objcopy,strip,nm,ranlib,as,ar,objdump} ${D}${prefix}/${EAT_TARGET_SYS}/bin + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/bin/ld* ${D}${prefix}/${EAT_TARGET_SYS}/bin + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/bin/objcopy ${D}${prefix}/${EAT_TARGET_SYS}/bin + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/bin/strip ${D}${prefix}/${EAT_TARGET_SYS}/bin + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/bin/nm ${D}${prefix}/${EAT_TARGET_SYS}/bin + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/bin/ranlib ${D}${prefix}/${EAT_TARGET_SYS}/bin + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/bin/as ${D}${prefix}/${EAT_TARGET_SYS}/bin + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/bin/ar ${D}${prefix}/${EAT_TARGET_SYS}/bin + cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/bin/objdump ${D}${prefix}/${EAT_TARGET_SYS}/bin cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/lib/ldscripts/* ${D}${prefix}/${EAT_TARGET_SYS}/lib/ldscripts - cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{ld*,addr2line,objcopy,readelf,strip,nm,ranlib,gprof,as,c++filt,ar,strings,objdump,size} ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ld* ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}addr2line ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}objcopy ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}readelf ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}strip ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}nm ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ranlib ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gprof ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}as ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}c++filt ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ar ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}strings ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}objdump ${D}${bindir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}size ${D}${bindir} } From patchwork Thu Dec 22 22:12:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 17133 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0377EC3DA7C for ; Thu, 22 Dec 2022 22:12:24 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web10.58756.1671747137219178124 for ; Thu, 22 Dec 2022 14:12:17 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 3021540C47; Thu, 22 Dec 2022 22:12:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FzioaB3DExhE; Thu, 22 Dec 2022 22:12:16 +0000 (UTC) Received: from mail.denix.org (pool-100-15-88-116.washdc.fios.verizon.net [100.15.88.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 1989A40BA9; Thu, 22 Dec 2022 22:12:15 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id C34571636B5; Thu, 22 Dec 2022 17:12:01 -0500 (EST) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Cc: Denys Dmytriyenko Subject: [dunfell][PATCH 3/4] input-utils: fix bashisms Date: Thu, 22 Dec 2022 22:12:04 +0000 Message-Id: <20221222221205.1312505-3-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221222221205.1312505-1-denis@denix.org> References: <20221222221205.1312505-1-denis@denix.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 22 Dec 2022 22:12:24 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14138 From: Denys Dmytriyenko Add patch from Debian that fixes bashism in the Makefile. Signed-off-by: Denys Dmytriyenko --- .../input-utils/fix-ftbfs-echo.patch | 20 +++++++++++++++++++ .../input-utils/input-utils_1.0.bb | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 meta-arago-extras/recipes-devtools/input-utils/input-utils/fix-ftbfs-echo.patch diff --git a/meta-arago-extras/recipes-devtools/input-utils/input-utils/fix-ftbfs-echo.patch b/meta-arago-extras/recipes-devtools/input-utils/input-utils/fix-ftbfs-echo.patch new file mode 100644 index 00000000..39880694 --- /dev/null +++ b/meta-arago-extras/recipes-devtools/input-utils/input-utils/fix-ftbfs-echo.patch @@ -0,0 +1,20 @@ +Description: Fix FTBFS due to -e leaking into Make.config + If /bin/sh is configured to point to dash, echo does not support -e switch + which is used by mk/Autoconf.mk file to generate Make.config. Use 'env echo' + instead. +Author: Dmitry Eremin-Solenikov +Bug-Debian: http://bugs.debian.org/750265 +Forwarded: no +Last-Update: 2014-07-09 + +--- input-utils-1.0.orig/mk/Autoconf.mk ++++ input-utils-1.0/mk/Autoconf.mk +@@ -162,7 +162,7 @@ config: Make.config + @true + + Make.config: $(srcdir)/GNUmakefile +- @echo -e "$(make-config-q)" > $@ ++ @env echo -e "$(make-config-q)" > $@ + @echo + @echo "Make.config written, edit if needed" + @echo diff --git a/meta-arago-extras/recipes-devtools/input-utils/input-utils_1.0.bb b/meta-arago-extras/recipes-devtools/input-utils/input-utils_1.0.bb index 6fbc8b60..0c18aefa 100644 --- a/meta-arago-extras/recipes-devtools/input-utils/input-utils_1.0.bb +++ b/meta-arago-extras/recipes-devtools/input-utils/input-utils_1.0.bb @@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" PV = "1.0" PR = "r0" -SRC_URI = "http://ftp.de.debian.org/debian/pool/main/i/input-utils/input-utils_1.0.orig.tar.gz" +SRC_URI = "http://ftp.de.debian.org/debian/pool/main/i/input-utils/input-utils_1.0.orig.tar.gz \ + file://fix-ftbfs-echo.patch" SRC_URI_append_arm = " file://0001-autoconf-fix-for-cross-compilation-for-ARM.patch" SRC_URI[md5sum] = "3e58772e8647093b1de2f2c90bfb9ee8" From patchwork Thu Dec 22 22:12:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 17132 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00E67C4332F for ; Thu, 22 Dec 2022 22:12:24 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web10.58754.1671747136976429441 for ; Thu, 22 Dec 2022 14:12:17 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 2E10C40C2C; Thu, 22 Dec 2022 22:12:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zFyMAQ3ivJfE; Thu, 22 Dec 2022 22:12:16 +0000 (UTC) Received: from mail.denix.org (pool-100-15-88-116.washdc.fios.verizon.net [100.15.88.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 1793340027; Thu, 22 Dec 2022 22:12:15 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id C55C21636B6; Thu, 22 Dec 2022 17:12:01 -0500 (EST) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Cc: Denys Dmytriyenko Subject: [dunfell][PATCH 4/4] arago-image: fix bashisms Date: Thu, 22 Dec 2022 22:12:05 +0000 Message-Id: <20221222221205.1312505-4-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221222221205.1312505-1-denis@denix.org> References: <20221222221205.1312505-1-denis@denix.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 22 Dec 2022 22:12:23 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14135 From: Denys Dmytriyenko Remove postprocessing code for making /boot symlinks relative. That hasn't been needed for some time now - a more generic code for this is in OE-Core. Signed-off-by: Denys Dmytriyenko --- .../recipes-core/images/arago-image.inc | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/meta-arago-distro/recipes-core/images/arago-image.inc b/meta-arago-distro/recipes-core/images/arago-image.inc index e068287e..5d517b2e 100644 --- a/meta-arago-distro/recipes-core/images/arago-image.inc +++ b/meta-arago-distro/recipes-core/images/arago-image.inc @@ -22,24 +22,6 @@ IMAGE_LINGUAS = "" TOOLCHAIN_HOST_TASK += "nativesdk-buildtools-perl-dummy" SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}" -make_bootfiles_symlinks_relative() { - for f in "${IMAGE_ROOTFS}/boot"/* - do - [ -L "$f" ] || continue - - l=$(readlink "$f") - if [ "${l:0:6}" == "/boot/" ] - then - ln -sf "${l##/boot/}" "$f" - elif ["${l:0:1}" == "/" ] - then - ln -sf "..$l" "$f" - fi - done -} - -ROOTFS_POSTPROCESS_COMMAND += "make_bootfiles_symlinks_relative;" - BAD_RECOMMENDATIONS += " \ ti-llvm3.6-dev \ opencl-monitor-dev \