Link the git directory into the recipe's work directory to provide
git history and commit information for recipes that may need it.

Signed-off-by: Jacob Stiffler <[email protected]>
---
 classes/ti-pdk-fetch.bbclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/classes/ti-pdk-fetch.bbclass b/classes/ti-pdk-fetch.bbclass
index 117e54f..d4c32ab 100644
--- a/classes/ti-pdk-fetch.bbclass
+++ b/classes/ti-pdk-fetch.bbclass
@@ -3,7 +3,7 @@ TI_PDK_GIT_BRANCH ?= "release/PROCESSOR-SDK_06.02.00"
 TI_PDK_GIT_PROTOCOL ?= "git"
 TI_PDK_SRCREV ?= "2357d1436f1b2c3b5f1d0c9c94e045d33b63f3fe"
 
-TI_PDK_VERSION ?= "2019.12.2"
+TI_PDK_VERSION ?= "2019.12.3"
 
 PV = "${TI_PDK_VERSION}"
 
@@ -32,6 +32,9 @@ python do_unpack_append() {
 
         # Recursively hard-link the sources
         shutil.copytree(src, s, copy_function=os.link)
+
+        # Recursively hard-link the git directory
+        shutil.copytree(os.path.join(d.getVar('TI_PDK_SOURCE'),'.git'), 
os.path.join(s,'.git'), copy_function=os.link)
 }
 
 # Make sure that ti-pdk-source is unpacked before we set up the hardlinks.
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12608): 
https://lists.yoctoproject.org/g/meta-ti/message/12608
Mute This Topic: https://lists.yoctoproject.org/mt/69938037/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to