diff --git a/meta-oniro-staging/classes/create-spdx.bbclass b/meta-oniro-staging/classes/create-spdx.bbclass
index 47a8764bf09f22f748b6b9aa8cc631fc4381691c..37b6b569a1890f47dd60cc688fb17c102e3eae4e 100644
--- a/meta-oniro-staging/classes/create-spdx.bbclass
+++ b/meta-oniro-staging/classes/create-spdx.bbclass
@@ -35,8 +35,6 @@ SPDX_SUPPLIER[doc] = "The SPDX PackageSupplier field for SPDX packages created f
     is the contact information for the person or organization who is doing the \
     build."
 
-do_image_complete[depends] = "virtual/kernel:do_create_spdx"
-
 def extract_licenses(filename):
     import re