From patchwork Fri May 31 19:45:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 44480 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 4EF19C27C50 for ; Fri, 31 May 2024 19:45:41 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web10.22641.1717184735725124532 for ; Fri, 31 May 2024 12:45:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QZQwJ04H; spf=pass (domain: ti.com, ip: 198.47.23.249, mailfrom: reatmon@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44VJjYWK111633; Fri, 31 May 2024 14:45:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717184734; bh=atXxHrfD2JYGGx5mpMCrH6Gol1lCBO6q4W4s+5LwEck=; h=From:To:Subject:Date:In-Reply-To:References; b=QZQwJ04HLtYgb4zIAPyW6jCYWVW8KfE4MArLzbwC9Rj0907zvnHIjIXULMyksTDjD CzPrFB/T828Ae4uPUeXtvlHM13qawnIAFO1Vp97ZOa4RrLaL3LVpOo6UOOMC2W367f 3Kb6z6rh5JFHmPYWDHTZ2qT8KQB0MjD8bvUTIfUQ= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44VJjYis039345 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 31 May 2024 14:45:34 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 31 May 2024 14:45:34 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 31 May 2024 14:45:34 -0500 Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44VJjYGo033169; Fri, 31 May 2024 14:45:34 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1sD8By-0006Eg-6O; Fri, 31 May 2024 14:45:34 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][master][PATCH v3 1/3] recipes: Update to UNPACKDIR for files going into WORKDIR Date: Fri, 31 May 2024 14:45:31 -0500 Message-ID: <20240531194533.23925-2-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240531194533.23925-1-reatmon@ti.com> References: <20240531194533.23925-1-reatmon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 ; Fri, 31 May 2024 19:45:41 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15345 For recipes that have file:// in SRC_URI, the files are placed into WORKDIR. Moving forward [1], that directory will be UNPACKDIR and eventually move to somewhere other than WORKDIR. So update all references to WORKDIR that are looking for these file to use UNPACKDIR instead. [1] https://git.openembedded.org/openembedded-core/commit/?id=e022d62ba917790af2121da57646271ef17c03fa Signed-off-by: Ryan Eatmon --- .../recipes-core/matrix/matrix-gui_2.0.bb | 14 +++++----- .../recipes-core/psplash/psplash_git.bbappend | 2 +- .../recipes-core/systemd/systemd_%.bbappend | 26 +++++++++---------- .../recipes-core/thermal-init/thermal-init.bb | 2 +- .../recipes-core/udev/eudev_%.bbappend | 4 +-- .../recipes-qt/qt5/qtbase-conf_1.0.bb | 4 +-- .../recipes-qt/qt5/qtbase_%.bbappend | 2 +- .../strongswan/strongswan_%.bbappend | 2 +- .../recipes-core/llvm/llvm-common.bb | 4 +-- .../opkg/opkg-bash-completion.bb | 2 +- .../netopeer2-server/netopeer2-server_git.bb | 4 +-- .../recipes-sysrepo/sysrepo/sysrepo_git.bb | 4 +-- 12 files changed, 35 insertions(+), 35 deletions(-) diff --git a/meta-arago-demos/recipes-core/matrix/matrix-gui_2.0.bb b/meta-arago-demos/recipes-core/matrix/matrix-gui_2.0.bb index fbff1671..1c1b3bbc 100644 --- a/meta-arago-demos/recipes-core/matrix/matrix-gui_2.0.bb +++ b/meta-arago-demos/recipes-core/matrix/matrix-gui_2.0.bb @@ -42,22 +42,22 @@ do_install(){ cp -rfL ${S}/* ${D}${MATRIX_WEB_DIR} # Install our php.ini file - install -m 0644 ${WORKDIR}/php.ini ${D}${MATRIX_BASE_DIR}/ + install -m 0644 ${UNPACKDIR}/php.ini ${D}${MATRIX_BASE_DIR}/ # Set the proper path in the init script - sed -i -e s=__MATRIX_WEB_DIR__=${MATRIX_WEB_DIR}= ${WORKDIR}/${MATRIX_INITSCRIPT} - sed -i -e "s/__MATRIX_FLAGS__/\"${MATRIX_FLAGS}\"/" ${WORKDIR}/${MATRIX_INITSCRIPT} - sed -i -e "s/__SWITCH_FOREGROUND_VT__/${SWITCH_FOREGROUND_VT}/" ${WORKDIR}/${MATRIX_INITSCRIPT} + sed -i -e s=__MATRIX_WEB_DIR__=${MATRIX_WEB_DIR}= ${UNPACKDIR}/${MATRIX_INITSCRIPT} + sed -i -e "s/__MATRIX_FLAGS__/\"${MATRIX_FLAGS}\"/" ${UNPACKDIR}/${MATRIX_INITSCRIPT} + sed -i -e "s/__SWITCH_FOREGROUND_VT__/${SWITCH_FOREGROUND_VT}/" ${UNPACKDIR}/${MATRIX_INITSCRIPT} # Install the script if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/${MATRIX_INITSCRIPT} ${D}${sysconfdir}/init.d/matrix-gui-2.0 + install -m 0755 ${UNPACKDIR}/${MATRIX_INITSCRIPT} ${D}${sysconfdir}/init.d/matrix-gui-2.0 fi if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/matrix-gui-2.0.service ${D}${systemd_system_unitdir} - install -m 0755 ${WORKDIR}/${MATRIX_INITSCRIPT} ${D}${MATRIX_BASE_DIR}/matrix-gui-2.0 + install -m 0644 ${UNPACKDIR}/matrix-gui-2.0.service ${D}${systemd_system_unitdir} + install -m 0755 ${UNPACKDIR}/${MATRIX_INITSCRIPT} ${D}${MATRIX_BASE_DIR}/matrix-gui-2.0 fi } diff --git a/meta-arago-distro/recipes-core/psplash/psplash_git.bbappend b/meta-arago-distro/recipes-core/psplash/psplash_git.bbappend index 652c71f3..952f13fd 100644 --- a/meta-arago-distro/recipes-core/psplash/psplash_git.bbappend +++ b/meta-arago-distro/recipes-core/psplash/psplash_git.bbappend @@ -11,5 +11,5 @@ SRC_URI += "file://psplash-18bpp.patch \ " do_configure:prepend() { - install -m 0644 ${WORKDIR}/psplash-bar-img.h ${S}/ + install -m 0644 ${UNPACKDIR}/psplash-bar-img.h ${S}/ } diff --git a/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend b/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend index 428a16f7..424f39da 100644 --- a/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend +++ b/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend @@ -20,20 +20,20 @@ SRC_URI:append = " \ do_install:append() { install -d ${D}${sysconfdir}/udev/rules.d/ - install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/ + install -m 0644 ${UNPACKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/ install -d ${D}${sysconfdir}/udev/scripts/ - install -m 0755 ${WORKDIR}/usb1-rules.sh ${D}${sysconfdir}/udev/scripts/ - install -m 0755 ${WORKDIR}/usb2-rules.sh ${D}${sysconfdir}/udev/scripts/ + install -m 0755 ${UNPACKDIR}/usb1-rules.sh ${D}${sysconfdir}/udev/scripts/ + install -m 0755 ${UNPACKDIR}/usb2-rules.sh ${D}${sysconfdir}/udev/scripts/ install -d ${D}${sysconfdir}/systemd/network/ - install -m 0644 ${WORKDIR}/10-eth.network ${D}${sysconfdir}/systemd/network/ - install -m 0644 ${WORKDIR}/15-eth.network ${D}${sysconfdir}/systemd/network/ - install -m 0644 ${WORKDIR}/30-wlan.network ${D}${sysconfdir}/systemd/network/ - install -m 0644 ${WORKDIR}/60-usb.network ${D}${sysconfdir}/systemd/network/ + install -m 0644 ${UNPACKDIR}/10-eth.network ${D}${sysconfdir}/systemd/network/ + install -m 0644 ${UNPACKDIR}/15-eth.network ${D}${sysconfdir}/systemd/network/ + install -m 0644 ${UNPACKDIR}/30-wlan.network ${D}${sysconfdir}/systemd/network/ + install -m 0644 ${UNPACKDIR}/60-usb.network ${D}${sysconfdir}/systemd/network/ install -d ${D}${sysconfdir}/systemd/system/sysinit.target.wants - install -m 0644 ${WORKDIR}/sync-clocks.service ${D}${sysconfdir}/systemd/system/ + install -m 0644 ${UNPACKDIR}/sync-clocks.service ${D}${sysconfdir}/systemd/system/ ln -sf ../sync-clocks.service ${D}${sysconfdir}/systemd/system/sysinit.target.wants/sync-clocks.service # Allow automount from udev @@ -45,13 +45,13 @@ do_install:append() { sed -i 's/PrivateNetwork=yes/PrivateNetwork=no/g' ${D}${sysconfdir}/systemd/system/systemd-hostnamed.service install -d ${D}${sysconfdir}/systemd/ - install -m 0644 ${WORKDIR}/timesyncd.conf ${D}${sysconfdir}/systemd/ + install -m 0644 ${UNPACKDIR}/timesyncd.conf ${D}${sysconfdir}/systemd/ install -d ${D}${libdir}/udev/rules.d - install -m 0644 ${WORKDIR}/37-can-j7.rules ${D}${libdir}/udev/rules.d/ - install -m 0644 ${WORKDIR}/37-can-am62.rules ${D}${libdir}/udev/rules.d/ - install -m 0644 ${WORKDIR}/37-can-dra7.rules ${D}${libdir}/udev/rules.d/ - install -m 0644 ${WORKDIR}/37-can-ti33x.rules ${D}${libdir}/udev/rules.d/ + install -m 0644 ${UNPACKDIR}/37-can-j7.rules ${D}${libdir}/udev/rules.d/ + install -m 0644 ${UNPACKDIR}/37-can-am62.rules ${D}${libdir}/udev/rules.d/ + install -m 0644 ${UNPACKDIR}/37-can-dra7.rules ${D}${libdir}/udev/rules.d/ + install -m 0644 ${UNPACKDIR}/37-can-ti33x.rules ${D}${libdir}/udev/rules.d/ } FILES:udev += " \ diff --git a/meta-arago-distro/recipes-core/thermal-init/thermal-init.bb b/meta-arago-distro/recipes-core/thermal-init/thermal-init.bb index 56f1ba1a..4f3aa217 100644 --- a/meta-arago-distro/recipes-core/thermal-init/thermal-init.bb +++ b/meta-arago-distro/recipes-core/thermal-init/thermal-init.bb @@ -13,7 +13,7 @@ inherit update-rc.d do_install() { install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} + install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} } FILES:${PN} = "${sysconfdir} ${bindir}" diff --git a/meta-arago-distro/recipes-core/udev/eudev_%.bbappend b/meta-arago-distro/recipes-core/udev/eudev_%.bbappend index 4817e840..c5758a21 100644 --- a/meta-arago-distro/recipes-core/udev/eudev_%.bbappend +++ b/meta-arago-distro/recipes-core/udev/eudev_%.bbappend @@ -16,7 +16,7 @@ SRC_URI:append = " \ do_install:append() { install -d ${D}/${bindir} - install -m 0755 ${WORKDIR}/usb1-rules.sh ${D}${bindir}/usb1-rules.sh - install -m 0755 ${WORKDIR}/usb2-rules.sh ${D}${bindir}/usb2-rules.sh + install -m 0755 ${UNPACKDIR}/usb1-rules.sh ${D}${bindir}/usb1-rules.sh + install -m 0755 ${UNPACKDIR}/usb2-rules.sh ${D}${bindir}/usb2-rules.sh ln -sf libudev.so.1 ${D}${base_libdir}/libudev.so.0 } diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase-conf_1.0.bb b/meta-arago-distro/recipes-qt/qt5/qtbase-conf_1.0.bb index 63894c47..83a2cba3 100644 --- a/meta-arago-distro/recipes-qt/qt5/qtbase-conf_1.0.bb +++ b/meta-arago-distro/recipes-qt/qt5/qtbase-conf_1.0.bb @@ -12,9 +12,9 @@ SRC_URI = "file://qt_env.sh \ # Add custom Arago qtbase Environment script and eglfs_kms configuration file do_install () { install -d ${D}${sysconfdir}/profile.d - install -m 0644 ${WORKDIR}/qt_env.sh ${D}${sysconfdir}/profile.d/ + install -m 0644 ${UNPACKDIR}/qt_env.sh ${D}${sysconfdir}/profile.d/ install -d ${D}${sysconfdir}/qt5 - install -m 0644 ${WORKDIR}/eglfs_kms_cfg.json ${D}${sysconfdir}/qt5/ + install -m 0644 ${UNPACKDIR}/eglfs_kms_cfg.json ${D}${sysconfdir}/qt5/ } FILES:${PN} += "${sysconfdir}/profile.d/* ${sysconfdir}/qt5/*" diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend b/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend index 8ae8110b..b1205b5a 100644 --- a/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend @@ -26,7 +26,7 @@ SRC_URI += "\ python do_patch:append() { import shutil - work_dir = d.getVar("WORKDIR") + work_dir = d.getVar("UNPACKDIR") s = d.getVar("S") if not bb.utils.contains('DISTRO_FEATURES','wayland',True,False,d): diff --git a/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend b/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend index ae313c74..efedd7fb 100644 --- a/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend +++ b/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend @@ -14,5 +14,5 @@ EXTRA_OECONF += " \ SRC_URI += "file://pkcs11_plugin.conf" do_install:append () { - install -m 0644 ${WORKDIR}/pkcs11_plugin.conf ${D}${sysconfdir}/strongswan.d/ + install -m 0644 ${UNPACKDIR}/pkcs11_plugin.conf ${D}${sysconfdir}/strongswan.d/ } diff --git a/meta-arago-extras/recipes-core/llvm/llvm-common.bb b/meta-arago-extras/recipes-core/llvm/llvm-common.bb index b69a5775..9668375e 100644 --- a/meta-arago-extras/recipes-core/llvm/llvm-common.bb +++ b/meta-arago-extras/recipes-core/llvm/llvm-common.bb @@ -9,12 +9,12 @@ SYSROOT_PREPROCESS_FUNCS:append:class-target = " llvm_common_sysroot_preprocess" llvm_common_sysroot_preprocess() { install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ - install -m 0755 ${WORKDIR}/llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/ + install -m 0755 ${UNPACKDIR}/llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/ } do_install:class-native() { install -d ${D}${bindir} - install -m 0755 ${WORKDIR}/llvm-config ${D}${bindir} + install -m 0755 ${UNPACKDIR}/llvm-config ${D}${bindir} } BBCLASSEXTEND = "native" diff --git a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb index df0b1440..a5c78ead 100644 --- a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb +++ b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb @@ -9,7 +9,7 @@ SRC_URI = "file://opkg-bash-completion" do_install() { install -d ${D}${datadir}/bash-completion/completions - install -m 0644 ${WORKDIR}/opkg-bash-completion \ + install -m 0644 ${UNPACKDIR}/opkg-bash-completion \ ${D}${datadir}/bash-completion/completions/opkg } diff --git a/meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bb b/meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bb index edd4d60d..7905aa00 100644 --- a/meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bb +++ b/meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bb @@ -38,10 +38,10 @@ do_install:append () { install -d ${D}${sysconfdir}/netopeer2 install -d ${D}${sysconfdir}/init.d if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then - install -m 0755 ${WORKDIR}/netopeer2-server ${D}${sysconfdir}/init.d/ + install -m 0755 ${UNPACKDIR}/netopeer2-server ${D}${sysconfdir}/init.d/ fi if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/netopeer2-serverd.service ${D}${systemd_system_unitdir} + install -m 0644 ${UNPACKDIR}/netopeer2-serverd.service ${D}${systemd_system_unitdir} fi } diff --git a/meta-arago-extras/recipes-sysrepo/sysrepo/sysrepo_git.bb b/meta-arago-extras/recipes-sysrepo/sysrepo/sysrepo_git.bb index 4400df70..ae0e8a27 100644 --- a/meta-arago-extras/recipes-sysrepo/sysrepo/sysrepo_git.bb +++ b/meta-arago-extras/recipes-sysrepo/sysrepo/sysrepo_git.bb @@ -40,12 +40,12 @@ do_install:append () { install -o root -g root ${S}/modules/ietf-netconf.yang ${D}${sysconfdir}/sysrepo/yang/ietf-netconf@2011-06-01.yang install -d ${D}${sysconfdir}/init.d if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then - install -m 0775 ${WORKDIR}/sysrepo ${D}${sysconfdir}/init.d/ + install -m 0775 ${UNPACKDIR}/sysrepo ${D}${sysconfdir}/init.d/ install -d ${D}${libdir}/sysrepo/plugins fi if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/sysrepod.service ${D}${systemd_system_unitdir} + install -m 0644 ${UNPACKDIR}/sysrepod.service ${D}${systemd_system_unitdir} fi } From patchwork Fri May 31 19:45:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 44481 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 73FCBC27C4F for ; Fri, 31 May 2024 19:45:41 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web11.22776.1717184735717125619 for ; Fri, 31 May 2024 12:45:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vhWHMDl8; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: reatmon@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44VJjYoc079481; Fri, 31 May 2024 14:45:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717184734; bh=S6k/k4legKwLJC6tcjnwvD+Lh/8XSCwJfCykYXygG5c=; h=From:To:Subject:Date:In-Reply-To:References; b=vhWHMDl8DgPaBfTLt71d1U6jXj1kEcNbGIfr2GjTZgrH0fvcp3fLS+O0Z4tc+yu0v FksUTVc7Y3jESSIjKyu87SCFSER3iQmYnt7DKRKSHgvpx4Uy7VbRvpVMbflso2HgSH n47TkmVFcBTKbo8RzL/ZuVtVayMltafXWw7GRrh4= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44VJjY4F119257 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 31 May 2024 14:45:34 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 31 May 2024 14:45:34 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 31 May 2024 14:45:34 -0500 Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44VJjYgP055172; Fri, 31 May 2024 14:45:34 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1sD8By-0006Ej-AP; Fri, 31 May 2024 14:45:34 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][master][PATCH v3 2/3] recipes: Switch away from S = WORKDIR Date: Fri, 31 May 2024 14:45:32 -0500 Message-ID: <20240531194533.23925-3-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240531194533.23925-1-reatmon@ti.com> References: <20240531194533.23925-1-reatmon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 ; Fri, 31 May 2024 19:45:41 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15346 Follow along with the corresponding patch in upstream. [1] [1] https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=d9328e3b0b062f0621de3d114584b44f384a1c02 Signed-off-by: Ryan Eatmon --- .../recipes-core/matrix/matrix-lighttpd-config.bb | 5 +++-- .../recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb | 3 ++- .../recipes-connectivity/bt-enable/bt-enable.bb | 3 ++- .../initscript-telnetd/initscript-telnetd.bb | 3 ++- .../recipes-connectivity/systemd-telnetd/systemd-telnetd.bb | 5 +++-- .../recipes-core/arago-gpl-notice/arago-gpl-notice.bb | 5 +++-- .../recipes-core/busybox/softap-udhcpd-config_1.0.bb | 3 ++- meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb | 3 ++- meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb | 3 ++- .../recipes-graphics/tslib/ts-calibrate-init_1.0.bb | 5 +++-- .../recipes-sysrepo/nw-configurator/nw-configurator.bb | 5 +++-- 11 files changed, 27 insertions(+), 16 deletions(-) diff --git a/meta-arago-demos/recipes-core/matrix/matrix-lighttpd-config.bb b/meta-arago-demos/recipes-core/matrix/matrix-lighttpd-config.bb index c932e67f..d1c51012 100644 --- a/meta-arago-demos/recipes-core/matrix/matrix-lighttpd-config.bb +++ b/meta-arago-demos/recipes-core/matrix/matrix-lighttpd-config.bb @@ -12,11 +12,12 @@ SRC_URI = "file://lighttpd.conf.matrix" # Grabbed COPYING file from lighttpd_1.4.30 SRC_URI += "file://COPYING" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" do_install() { install -d ${D}${sysconfdir}/lighttpd - install -m 0644 ${WORKDIR}/lighttpd.conf.matrix ${D}${sysconfdir}/lighttpd/lighttpd.conf.matrix + install -m 0644 ${S}/lighttpd.conf.matrix ${D}${sysconfdir}/lighttpd/lighttpd.conf.matrix } FILES:${PN} = "${sysconfdir}/lighttpd/lighttpd.conf.matrix" diff --git a/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb b/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb index 0eaf9314..50cf218e 100644 --- a/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb +++ b/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb @@ -6,7 +6,8 @@ CLEANBROKEN = "1" PACKAGE_ARCH = "${MACHINE_ARCH}" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" BOOSTRAP_IMAGE = "tisdk-bootstrap-base-image" diff --git a/meta-arago-distro/recipes-connectivity/bt-enable/bt-enable.bb b/meta-arago-distro/recipes-connectivity/bt-enable/bt-enable.bb index cb7fa93f..0e7b446d 100644 --- a/meta-arago-distro/recipes-connectivity/bt-enable/bt-enable.bb +++ b/meta-arago-distro/recipes-connectivity/bt-enable/bt-enable.bb @@ -9,7 +9,8 @@ SRC_URI = " \ PR = "r1" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" INITSCRIPT_NAME = "bt-enable.sh" INITSCRIPT_PARAMS = "defaults 99" diff --git a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb b/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb index e492119b..c71a3fdb 100644 --- a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb +++ b/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb @@ -5,7 +5,8 @@ PR ="r1" SRC_URI = "file://telnetd" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" INITSCRIPT_NAME = "telnetd" INITSCRIPT_PARAMS = "defaults 10" diff --git a/meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd.bb b/meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd.bb index 3158da5a..4d84bed4 100644 --- a/meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd.bb +++ b/meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd.bb @@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://telnetd.service;beginline=1;endline=17;md5=d134d0d385 SRC_URI = "file://telnetd.service" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" inherit systemd @@ -16,5 +17,5 @@ SYSTEMD_AUTO_ENABLE:${PN} = "enable" do_install:append () { # install systemd unit files install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/telnetd.service ${D}${systemd_system_unitdir} + install -m 0644 ${S}/telnetd.service ${D}${systemd_system_unitdir} } diff --git a/meta-arago-distro/recipes-core/arago-gpl-notice/arago-gpl-notice.bb b/meta-arago-distro/recipes-core/arago-gpl-notice/arago-gpl-notice.bb index 6cb428a5..aeb45167 100644 --- a/meta-arago-distro/recipes-core/arago-gpl-notice/arago-gpl-notice.bb +++ b/meta-arago-distro/recipes-core/arago-gpl-notice/arago-gpl-notice.bb @@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://print-gplv3-packages.sh;beginline=2;endline=18;md5=d1 PR = "r3" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" INITSCRIPT_NAME = "gplv3-notice" INITSCRIPT_PARAMS = "defaults 99" @@ -24,7 +25,7 @@ do_install(){ install -d ${D}${bindir} install -d ${D}${systemd_system_unitdir} install -m 0755 ${S}/print-gplv3-packages.sh ${D}${bindir}/gplv3-notice - install -m 0644 ${WORKDIR}/gplv3-notice.service ${D}${systemd_system_unitdir} + install -m 0644 ${S}/gplv3-notice.service ${D}${systemd_system_unitdir} fi } diff --git a/meta-arago-distro/recipes-core/busybox/softap-udhcpd-config_1.0.bb b/meta-arago-distro/recipes-core/busybox/softap-udhcpd-config_1.0.bb index 0c896fed..a5a3e1d0 100644 --- a/meta-arago-distro/recipes-core/busybox/softap-udhcpd-config_1.0.bb +++ b/meta-arago-distro/recipes-core/busybox/softap-udhcpd-config_1.0.bb @@ -8,7 +8,8 @@ PR = "r1" PACKAGE_ARCH = "${MACHINE_ARCH}" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" # Default configuration file is from the base udhcp package SRC_URI = "file://udhcpd.conf \ diff --git a/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb index 59df0c97..157e7354 100644 --- a/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb +++ b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb @@ -11,7 +11,8 @@ PV = "1.0" PACKAGE_ARCH = "${MACHINE_ARCH}" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" do_install () { install -d ${D}/board-support/prebuilt-images diff --git a/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb index 76c83e7d..7bd601a0 100644 --- a/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb +++ b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb @@ -11,7 +11,8 @@ PV = "1.0" PACKAGE_ARCH = "${MACHINE_ARCH}" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" do_install () { install -d ${D}/board-support/prebuilt-images diff --git a/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init_1.0.bb b/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init_1.0.bb index db48d746..1694792c 100644 --- a/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init_1.0.bb +++ b/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init_1.0.bb @@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://init;beginline=2;endline=11;md5=4b2e3b15f01cf63d2cb79 PR = "r4" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" INITSCRIPT_NAME = "ts-calibrate" @@ -26,5 +27,5 @@ do_install(){ # Install the init script # TODO: replace init script with systemd files install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/ts-calibrate + install -m 0755 ${S}/init ${D}${sysconfdir}/init.d/ts-calibrate } diff --git a/meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb b/meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb index c5d9a86b..b383571d 100644 --- a/meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb +++ b/meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb @@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://nw-configurator.c;beginline=1;endline=33;md5=3538caaf SRC_URI = "file://nw-configurator.c" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" FILES_${PN}-dev = "${includedir}" @@ -14,7 +15,7 @@ DEPENDS = "sysrepo" inherit autotools pkgconfig do_compile() { - ${CC} ${CFLAGS} ${LDFLAGS} -I=${STAGING_INCDIR} ${WORKDIR}/nw-configurator.c -o nw-configurator -lsysrepo + ${CC} ${CFLAGS} ${LDFLAGS} -I=${STAGING_INCDIR} ${S}/nw-configurator.c -o nw-configurator -lsysrepo } BBCLASSEXTEND = "native nativesdk" From patchwork Fri May 31 19:45:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 44479 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 4B19FC25B75 for ; Fri, 31 May 2024 19:45:41 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web11.22778.1717184736105900640 for ; Fri, 31 May 2024 12:45:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tY7GD06W; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: reatmon@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44VJjYXv074301; Fri, 31 May 2024 14:45:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717184734; bh=L5LH7WlAtNBayKCCaAM8+aCZk/VgkpprYnFeqqcuGTQ=; h=From:To:Subject:Date:In-Reply-To:References; b=tY7GD06WJxRWGRuZXnb0ahqU4MU57rWe0G75SvxDUtmUAyJdlise4bnMd2EGwm6bm y/XUYCun/5pHfrDezJYdkU/3HqLFybdozKiAppGZGmmgyyKqGKDsKZ5dWLV1zB9ebG FOnGTzoL7TnHeGX6lb//IvU3wT7z67kNseLU4RQQ= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44VJjYkB039348 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 31 May 2024 14:45:34 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 31 May 2024 14:45:34 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 31 May 2024 14:45:34 -0500 Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44VJjYrL033172; Fri, 31 May 2024 14:45:34 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1sD8By-0006Es-Ev; Fri, 31 May 2024 14:45:34 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][master][PATCH v3 3/3] websocketd: Add required GO_SRCURI_DESTSUFFIX Date: Fri, 31 May 2024 14:45:33 -0500 Message-ID: <20240531194533.23925-4-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240531194533.23925-1-reatmon@ti.com> References: <20240531194533.23925-1-reatmon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 ; Fri, 31 May 2024 19:45:41 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15348 Part of the UNPACKDIR changes for Go modules is the requirement for Go recipes to include ;destsuffix=${GO_SRCURI_DESTSUFFIX} in the SRC_URI. Signed-off-by: Ryan Eatmon --- .../recipes-devtools/websocketd/websocketd_0.4.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb index 207cd38a..1f5f8f5d 100644 --- a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb +++ b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb @@ -9,7 +9,7 @@ GO_IMPORT = "github.com/joewalnes/websocketd" export GOPROXY = "https://proxy.golang.org,direct" -SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master" +SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master;destsuffix=${GO_SRCURI_DESTSUFFIX}" SRCREV = "035c18cc3e6962dabd5ea2ad8845260726a4a99e" # bitbake only exports proxy variables during fetching, but go handles