From 33011493b09e561766939caa8950c20c1ac007e3 Mon Sep 17 00:00:00 2001
From: Li Zhou
Date: Tue, 22 Mar 2022 23:05:04 -0400
Subject: [PATCH] circular_dep.conf: add chain for linux/linux-rt
Below error is reported when running "build-pkgs -c -p kernel-std"
mod_debbuild - DEBUG: CIRCULAR DEPENDENCY DETECTED.
mod_debbuild - ERROR: Circular dependency:
{'/localdisk/loadbuild/USER/stx/std/kernel-std/linux_5.10.74-1.stx.2.dsc'}
Similar issue happens to linux-rt when running "build-pkgs -c -p
kernel-rt --rt"
Those are caused by kernel building's dependency chains finally come
to linux-libc-dev, which is built by kernel.
Add linux/linux-rt into the config file to avoid the errors.
Test Plan:
- PASS: build-pkgs -c -p kernel-std
- PASS: build-pkgs -c -p kernel-rt --rt
Story: 2009221
Task: 44808
Signed-off-by: Li Zhou
Change-Id: I12f01e340966b91759f078cc5f31cd931675c72e
---
build-tools/stx/circular_dep.conf | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/build-tools/stx/circular_dep.conf b/build-tools/stx/circular_dep.conf
index 96ac8daf..c958c9e2 100644
--- a/build-tools/stx/circular_dep.conf
+++ b/build-tools/stx/circular_dep.conf
@@ -15,6 +15,12 @@
# -r> Runtime depend on
# (s) Source package
+SRC SET: linux
+BUILD ORDER: linux
+
+SRC SET: linux-rt
+BUILD ORDER: linux-rt
+
SRC SET: openldap systemd linux setuptools
BUILD ORDER: linux setuptools openldap systemd
# A superset of the chain: {openldap systemd linux}, just add package "setuptools"