diff mbox series

[meta-arago,master] ltp-ddt: Fix reproducible build issue

Message ID 20260202161704.257467-1-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master] ltp-ddt: Fix reproducible build issue | expand

Commit Message

Ryan Eatmon Feb. 2, 2026, 4:17 p.m. UTC
One of the tests "wdt_test_suite" has a reproducible build issue.  The
patch has been submitted upstream, but will take sometime to propagate
down to here.  This will be a temporary patch.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 ...t_suite-Fix-reproducible-build-issue.patch | 33 +++++++++++++++++++
 .../ltp-ddt/ltp-ddt_20250930.bb               |  1 +
 2 files changed, 34 insertions(+)
 create mode 100644 meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Fix-reproducible-build-issue.patch

Comments

PRC Automation Feb. 2, 2026, 4:38 p.m. UTC | #1
meta-arago / na / 20260202161704.257467-1-reatmon

PRC Results: PASS

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH] ltp-ddt: Fix reproducible build issue
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
+From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Mon, 2 Feb 2026 10:17:04 -0600
+Date: Mon, 2 Feb 2026 09:52:27 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: e74f080800e8ad240098d8e53b7b367887317073

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master
- Commit Author: Andrew Davis <afd@ti.com>
- Commit Subject: shadow-securetty: Remove unneeded recipe
- Commit SHA: ec59a3b33249af3f91b45428a35bca8cd1141fc6

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: PASS
=========================================================
master
=====================
PASS



=========================================================
  yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed
diff mbox series

Patch

diff --git a/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Fix-reproducible-build-issue.patch b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Fix-reproducible-build-issue.patch
new file mode 100644
index 00000000..243a0b74
--- /dev/null
+++ b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Fix-reproducible-build-issue.patch
@@ -0,0 +1,33 @@ 
+From 438c30f5c8a37df7334769d345b6dff574961a22 Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <reatmon@ti.com>
+Date: Mon, 2 Feb 2026 09:52:27 -0600
+Subject: [PATCH] wdt_test_suite: Fix reproducible build issue
+
+The Makefile sets a value for CFLAGS that is not overridden by a value
+from an external build system (like Yocto) which adds the correct
+prefix_map options.  Change the settings of CFLAGS to += to allow for
+defaults from outside.
+
+Upstream-Status: Pending
+
+Signed-off-by: Ryan Eatmon <reatmon@ti.com>
+---
+ testcases/ddt/wdt_test_suite/Makefile | 2 +-
+ 1 file changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/testcases/ddt/wdt_test_suite/Makefile b/testcases/ddt/wdt_test_suite/Makefile
+index 3625ba373..11e40e8c3 100644
+--- a/testcases/ddt/wdt_test_suite/Makefile
++++ b/testcases/ddt/wdt_test_suite/Makefile
+@@ -12,7 +12,7 @@ UNWANTED_FILES          := Makefile
+ 
+ INSTALL_MODE            := 00755
+ 
+-CFLAGS		= -g -Wall -D__EXPORTED_HEADERS__
++CFLAGS		+= -g -Wall -D__EXPORTED_HEADERS__
+ LDFLAGS         += -g
+ INCLUDES        = -I $(KERNEL_USR_INC) -I src/interface/common -I ../utils/user
+ 
+-- 
+2.43.0
+
diff --git a/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250930.bb b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250930.bb
index 613ff399..9b2be3e5 100644
--- a/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250930.bb
+++ b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250930.bb
@@ -16,6 +16,7 @@  BRANCH ?= "master"
 
 SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
 SRC_URI:prepend = "git://git.ti.com/git/test-automation/ltp-ddt.git;protocol=https;branch=${BRANCH} "
+SRC_URI += "file://0001-wdt_test_suite-Fix-reproducible-build-issue.patch"
 
 export prefix = "/opt/ltp"
 export exec_prefix = "/opt/ltp"