aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/cc-oci-artifacts/cc-image_16050.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/cc-oci-artifacts/cc-image_16050.bb')
-rw-r--r--recipes-devtools/cc-oci-artifacts/cc-image_16050.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-devtools/cc-oci-artifacts/cc-image_16050.bb b/recipes-devtools/cc-oci-artifacts/cc-image_16050.bb
new file mode 100644
index 0000000..1849e94
--- /dev/null
+++ b/recipes-devtools/cc-oci-artifacts/cc-image_16050.bb
@@ -0,0 +1,15 @@
+LICENSE = "GPLv2"
+ERROR_QA_remove = "license-checksum"
+
+SRC_URI = "https://download.clearlinux.org/releases/16050/clear/clear-${PV}-containers.img.xz"
+SRC_URI[md5sum] = "8d6003d6e44a5278d57367b7000d97da"
+SRC_URI[sha256sum] = "1a78b0a1e43552528a820ff6f7eaf3f3fb15b2d71b629eb103911f10b15b449f"
+
+FILES_${PN} += "/usr/share/clear-containers/*"
+
+do_install_append () {
+ cd ${WORKDIR} ; rm -f clear-containers.img
+ ln -s clear-${PV}-containers.img clear-containers.img
+ mkdir -p ${D}/usr/share/clear-containers/
+ cp -rf ${WORKDIR}/clear*-containers.img ${D}/usr/share/clear-containers/
+}