Message ID | 7eb6ec4e-fc57-4725-852e-1b1e1fcc1b86@siemens.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [isar-cip-core] cip-core-images: Make ISAR_RELEASE_CMD available to them all | expand |
diff --git a/recipes-core/images/cip-core-image-kernelci.bb b/recipes-core/images/cip-core-image-kernelci.bb index 479c14c9..849c0761 100644 --- a/recipes-core/images/cip-core-image-kernelci.bb +++ b/recipes-core/images/cip-core-image-kernelci.bb @@ -9,7 +9,7 @@ # SPDX-License-Identifier: MIT # -inherit image +require cip-core-image.inc DESCRIPTION = "CIP Core image for KernelCI" diff --git a/recipes-core/images/cip-core-image-security.bb b/recipes-core/images/cip-core-image-security.bb index 525a3464..eea50ee7 100644 --- a/recipes-core/images/cip-core-image-security.bb +++ b/recipes-core/images/cip-core-image-security.bb @@ -9,7 +9,7 @@ # SPDX-License-Identifier: MIT # -inherit image +require cip-core-image.inc DESCRIPTION = "CIP Core image including security packages" diff --git a/recipes-core/images/cip-core-image.bb b/recipes-core/images/cip-core-image.bb index 0ec72208..4a9cea9d 100644 --- a/recipes-core/images/cip-core-image.bb +++ b/recipes-core/images/cip-core-image.bb @@ -9,9 +9,8 @@ # SPDX-License-Identifier: MIT # -inherit image +require cip-core-image.inc -ISAR_RELEASE_CMD = "git -C ${LAYERDIR_cip-core} describe --tags --dirty --always --match 'v[0-9].[0-9]*'" DESCRIPTION = "CIP Core image" IMAGE_INSTALL += "customizations" diff --git a/recipes-core/images/cip-core-image.bb b/recipes-core/images/cip-core-image.inc similarity index 54% copy from recipes-core/images/cip-core-image.bb copy to recipes-core/images/cip-core-image.inc index 0ec72208..7b0f7b04 100644 --- a/recipes-core/images/cip-core-image.bb +++ b/recipes-core/images/cip-core-image.inc @@ -1,7 +1,7 @@ # -# CIP Core, generic profile +# CIP Core # -# Copyright (c) Siemens AG, 2019 +# Copyright (c) Siemens AG, 2019-2024 # # Authors: # Jan Kiszka <jan.kiszka@siemens.com> @@ -12,9 +12,3 @@ inherit image ISAR_RELEASE_CMD = "git -C ${LAYERDIR_cip-core} describe --tags --dirty --always --match 'v[0-9].[0-9]*'" -DESCRIPTION = "CIP Core image" - -IMAGE_INSTALL += "customizations" - -CIP_IMAGE_OPTIONS ?= "" -require ${CIP_IMAGE_OPTIONS}