summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2025-02-05 18:51:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-10 13:03:57 +0000
commit39cbbd1a87666f0535528f4daf03f1704f9eda49 (patch)
treebcef43e0621b314aa2d3f5120834c41ded61e040 /meta/classes-recipe
parentf82bac5b5a4c6c545b3d013a5f221bdca6bfc373 (diff)
downloadpoky-39cbbd1a87666f0535528f4daf03f1704f9eda49.tar.gz
classes: switch p7zip to 7zip
meta-oe has switched from p7zip to 7zip. p7zip recipe does not exist anymore and p7zip is provided and rprovided by 7zip recipe. Use real provider instead of replaced one. (From OE-Core rev: 5aa516bfa295d5be919459dfe45f452cdec45e81) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/image_types.bbclass2
-rw-r--r--meta/classes-recipe/populate_sdk_base.bbclass2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass
index 87d6effc6c..e6ef0ce11e 100644
--- a/meta/classes-recipe/image_types.bbclass
+++ b/meta/classes-recipe/image_types.bbclass
@@ -367,7 +367,7 @@ CONVERSION_DEPENDS_xz = "xz-native"
367CONVERSION_DEPENDS_lz4 = "lz4-native" 367CONVERSION_DEPENDS_lz4 = "lz4-native"
368CONVERSION_DEPENDS_lzo = "lzop-native" 368CONVERSION_DEPENDS_lzo = "lzop-native"
369CONVERSION_DEPENDS_zip = "zip-native" 369CONVERSION_DEPENDS_zip = "zip-native"
370CONVERSION_DEPENDS_7zip = "p7zip-native" 370CONVERSION_DEPENDS_7zip = "7zip-native"
371CONVERSION_DEPENDS_zst = "zstd-native" 371CONVERSION_DEPENDS_zst = "zstd-native"
372CONVERSION_DEPENDS_sum = "mtd-utils-native" 372CONVERSION_DEPENDS_sum = "mtd-utils-native"
373CONVERSION_DEPENDS_bmap = "bmaptool-native" 373CONVERSION_DEPENDS_bmap = "bmaptool-native"
diff --git a/meta/classes-recipe/populate_sdk_base.bbclass b/meta/classes-recipe/populate_sdk_base.bbclass
index 98ac723552..f111466b4c 100644
--- a/meta/classes-recipe/populate_sdk_base.bbclass
+++ b/meta/classes-recipe/populate_sdk_base.bbclass
@@ -94,7 +94,7 @@ python () {
94 # recommand to cd into input dir first to avoid archive with buildpath 94 # recommand to cd into input dir first to avoid archive with buildpath
95 d.setVar('SDK_ARCHIVE_CMD', 'cd ${SDK_OUTPUT}/${SDKPATH}; zip -r ${SDK_ZIP_OPTIONS} ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.${SDK_ARCHIVE_TYPE} .') 95 d.setVar('SDK_ARCHIVE_CMD', 'cd ${SDK_OUTPUT}/${SDKPATH}; zip -r ${SDK_ZIP_OPTIONS} ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.${SDK_ARCHIVE_TYPE} .')
96 elif d.getVar('SDK_ARCHIVE_TYPE') == '7zip': 96 elif d.getVar('SDK_ARCHIVE_TYPE') == '7zip':
97 d.setVar('SDK_ARCHIVE_DEPENDS', 'p7zip-native') 97 d.setVar('SDK_ARCHIVE_DEPENDS', '7zip-native')
98 d.setVar('SDK_ARCHIVE_CMD', 'cd ${SDK_OUTPUT}/${SDKPATH}; 7za a -r ${SDK_7ZIP_OPTIONS} ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.${SDK_7ZIP_TYPE} .') 98 d.setVar('SDK_ARCHIVE_CMD', 'cd ${SDK_OUTPUT}/${SDKPATH}; 7za a -r ${SDK_7ZIP_OPTIONS} ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.${SDK_7ZIP_TYPE} .')
99 elif d.getVar('SDK_ARCHIVE_TYPE') == 'tar.zst': 99 elif d.getVar('SDK_ARCHIVE_TYPE') == 'tar.zst':
100 d.setVar('SDK_ARCHIVE_DEPENDS', 'zstd-native') 100 d.setVar('SDK_ARCHIVE_DEPENDS', 'zstd-native')