From 4edf7dfcf4fc7cfb3a32175e3aa33a5599f47d74 Mon Sep 17 00:00:00 2001 From: gaya <33068020+ggjjj@users.noreply.github.com> Date: Thu, 15 Sep 2022 18:42:10 +0000 Subject: [PATCH] Draft Recipe for 1.4 IoT Edge --- recipes-core/aziot-cli/iotedge-1.4.0.bb | 324 ++++++++++++++++++ recipes-core/aziot-cli/iotedge-1.4.0.inc | 1 + recipes-core/aziot-cli/iotedge.inc | 10 + .../aziot-edged/aziot-edged-1.4.0.inc | 1 + recipes-core/aziot-edged/aziot-edged.inc | 45 +++ recipes-core/aziot-edged/aziot-edged.service | 20 ++ recipes-core/aziot-edged/aziot-edged_1.4.0.bb | 324 ++++++++++++++++++ .../aziot-idenitityd/aziot-certd.service | 15 + .../aziot-idenitityd/aziot-identityd.service | 15 + .../aziot-idenitityd/aziot-keyd.service | 15 + .../aziot-idenitityd/aziot-tpmd.service | 15 + .../aziot-idenitityd/aziotd/aziotd 1.4.0.inc | 1 + .../aziot-idenitityd/aziotd/aziotd.inc | 67 ++++ .../aziot-idenitityd/aziotd/aziotd_1.4.0.bb | 256 ++++++++++++++ recipes-core/aziotctl/aziotclt.inc | 8 + recipes-core/aziotctl/aziotctl-1.4.0.bb | 256 ++++++++++++++ recipes-core/aziotctl/aziotctl-1.4.0.inc | 1 + .../iotedge-cli/iotedge-cli-1.1.15.inc | 1 - recipes-core/iotedge-cli/iotedge-cli.inc | 12 - .../iotedge-cli/iotedge-cli_1.1.15.bb | 277 --------------- ...-flag-to-disable-libiothsm-std-build.patch | 39 --- .../iotedge-daemon/iotedge-daemon-1.1.15.inc | 1 - .../iotedge-daemon/iotedge-daemon.inc | 49 --- .../iotedge-daemon/iotedge-daemon_1.1.15.bb | 279 --------------- .../libiothsm-std/libiothsm-std_1.1.15.bb | 19 - scripts/build.sh | 4 +- 26 files changed, 1376 insertions(+), 679 deletions(-) create mode 100644 recipes-core/aziot-cli/iotedge-1.4.0.bb create mode 100644 recipes-core/aziot-cli/iotedge-1.4.0.inc create mode 100644 recipes-core/aziot-cli/iotedge.inc create mode 100644 recipes-core/aziot-edged/aziot-edged-1.4.0.inc create mode 100644 recipes-core/aziot-edged/aziot-edged.inc create mode 100644 recipes-core/aziot-edged/aziot-edged.service create mode 100644 recipes-core/aziot-edged/aziot-edged_1.4.0.bb create mode 100644 recipes-core/aziot-idenitityd/aziot-certd.service create mode 100644 recipes-core/aziot-idenitityd/aziot-identityd.service create mode 100644 recipes-core/aziot-idenitityd/aziot-keyd.service create mode 100644 recipes-core/aziot-idenitityd/aziot-tpmd.service create mode 100644 recipes-core/aziot-idenitityd/aziotd/aziotd 1.4.0.inc create mode 100644 recipes-core/aziot-idenitityd/aziotd/aziotd.inc create mode 100644 recipes-core/aziot-idenitityd/aziotd/aziotd_1.4.0.bb create mode 100644 recipes-core/aziotctl/aziotclt.inc create mode 100644 recipes-core/aziotctl/aziotctl-1.4.0.bb create mode 100644 recipes-core/aziotctl/aziotctl-1.4.0.inc delete mode 100644 recipes-core/iotedge-cli/iotedge-cli-1.1.15.inc delete mode 100644 recipes-core/iotedge-cli/iotedge-cli.inc delete mode 100644 recipes-core/iotedge-cli/iotedge-cli_1.1.15.bb delete mode 100644 recipes-core/iotedge-daemon/files/0001-Add-flag-to-disable-libiothsm-std-build.patch delete mode 100644 recipes-core/iotedge-daemon/iotedge-daemon-1.1.15.inc delete mode 100644 recipes-core/iotedge-daemon/iotedge-daemon.inc delete mode 100644 recipes-core/iotedge-daemon/iotedge-daemon_1.1.15.bb delete mode 100644 recipes-core/libiothsm-std/libiothsm-std_1.1.15.bb diff --git a/recipes-core/aziot-cli/iotedge-1.4.0.bb b/recipes-core/aziot-cli/iotedge-1.4.0.bb new file mode 100644 index 0000000..6a7fbfc --- /dev/null +++ b/recipes-core/aziot-cli/iotedge-1.4.0.bb @@ -0,0 +1,324 @@ +# Auto-Generated by cargo-bitbake 0.3.16 +# +inherit cargo + +# If this is git based prefer versioned ones if they exist +# DEFAULT_PREFERENCE = "-1" + +# how to get iotedge could be as easy as but default to a git checkout: +# SRC_URI += "crate://crates.io/iotedge/0.1.0" +SRC_URI += "git://github.com/Azure/iotedge;protocol=https;nobranch=1;branch=main" +SRCREV = "d79baf9dc4bf4ee0d9710c6ae0a941965a150108" +S = "${WORKDIR}/git" +CARGO_SRC_DIR = "iotedge" +PV:append = ".AUTOINC+d79baf9dc4" + +# please note if you have entries that do not begin with crate:// +# you must change them to how that package can be fetched +SRC_URI += " \ + crate://crates.io/adler/1.0.2 \ + crate://crates.io/aho-corasick/0.7.18 \ + crate://crates.io/android_system_properties/0.1.4 \ + crate://crates.io/ansi_term/0.12.1 \ + crate://crates.io/anyhow/1.0.61 \ + crate://crates.io/async-trait/0.1.57 \ + crate://crates.io/atty/0.2.14 \ + crate://crates.io/autocfg/1.1.0 \ + crate://crates.io/base64/0.13.0 \ + crate://crates.io/bitflags/1.3.2 \ + crate://crates.io/block-buffer/0.10.2 \ + crate://crates.io/bumpalo/3.10.0 \ + crate://crates.io/byte-unit/4.0.14 \ + crate://crates.io/byteorder/1.4.3 \ + crate://crates.io/bytes/1.2.1 \ + crate://crates.io/cc/1.0.73 \ + crate://crates.io/cfg-if/1.0.0 \ + crate://crates.io/chrono-humanize/0.2.1 \ + crate://crates.io/chrono/0.4.21 \ + crate://crates.io/clap/2.34.0 \ + crate://crates.io/config/0.13.2 \ + crate://crates.io/core-foundation-sys/0.8.3 \ + crate://crates.io/cpufeatures/0.2.2 \ + crate://crates.io/crc32fast/1.3.2 \ + crate://crates.io/crossbeam-channel/0.5.6 \ + crate://crates.io/crossbeam-deque/0.8.2 \ + crate://crates.io/crossbeam-epoch/0.9.10 \ + crate://crates.io/crossbeam-utils/0.8.11 \ + crate://crates.io/crypto-common/0.1.6 \ + crate://crates.io/darling/0.14.1 \ + crate://crates.io/darling_core/0.14.1 \ + crate://crates.io/darling_macro/0.14.1 \ + crate://crates.io/digest/0.10.3 \ + crate://crates.io/either/1.7.0 \ + crate://crates.io/env_logger/0.9.0 \ + crate://crates.io/erased-serde/0.3.22 \ + crate://crates.io/fastrand/1.8.0 \ + crate://crates.io/flate2/1.0.24 \ + crate://crates.io/fnv/1.0.7 \ + crate://crates.io/foreign-types-shared/0.1.1 \ + crate://crates.io/foreign-types/0.3.2 \ + crate://crates.io/form_urlencoded/1.0.1 \ + crate://crates.io/futures-channel/0.3.21 \ + crate://crates.io/futures-core/0.3.21 \ + crate://crates.io/futures-executor/0.3.21 \ + crate://crates.io/futures-io/0.3.21 \ + crate://crates.io/futures-macro/0.3.21 \ + crate://crates.io/futures-sink/0.3.21 \ + crate://crates.io/futures-task/0.3.21 \ + crate://crates.io/futures-util/0.3.21 \ + crate://crates.io/futures/0.3.21 \ + crate://crates.io/generic-array/0.14.6 \ + crate://crates.io/h2/0.3.13 \ + crate://crates.io/hashbrown/0.12.3 \ + crate://crates.io/headers-core/0.2.0 \ + crate://crates.io/headers/0.3.7 \ + crate://crates.io/hermit-abi/0.1.19 \ + crate://crates.io/hex/0.4.3 \ + crate://crates.io/http-body/0.4.5 \ + crate://crates.io/http/0.2.8 \ + crate://crates.io/httparse/1.7.1 \ + crate://crates.io/httpdate/1.0.2 \ + crate://crates.io/humantime/2.1.0 \ + crate://crates.io/hyper-openssl/0.9.2 \ + crate://crates.io/hyper-proxy/0.9.1 \ + crate://crates.io/hyper/0.14.20 \ + crate://crates.io/iana-time-zone/0.1.44 \ + crate://crates.io/ident_case/1.0.1 \ + crate://crates.io/idna/0.2.3 \ + crate://crates.io/indexmap/1.9.1 \ + crate://crates.io/instant/0.1.12 \ + crate://crates.io/itoa/1.0.3 \ + crate://crates.io/js-sys/0.3.59 \ + crate://crates.io/lazy_static/1.4.0 \ + crate://crates.io/libc/0.2.131 \ + crate://crates.io/linked-hash-map/0.5.6 \ + crate://crates.io/linked_hash_set/0.1.4 \ + crate://crates.io/lock_api/0.4.7 \ + crate://crates.io/log/0.4.17 \ + crate://crates.io/matches/0.1.9 \ + crate://crates.io/memchr/2.5.0 \ + crate://crates.io/memoffset/0.6.5 \ + crate://crates.io/mime/0.3.16 \ + crate://crates.io/minimal-lexical/0.2.1 \ + crate://crates.io/miniz_oxide/0.5.3 \ + crate://crates.io/mio/0.8.4 \ + crate://crates.io/nix/0.24.2 \ + crate://crates.io/nom/7.1.1 \ + crate://crates.io/ntapi/0.3.7 \ + crate://crates.io/num-integer/0.1.45 \ + crate://crates.io/num-traits/0.2.15 \ + crate://crates.io/num_cpus/1.13.1 \ + crate://crates.io/num_threads/0.1.6 \ + crate://crates.io/once_cell/1.13.0 \ + crate://crates.io/openssl-errors/0.1.0 \ + crate://crates.io/openssl-macros/0.1.0 \ + crate://crates.io/openssl-sys/0.9.75 \ + crate://crates.io/openssl/0.10.41 \ + crate://crates.io/parking_lot/0.12.1 \ + crate://crates.io/parking_lot_core/0.9.3 \ + crate://crates.io/pathdiff/0.2.1 \ + crate://crates.io/percent-encoding/2.1.0 \ + crate://crates.io/pin-project-lite/0.2.9 \ + crate://crates.io/pin-utils/0.1.0 \ + crate://crates.io/pkg-config/0.3.25 \ + crate://crates.io/proc-macro-error-attr/1.0.4 \ + crate://crates.io/proc-macro-error/1.0.4 \ + crate://crates.io/proc-macro2/1.0.43 \ + crate://crates.io/quote/1.0.21 \ + crate://crates.io/rayon-core/1.9.3 \ + crate://crates.io/rayon/1.5.3 \ + crate://crates.io/redox_syscall/0.2.16 \ + crate://crates.io/regex-syntax/0.6.27 \ + crate://crates.io/regex/1.6.0 \ + crate://crates.io/remove_dir_all/0.5.3 \ + crate://crates.io/ryu/1.0.11 \ + crate://crates.io/scopeguard/1.1.0 \ + crate://crates.io/serde/1.0.143 \ + crate://crates.io/serde_derive/1.0.143 \ + crate://crates.io/serde_json/1.0.83 \ + crate://crates.io/serde_with/2.0.0 \ + crate://crates.io/serde_with_macros/2.0.0 \ + crate://crates.io/sha-1/0.10.0 \ + crate://crates.io/sha2/0.10.2 \ + crate://crates.io/signal-hook-registry/1.4.0 \ + crate://crates.io/slab/0.4.7 \ + crate://crates.io/smallvec/1.9.0 \ + crate://crates.io/socket2/0.4.4 \ + crate://crates.io/strsim/0.10.0 \ + crate://crates.io/strsim/0.8.0 \ + crate://crates.io/syn/1.0.99 \ + crate://crates.io/sysinfo/0.25.2 \ + crate://crates.io/tabwriter/1.2.1 \ + crate://crates.io/tempfile/3.3.0 \ + crate://crates.io/termcolor/1.1.3 \ + crate://crates.io/test-case-macros/2.2.1 \ + crate://crates.io/test-case/2.2.1 \ + crate://crates.io/textwrap/0.11.0 \ + crate://crates.io/thiserror-impl/1.0.32 \ + crate://crates.io/thiserror/1.0.32 \ + crate://crates.io/time/0.1.44 \ + crate://crates.io/time/0.3.13 \ + crate://crates.io/tinyvec/1.6.0 \ + crate://crates.io/tinyvec_macros/0.1.0 \ + crate://crates.io/tokio-macros/1.8.0 \ + crate://crates.io/tokio-openssl/0.6.3 \ + crate://crates.io/tokio-util/0.7.3 \ + crate://crates.io/tokio/1.20.1 \ + crate://crates.io/toml/0.5.9 \ + crate://crates.io/tower-layer/0.3.1 \ + crate://crates.io/tower-service/0.3.2 \ + crate://crates.io/tracing-attributes/0.1.22 \ + crate://crates.io/tracing-core/0.1.29 \ + crate://crates.io/tracing/0.1.36 \ + crate://crates.io/try-lock/0.2.3 \ + crate://crates.io/typenum/1.15.0 \ + crate://crates.io/unicode-bidi/0.3.8 \ + crate://crates.io/unicode-ident/1.0.3 \ + crate://crates.io/unicode-normalization/0.1.21 \ + crate://crates.io/unicode-width/0.1.9 \ + crate://crates.io/url/2.2.2 \ + crate://crates.io/utf8-width/0.1.6 \ + crate://crates.io/vcpkg/0.2.15 \ + crate://crates.io/vec_map/0.8.2 \ + crate://crates.io/version_check/0.9.4 \ + crate://crates.io/want/0.3.0 \ + crate://crates.io/wasi/0.10.0+wasi-snapshot-preview1 \ + crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ + crate://crates.io/wasm-bindgen-backend/0.2.82 \ + crate://crates.io/wasm-bindgen-macro-support/0.2.82 \ + crate://crates.io/wasm-bindgen-macro/0.2.82 \ + crate://crates.io/wasm-bindgen-shared/0.2.82 \ + crate://crates.io/wasm-bindgen/0.2.82 \ + crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi-util/0.1.5 \ + crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi/0.3.9 \ + crate://crates.io/windows-sys/0.36.1 \ + crate://crates.io/windows_aarch64_msvc/0.36.1 \ + crate://crates.io/windows_i686_gnu/0.36.1 \ + crate://crates.io/windows_i686_msvc/0.36.1 \ + crate://crates.io/windows_x86_64_gnu/0.36.1 \ + crate://crates.io/windows_x86_64_msvc/0.36.1 \ + crate://crates.io/yaml-rust/0.4.5 \ + crate://crates.io/zip/0.6.2 \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-cert-client-async;destsuffix=aziot-cert-client-async \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-cert-common-http;destsuffix=aziot-cert-common-http \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-certd-config;destsuffix=aziot-certd-config \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-identity-client-async;destsuffix=aziot-identity-client-async \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-identity-common-http;destsuffix=aziot-identity-common-http \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-identity-common;destsuffix=aziot-identity-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-identityd-config;destsuffix=aziot-identityd-config \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-key-client-async;destsuffix=aziot-key-client-async \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-key-client;destsuffix=aziot-key-client \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-key-common-http;destsuffix=aziot-key-common-http \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-key-common;destsuffix=aziot-key-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-key-openssl-engine;destsuffix=aziot-key-openssl-engine \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-keyd-config;destsuffix=aziot-keyd-config \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-keys-common;destsuffix=aziot-keys-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-tpmd-config;destsuffix=aziot-tpmd-config \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziotctl-common;destsuffix=aziotctl-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=cert-renewal;destsuffix=cert-renewal \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=config-common;destsuffix=config-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=http-common;destsuffix=http-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=logger;destsuffix=logger \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=openssl-build;destsuffix=openssl-build \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=openssl-sys2;destsuffix=openssl-sys2 \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=openssl2;destsuffix=openssl2 \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=pkcs11-sys;destsuffix=pkcs11-sys \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=pkcs11;destsuffix=pkcs11 \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=test-common;destsuffix=test-common \ +" + +SRCREV_FORMAT .= "_aziot-cert-client-async" +SRCREV_aziot-cert-client-async = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-cert-client-async" +SRCREV_FORMAT .= "_aziot-cert-common-http" +SRCREV_aziot-cert-common-http = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-cert-common-http" +SRCREV_FORMAT .= "_aziot-certd-config" +SRCREV_aziot-certd-config = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-certd-config" +SRCREV_FORMAT .= "_aziot-identity-client-async" +SRCREV_aziot-identity-client-async = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-identity-client-async" +SRCREV_FORMAT .= "_aziot-identity-common" +SRCREV_aziot-identity-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-identity-common" +SRCREV_FORMAT .= "_aziot-identity-common-http" +SRCREV_aziot-identity-common-http = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-identity-common-http" +SRCREV_FORMAT .= "_aziot-identityd-config" +SRCREV_aziot-identityd-config = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-identityd-config" +SRCREV_FORMAT .= "_aziot-key-client" +SRCREV_aziot-key-client = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-key-client" +SRCREV_FORMAT .= "_aziot-key-client-async" +SRCREV_aziot-key-client-async = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-key-client-async" +SRCREV_FORMAT .= "_aziot-key-common" +SRCREV_aziot-key-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-key-common" +SRCREV_FORMAT .= "_aziot-key-common-http" +SRCREV_aziot-key-common-http = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-key-common-http" +SRCREV_FORMAT .= "_aziot-key-openssl-engine" +SRCREV_aziot-key-openssl-engine = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-key-openssl-engine" +SRCREV_FORMAT .= "_aziot-keyd-config" +SRCREV_aziot-keyd-config = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-keyd-config" +SRCREV_FORMAT .= "_aziot-keys-common" +SRCREV_aziot-keys-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-keys-common" +SRCREV_FORMAT .= "_aziot-tpmd-config" +SRCREV_aziot-tpmd-config = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-tpmd-config" +SRCREV_FORMAT .= "_aziotctl-common" +SRCREV_aziotctl-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziotctl-common" +SRCREV_FORMAT .= "_cert-renewal" +SRCREV_cert-renewal = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/cert-renewal" +SRCREV_FORMAT .= "_config-common" +SRCREV_config-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/config-common" +SRCREV_FORMAT .= "_http-common" +SRCREV_http-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/http-common" +SRCREV_FORMAT .= "_logger" +SRCREV_logger = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/logger" +SRCREV_FORMAT .= "_openssl-build" +SRCREV_openssl-build = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/openssl-build" +SRCREV_FORMAT .= "_openssl-sys2" +SRCREV_openssl-sys2 = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/openssl-sys2" +SRCREV_FORMAT .= "_openssl2" +SRCREV_openssl2 = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/openssl2" +SRCREV_FORMAT .= "_pkcs11" +SRCREV_pkcs11 = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/pkcs11" +SRCREV_FORMAT .= "_pkcs11-sys" +SRCREV_pkcs11-sys = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/pkcs11-sys" +SRCREV_FORMAT .= "_test-common" +SRCREV_test-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/test-common" + +# FIXME: update generateme with the real MD5 of the license file +LIC_FILES_CHKSUM = " \ + file://MIT;md5=generateme \ +" + +SUMMARY = "The iotedge tool is used to manage the IoT Edge runtime." +HOMEPAGE = "https://github.com/Azure/iotedge" +LICENSE = "MIT" + +# includes this file if it exists but does not fail +# this is useful for anything you may want to override from +# what cargo-bitbake generates. +include iotedge-${PV}.inc +include iotedge.inc diff --git a/recipes-core/aziot-cli/iotedge-1.4.0.inc b/recipes-core/aziot-cli/iotedge-1.4.0.inc new file mode 100644 index 0000000..2bb584a --- /dev/null +++ b/recipes-core/aziot-cli/iotedge-1.4.0.inc @@ -0,0 +1 @@ +export VERSION = "1.4.0" diff --git a/recipes-core/aziot-cli/iotedge.inc b/recipes-core/aziot-cli/iotedge.inc new file mode 100644 index 0000000..d606661 --- /dev/null +++ b/recipes-core/aziot-cli/iotedge.inc @@ -0,0 +1,10 @@ +DEPENDS += "openssl aziotctl" + +export OPENSSL_DIR = "${STAGING_EXECPREFIXDIR}" +export LIBIOTHSM_NOBUILD="On" + +do_install () { + # Binaries + install -d "${D}${bindir}" + install -m 755 "${WORKDIR}/build/target/${TARGET_SYS}/release/iotedge" ${D}${bindir}/iotedge +} \ No newline at end of file diff --git a/recipes-core/aziot-edged/aziot-edged-1.4.0.inc b/recipes-core/aziot-edged/aziot-edged-1.4.0.inc new file mode 100644 index 0000000..2bb584a --- /dev/null +++ b/recipes-core/aziot-edged/aziot-edged-1.4.0.inc @@ -0,0 +1 @@ +export VERSION = "1.4.0" diff --git a/recipes-core/aziot-edged/aziot-edged.inc b/recipes-core/aziot-edged/aziot-edged.inc new file mode 100644 index 0000000..7ffdc65 --- /dev/null +++ b/recipes-core/aziot-edged/aziot-edged.inc @@ -0,0 +1,45 @@ +DEPENDS += "openssl virtual/docker iotedge aziot-identityd" +RDEPENDS_${PN} += "docker iotedge aziot-identityd" + +inherit systemd + +SYSTEMD_AUTO_ENABLE_${PN} = "enable" +SYSTEMD_SERVICE_${PN} = "aziot-edged.service" + +SRC_URI += "file://./aziot-edged.service \ +" + +do_install () { + # Binaries + install -d "${D}${bindir}" + install -m 755 "${WORKDIR}/build/target/${TARGET_SYS}/release/aziot-edged" ${D}${bindir}/aziot-edged + + # Config file + install -d "${D}${sysconfdir}/aziot" + install -d "${D}${sysconfdir}/aziot/edged" + install -d "${D}${sysconfdir}/aziot/edged/config.d" + + # Data dir + install -d -o iotedge -g iotedge "${D}${localstatedir}/lib/iotedge" + + if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then + install -d ${D}${systemd_unitdir}/system + install -m 644 ${WORKDIR}/aziot-edged.service ${D}${systemd_unitdir}/system + install -m 644 ${WORKDIR}/git/edgelet/contrib/systemd/debian/aziot-edged.workload.socket ${D}${systemd_unitdir}/system + install -m 644 ${WORKDIR}/git/edgelet/contrib/systemd/debian/aziot-edged.mgmt.socket ${D}${systemd_unitdir}/system + else + install -d ${D}${sysconfdir}/init.d + install -m 755 ${WORKDIR}/iotedge-${PV}/contrib/debian/iotedge.init ${D}${sysconfdir}/init.d/iotedge + fi +} + +inherit useradd +USERADD_PACKAGES = "${PN}" +USERADD_PARAM_${PN} = "-r -u 15580 -g iotedge -G docker -s /bin/false -d ${localstatedir}/lib/iotedge iotedge" +GROUPADD_PARAM_${PN} = "-r -g 15580 iotedge" + +FILES_${PN} += " \ + ${systemd_unitdir}/system/* \ + ${localstatedir}/lib/iotedge \ + ${sysconfdir}/aziot/ \ + " \ No newline at end of file diff --git a/recipes-core/aziot-edged/aziot-edged.service b/recipes-core/aziot-edged/aziot-edged.service new file mode 100644 index 0000000..0c008cf --- /dev/null +++ b/recipes-core/aziot-edged/aziot-edged.service @@ -0,0 +1,20 @@ +[Unit] +Description=Azure IoT Edge daemon +After=docker.service aziot-edged.workload.socket aziot-edged.mgmt.socket +Requires=aziot-edged.workload.socket aziot-edged.mgmt.socket +Documentation=man:aziot-edged(8) + +[Service] +ExecStart=/usr/bin/aziot-edged +KillMode=process +TimeoutStartSec=600 +TimeoutStopSec=40 +Restart=on-failure +RestartPreventExitStatus=153 +RestartSec=5 +User=iotedge +Group=iotedge + +[Install] +WantedBy=multi-user.target +Also=aziot-edged.workload.socket aziot-edged.mgmt.socket diff --git a/recipes-core/aziot-edged/aziot-edged_1.4.0.bb b/recipes-core/aziot-edged/aziot-edged_1.4.0.bb new file mode 100644 index 0000000..e7624d5 --- /dev/null +++ b/recipes-core/aziot-edged/aziot-edged_1.4.0.bb @@ -0,0 +1,324 @@ +# Auto-Generated by cargo-bitbake 0.3.16 +# +inherit cargo + +# If this is git based prefer versioned ones if they exist +# DEFAULT_PREFERENCE = "-1" + +# how to get aziot-edged could be as easy as but default to a git checkout: +# SRC_URI += "crate://crates.io/aziot-edged/0.1.0" +SRC_URI += "git://github.com/Azure/iotedge;protocol=https;nobranch=1;branch=main" +SRCREV = "d79baf9dc4bf4ee0d9710c6ae0a941965a150108" +S = "${WORKDIR}/git" +CARGO_SRC_DIR = "aziot-edged" +PV:append = ".AUTOINC+d79baf9dc4" + +# please note if you have entries that do not begin with crate:// +# you must change them to how that package can be fetched +SRC_URI += " \ + crate://crates.io/adler/1.0.2 \ + crate://crates.io/aho-corasick/0.7.18 \ + crate://crates.io/android_system_properties/0.1.4 \ + crate://crates.io/ansi_term/0.12.1 \ + crate://crates.io/anyhow/1.0.61 \ + crate://crates.io/async-trait/0.1.57 \ + crate://crates.io/atty/0.2.14 \ + crate://crates.io/autocfg/1.1.0 \ + crate://crates.io/base64/0.13.0 \ + crate://crates.io/bitflags/1.3.2 \ + crate://crates.io/block-buffer/0.10.2 \ + crate://crates.io/bumpalo/3.10.0 \ + crate://crates.io/byte-unit/4.0.14 \ + crate://crates.io/byteorder/1.4.3 \ + crate://crates.io/bytes/1.2.1 \ + crate://crates.io/cc/1.0.73 \ + crate://crates.io/cfg-if/1.0.0 \ + crate://crates.io/chrono-humanize/0.2.1 \ + crate://crates.io/chrono/0.4.21 \ + crate://crates.io/clap/2.34.0 \ + crate://crates.io/config/0.13.2 \ + crate://crates.io/core-foundation-sys/0.8.3 \ + crate://crates.io/cpufeatures/0.2.2 \ + crate://crates.io/crc32fast/1.3.2 \ + crate://crates.io/crossbeam-channel/0.5.6 \ + crate://crates.io/crossbeam-deque/0.8.2 \ + crate://crates.io/crossbeam-epoch/0.9.10 \ + crate://crates.io/crossbeam-utils/0.8.11 \ + crate://crates.io/crypto-common/0.1.6 \ + crate://crates.io/darling/0.14.1 \ + crate://crates.io/darling_core/0.14.1 \ + crate://crates.io/darling_macro/0.14.1 \ + crate://crates.io/digest/0.10.3 \ + crate://crates.io/either/1.7.0 \ + crate://crates.io/env_logger/0.9.0 \ + crate://crates.io/erased-serde/0.3.22 \ + crate://crates.io/fastrand/1.8.0 \ + crate://crates.io/flate2/1.0.24 \ + crate://crates.io/fnv/1.0.7 \ + crate://crates.io/foreign-types-shared/0.1.1 \ + crate://crates.io/foreign-types/0.3.2 \ + crate://crates.io/form_urlencoded/1.0.1 \ + crate://crates.io/futures-channel/0.3.21 \ + crate://crates.io/futures-core/0.3.21 \ + crate://crates.io/futures-executor/0.3.21 \ + crate://crates.io/futures-io/0.3.21 \ + crate://crates.io/futures-macro/0.3.21 \ + crate://crates.io/futures-sink/0.3.21 \ + crate://crates.io/futures-task/0.3.21 \ + crate://crates.io/futures-util/0.3.21 \ + crate://crates.io/futures/0.3.21 \ + crate://crates.io/generic-array/0.14.6 \ + crate://crates.io/h2/0.3.13 \ + crate://crates.io/hashbrown/0.12.3 \ + crate://crates.io/headers-core/0.2.0 \ + crate://crates.io/headers/0.3.7 \ + crate://crates.io/hermit-abi/0.1.19 \ + crate://crates.io/hex/0.4.3 \ + crate://crates.io/http-body/0.4.5 \ + crate://crates.io/http/0.2.8 \ + crate://crates.io/httparse/1.7.1 \ + crate://crates.io/httpdate/1.0.2 \ + crate://crates.io/humantime/2.1.0 \ + crate://crates.io/hyper-openssl/0.9.2 \ + crate://crates.io/hyper-proxy/0.9.1 \ + crate://crates.io/hyper/0.14.20 \ + crate://crates.io/iana-time-zone/0.1.44 \ + crate://crates.io/ident_case/1.0.1 \ + crate://crates.io/idna/0.2.3 \ + crate://crates.io/indexmap/1.9.1 \ + crate://crates.io/instant/0.1.12 \ + crate://crates.io/itoa/1.0.3 \ + crate://crates.io/js-sys/0.3.59 \ + crate://crates.io/lazy_static/1.4.0 \ + crate://crates.io/libc/0.2.131 \ + crate://crates.io/linked-hash-map/0.5.6 \ + crate://crates.io/linked_hash_set/0.1.4 \ + crate://crates.io/lock_api/0.4.7 \ + crate://crates.io/log/0.4.17 \ + crate://crates.io/matches/0.1.9 \ + crate://crates.io/memchr/2.5.0 \ + crate://crates.io/memoffset/0.6.5 \ + crate://crates.io/mime/0.3.16 \ + crate://crates.io/minimal-lexical/0.2.1 \ + crate://crates.io/miniz_oxide/0.5.3 \ + crate://crates.io/mio/0.8.4 \ + crate://crates.io/nix/0.24.2 \ + crate://crates.io/nom/7.1.1 \ + crate://crates.io/ntapi/0.3.7 \ + crate://crates.io/num-integer/0.1.45 \ + crate://crates.io/num-traits/0.2.15 \ + crate://crates.io/num_cpus/1.13.1 \ + crate://crates.io/num_threads/0.1.6 \ + crate://crates.io/once_cell/1.13.0 \ + crate://crates.io/openssl-errors/0.1.0 \ + crate://crates.io/openssl-macros/0.1.0 \ + crate://crates.io/openssl-sys/0.9.75 \ + crate://crates.io/openssl/0.10.41 \ + crate://crates.io/parking_lot/0.12.1 \ + crate://crates.io/parking_lot_core/0.9.3 \ + crate://crates.io/pathdiff/0.2.1 \ + crate://crates.io/percent-encoding/2.1.0 \ + crate://crates.io/pin-project-lite/0.2.9 \ + crate://crates.io/pin-utils/0.1.0 \ + crate://crates.io/pkg-config/0.3.25 \ + crate://crates.io/proc-macro-error-attr/1.0.4 \ + crate://crates.io/proc-macro-error/1.0.4 \ + crate://crates.io/proc-macro2/1.0.43 \ + crate://crates.io/quote/1.0.21 \ + crate://crates.io/rayon-core/1.9.3 \ + crate://crates.io/rayon/1.5.3 \ + crate://crates.io/redox_syscall/0.2.16 \ + crate://crates.io/regex-syntax/0.6.27 \ + crate://crates.io/regex/1.6.0 \ + crate://crates.io/remove_dir_all/0.5.3 \ + crate://crates.io/ryu/1.0.11 \ + crate://crates.io/scopeguard/1.1.0 \ + crate://crates.io/serde/1.0.143 \ + crate://crates.io/serde_derive/1.0.143 \ + crate://crates.io/serde_json/1.0.83 \ + crate://crates.io/serde_with/2.0.0 \ + crate://crates.io/serde_with_macros/2.0.0 \ + crate://crates.io/sha-1/0.10.0 \ + crate://crates.io/sha2/0.10.2 \ + crate://crates.io/signal-hook-registry/1.4.0 \ + crate://crates.io/slab/0.4.7 \ + crate://crates.io/smallvec/1.9.0 \ + crate://crates.io/socket2/0.4.4 \ + crate://crates.io/strsim/0.10.0 \ + crate://crates.io/strsim/0.8.0 \ + crate://crates.io/syn/1.0.99 \ + crate://crates.io/sysinfo/0.25.2 \ + crate://crates.io/tabwriter/1.2.1 \ + crate://crates.io/tempfile/3.3.0 \ + crate://crates.io/termcolor/1.1.3 \ + crate://crates.io/test-case-macros/2.2.1 \ + crate://crates.io/test-case/2.2.1 \ + crate://crates.io/textwrap/0.11.0 \ + crate://crates.io/thiserror-impl/1.0.32 \ + crate://crates.io/thiserror/1.0.32 \ + crate://crates.io/time/0.1.44 \ + crate://crates.io/time/0.3.13 \ + crate://crates.io/tinyvec/1.6.0 \ + crate://crates.io/tinyvec_macros/0.1.0 \ + crate://crates.io/tokio-macros/1.8.0 \ + crate://crates.io/tokio-openssl/0.6.3 \ + crate://crates.io/tokio-util/0.7.3 \ + crate://crates.io/tokio/1.20.1 \ + crate://crates.io/toml/0.5.9 \ + crate://crates.io/tower-layer/0.3.1 \ + crate://crates.io/tower-service/0.3.2 \ + crate://crates.io/tracing-attributes/0.1.22 \ + crate://crates.io/tracing-core/0.1.29 \ + crate://crates.io/tracing/0.1.36 \ + crate://crates.io/try-lock/0.2.3 \ + crate://crates.io/typenum/1.15.0 \ + crate://crates.io/unicode-bidi/0.3.8 \ + crate://crates.io/unicode-ident/1.0.3 \ + crate://crates.io/unicode-normalization/0.1.21 \ + crate://crates.io/unicode-width/0.1.9 \ + crate://crates.io/url/2.2.2 \ + crate://crates.io/utf8-width/0.1.6 \ + crate://crates.io/vcpkg/0.2.15 \ + crate://crates.io/vec_map/0.8.2 \ + crate://crates.io/version_check/0.9.4 \ + crate://crates.io/want/0.3.0 \ + crate://crates.io/wasi/0.10.0+wasi-snapshot-preview1 \ + crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ + crate://crates.io/wasm-bindgen-backend/0.2.82 \ + crate://crates.io/wasm-bindgen-macro-support/0.2.82 \ + crate://crates.io/wasm-bindgen-macro/0.2.82 \ + crate://crates.io/wasm-bindgen-shared/0.2.82 \ + crate://crates.io/wasm-bindgen/0.2.82 \ + crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi-util/0.1.5 \ + crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi/0.3.9 \ + crate://crates.io/windows-sys/0.36.1 \ + crate://crates.io/windows_aarch64_msvc/0.36.1 \ + crate://crates.io/windows_i686_gnu/0.36.1 \ + crate://crates.io/windows_i686_msvc/0.36.1 \ + crate://crates.io/windows_x86_64_gnu/0.36.1 \ + crate://crates.io/windows_x86_64_msvc/0.36.1 \ + crate://crates.io/yaml-rust/0.4.5 \ + crate://crates.io/zip/0.6.2 \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-cert-client-async;destsuffix=aziot-cert-client-async \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-cert-common-http;destsuffix=aziot-cert-common-http \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-certd-config;destsuffix=aziot-certd-config \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-identity-client-async;destsuffix=aziot-identity-client-async \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-identity-common-http;destsuffix=aziot-identity-common-http \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-identity-common;destsuffix=aziot-identity-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-identityd-config;destsuffix=aziot-identityd-config \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-key-client-async;destsuffix=aziot-key-client-async \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-key-client;destsuffix=aziot-key-client \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-key-common-http;destsuffix=aziot-key-common-http \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-key-common;destsuffix=aziot-key-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-key-openssl-engine;destsuffix=aziot-key-openssl-engine \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-keyd-config;destsuffix=aziot-keyd-config \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-keys-common;destsuffix=aziot-keys-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziot-tpmd-config;destsuffix=aziot-tpmd-config \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=aziotctl-common;destsuffix=aziotctl-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=cert-renewal;destsuffix=cert-renewal \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=config-common;destsuffix=config-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=http-common;destsuffix=http-common \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=logger;destsuffix=logger \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=openssl-build;destsuffix=openssl-build \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=openssl-sys2;destsuffix=openssl-sys2 \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=openssl2;destsuffix=openssl2 \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=pkcs11-sys;destsuffix=pkcs11-sys \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=pkcs11;destsuffix=pkcs11 \ + git://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;name=test-common;destsuffix=test-common \ +" + +SRCREV_FORMAT .= "_aziot-cert-client-async" +SRCREV_aziot-cert-client-async = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-cert-client-async" +SRCREV_FORMAT .= "_aziot-cert-common-http" +SRCREV_aziot-cert-common-http = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-cert-common-http" +SRCREV_FORMAT .= "_aziot-certd-config" +SRCREV_aziot-certd-config = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-certd-config" +SRCREV_FORMAT .= "_aziot-identity-client-async" +SRCREV_aziot-identity-client-async = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-identity-client-async" +SRCREV_FORMAT .= "_aziot-identity-common" +SRCREV_aziot-identity-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-identity-common" +SRCREV_FORMAT .= "_aziot-identity-common-http" +SRCREV_aziot-identity-common-http = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-identity-common-http" +SRCREV_FORMAT .= "_aziot-identityd-config" +SRCREV_aziot-identityd-config = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-identityd-config" +SRCREV_FORMAT .= "_aziot-key-client" +SRCREV_aziot-key-client = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-key-client" +SRCREV_FORMAT .= "_aziot-key-client-async" +SRCREV_aziot-key-client-async = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-key-client-async" +SRCREV_FORMAT .= "_aziot-key-common" +SRCREV_aziot-key-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-key-common" +SRCREV_FORMAT .= "_aziot-key-common-http" +SRCREV_aziot-key-common-http = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-key-common-http" +SRCREV_FORMAT .= "_aziot-key-openssl-engine" +SRCREV_aziot-key-openssl-engine = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-key-openssl-engine" +SRCREV_FORMAT .= "_aziot-keyd-config" +SRCREV_aziot-keyd-config = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-keyd-config" +SRCREV_FORMAT .= "_aziot-keys-common" +SRCREV_aziot-keys-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-keys-common" +SRCREV_FORMAT .= "_aziot-tpmd-config" +SRCREV_aziot-tpmd-config = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziot-tpmd-config" +SRCREV_FORMAT .= "_aziotctl-common" +SRCREV_aziotctl-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/aziotctl-common" +SRCREV_FORMAT .= "_cert-renewal" +SRCREV_cert-renewal = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/cert-renewal" +SRCREV_FORMAT .= "_config-common" +SRCREV_config-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/config-common" +SRCREV_FORMAT .= "_http-common" +SRCREV_http-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/http-common" +SRCREV_FORMAT .= "_logger" +SRCREV_logger = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/logger" +SRCREV_FORMAT .= "_openssl-build" +SRCREV_openssl-build = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/openssl-build" +SRCREV_FORMAT .= "_openssl-sys2" +SRCREV_openssl-sys2 = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/openssl-sys2" +SRCREV_FORMAT .= "_openssl2" +SRCREV_openssl2 = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/openssl2" +SRCREV_FORMAT .= "_pkcs11" +SRCREV_pkcs11 = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/pkcs11" +SRCREV_FORMAT .= "_pkcs11-sys" +SRCREV_pkcs11-sys = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/pkcs11-sys" +SRCREV_FORMAT .= "_test-common" +SRCREV_test-common = "main" +EXTRA_OECARGO_PATHS += "${WORKDIR}/test-common" + +# FIXME: update generateme with the real MD5 of the license file +LIC_FILES_CHKSUM = " \ + file://MIT;md5=generateme \ +" + +SUMMARY = "The aziot-edged is the IoT edge daemon." +HOMEPAGE = "https://github.com/azure/iotedge" +LICENSE = "MIT" + +# includes this file if it exists but does not fail +# this is useful for anything you may want to override from +# what cargo-bitbake generates. +include aziot-edged-${PV}.inc +include aziot-edged.inc diff --git a/recipes-core/aziot-idenitityd/aziot-certd.service b/recipes-core/aziot-idenitityd/aziot-certd.service new file mode 100644 index 0000000..8427605 --- /dev/null +++ b/recipes-core/aziot-idenitityd/aziot-certd.service @@ -0,0 +1,15 @@ +[Unit] +Description=Azure IoT Certificates Service +Requires=aziot-certd.socket +After=aziot-certd.socket + +[Service] +Environment="LD_LIBRARY_PATH=@private-libs@" +ExecStart=@libexecdir@/aziot-identity-service/aziot-certd +KillMode=process +Restart=on-failure +RestartSec=5s +User=aziotcs + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/recipes-core/aziot-idenitityd/aziot-identityd.service b/recipes-core/aziot-idenitityd/aziot-identityd.service new file mode 100644 index 0000000..a54ff1f --- /dev/null +++ b/recipes-core/aziot-idenitityd/aziot-identityd.service @@ -0,0 +1,15 @@ +[Unit] +Description=Azure IoT Identity Service +Requires=aziot-identityd.socket +After=aziot-identityd.socket + +[Service] +Environment="LD_LIBRARY_PATH=@private-libs@" +ExecStart=@libexecdir@/aziot-identity-service/aziot-identityd +KillMode=process +Restart=on-failure +RestartSec=5s +User=aziotid + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/recipes-core/aziot-idenitityd/aziot-keyd.service b/recipes-core/aziot-idenitityd/aziot-keyd.service new file mode 100644 index 0000000..cf66c34 --- /dev/null +++ b/recipes-core/aziot-idenitityd/aziot-keyd.service @@ -0,0 +1,15 @@ +[Unit] +Description=Azure IoT Keys Service +Requires=aziot-keyd.socket +After=aziot-keyd.socket + +[Service] +Environment="LD_LIBRARY_PATH=@private-libs@" +ExecStart=@libexecdir@/aziot-identity-service/aziot-keyd +KillMode=process +Restart=on-failure +RestartSec=5s +User=aziotks + +[Install] +WantedBy=multi-user.target diff --git a/recipes-core/aziot-idenitityd/aziot-tpmd.service b/recipes-core/aziot-idenitityd/aziot-tpmd.service new file mode 100644 index 0000000..8427605 --- /dev/null +++ b/recipes-core/aziot-idenitityd/aziot-tpmd.service @@ -0,0 +1,15 @@ +[Unit] +Description=Azure IoT Certificates Service +Requires=aziot-certd.socket +After=aziot-certd.socket + +[Service] +Environment="LD_LIBRARY_PATH=@private-libs@" +ExecStart=@libexecdir@/aziot-identity-service/aziot-certd +KillMode=process +Restart=on-failure +RestartSec=5s +User=aziotcs + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/recipes-core/aziot-idenitityd/aziotd/aziotd 1.4.0.inc b/recipes-core/aziot-idenitityd/aziotd/aziotd 1.4.0.inc new file mode 100644 index 0000000..5743a39 --- /dev/null +++ b/recipes-core/aziot-idenitityd/aziotd/aziotd 1.4.0.inc @@ -0,0 +1 @@ +export VERSION = "1.4.0" \ No newline at end of file diff --git a/recipes-core/aziot-idenitityd/aziotd/aziotd.inc b/recipes-core/aziot-idenitityd/aziotd/aziotd.inc new file mode 100644 index 0000000..0f846ae --- /dev/null +++ b/recipes-core/aziot-idenitityd/aziotd/aziotd.inc @@ -0,0 +1,67 @@ +DEPENDS += "openssl virtual/docker aziot-keys aziotctl" +RDEPENDS_${PN} += "docker aziot-keys aziotctl" + +inherit systemd + +SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${PN}', '', d)}" +SYSTEMD_AUTO_ENABLE_${PN} = "enable" +SYSTEMD_SERVICE_${PN} = "aziot-certd.service " +SYSTEMD_SERVICE_${PN} += "aziot-identityd.service " +SYSTEMD_SERVICE_${PN} += "aziot-keyd.service " +SYSTEMD_SERVICE_${PN} += "aziot-tpmd.service " + +SRC_URI += "file://aziot-certd.service \ + file://aziot-identityd.service \ + file://aziot-keyd.service \ + file://aziot-tpmd.service \ +" + +do_install () { + # Binaries + install -d "${D}${bindir}" + install -m 755 "${WORKDIR}/build/target/${TARGET_SYS}/release/aziotd" ${D}${bindir}/aziotd + install -d ${D}${systemd_unitdir}/system + + # Create symbolic links + ln -s ${bindir}/aziotd ${D}${bindir}/aziot-certd + ln -s ${bindir}/aziotd ${D}${bindir}/aziot-identityd + ln -s ${bindir}/aziotd ${D}${bindir}/aziot-keyd + ln -s ${bindir}/aziotd ${D}${bindir}/aziot-tpmd + + # Install all folders + install -d "${D}${sysconfdir}/aziot" + install -d -m 0700 ${D}${sysconfdir}/aziot/certd/config.d + install -d -m 0700 ${D}${sysconfdir}/aziot/identityd/config.d + install -d -m 0700 ${D}${sysconfdir}/aziot/keyd/config.d + install -d -m 0700 ${D}${sysconfdir}/aziot/tpmd/config.d + + # Configuration files + install -m 644 ${WORKDIR}/git/cert/aziot-certd/config/unix/default.toml ${D}${sysconfdir}/aziot/certd/config.toml.default + install -m 644 ${WORKDIR}/git/identity/aziot-identityd/config/unix/default.toml ${D}${sysconfdir}/aziot/identityd/config.toml.default + install -m 644 ${WORKDIR}/git/key/aziot-keyd/config/unix/default.toml ${D}${sysconfdir}/aziot/keyd/config.toml.default + install -m 644 ${WORKDIR}/git/tpm/aziot-tpmd/config/unix/default.toml ${D}${sysconfdir}/aziot/tpmd/config.toml.default + install -m 644 ${WORKDIR}/git/aziotctl/config/unix/template.toml ${D}${sysconfdir}/aziot/config.toml.template + + # Install all required services + install -m 644 ${WORKDIR}/aziot-certd.service ${D}${systemd_unitdir}/system + install -m 644 ${WORKDIR}/git/cert/aziot-certd/aziot-certd.socket ${D}${systemd_unitdir}/system + install -m 644 ${WORKDIR}/aziot-identityd.service ${D}${systemd_unitdir}/system + install -m 644 ${WORKDIR}/git/identity/aziot-identityd/aziot-identityd.socket ${D}${systemd_unitdir}/system + install -m 644 ${WORKDIR}/aziot-keyd.service ${D}${systemd_unitdir}/system + install -m 644 ${WORKDIR}/git/key/aziot-keyd/aziot-keyd.socket ${D}${systemd_unitdir}/system + install -m 644 ${WORKDIR}/aziot-tpmd.service ${D}${systemd_unitdir}/system + install -m 644 ${WORKDIR}/git/tpm/aziot-tpmd/aziot-tpmd.socket ${D}${systemd_unitdir}/system +} + +inherit useradd +USERADD_PACKAGES = "${PN}" +USERADD_PARAM_${PN} = "-r -s /bin/false aziotid; " +USERADD_PARAM_${PN} += "-r -s /bin/false aziotcs; " +USERADD_PARAM_${PN} += "-r -s /bin/false aziotks; " +USERADD_PARAM_${PN} += "-r -s /bin/false aziottpm; " + +FILES_${PN} += " \ + ${systemd_unitdir}/system/* \ + ${bindir}/aziot-* \ + ${localstatedir}/lib/aziotid \ + " \ No newline at end of file diff --git a/recipes-core/aziot-idenitityd/aziotd/aziotd_1.4.0.bb b/recipes-core/aziot-idenitityd/aziotd/aziotd_1.4.0.bb new file mode 100644 index 0000000..f59b749 --- /dev/null +++ b/recipes-core/aziot-idenitityd/aziotd/aziotd_1.4.0.bb @@ -0,0 +1,256 @@ +# Auto-Generated by cargo-bitbake 0.3.16 +# +inherit cargo + +# If this is git based prefer versioned ones if they exist +# DEFAULT_PREFERENCE = "-1" + +# how to get aziotd could be as easy as but default to a git checkout: +# SRC_URI += "crate://crates.io/aziotd/1.4.0" +SRC_URI += "gitsm://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;branch=main" +SRCREV = "d966a2227f3de42e5324db93786c572b203da605" +S = "${WORKDIR}/git" +CARGO_SRC_DIR = "aziotd" +PV:append = ".AUTOINC+d966a2227f" + +# please note if you have entries that do not begin with crate:// +# you must change them to how that package can be fetched +SRC_URI += " \ + crate://crates.io/addr2line/0.17.0 \ + crate://crates.io/adler/1.0.2 \ + crate://crates.io/aho-corasick/0.7.18 \ + crate://crates.io/ansi_term/0.12.1 \ + crate://crates.io/anyhow/1.0.60 \ + crate://crates.io/async-recursion/1.0.0 \ + crate://crates.io/async-trait/0.1.57 \ + crate://crates.io/atty/0.2.14 \ + crate://crates.io/autocfg/1.1.0 \ + crate://crates.io/backtrace/0.3.66 \ + crate://crates.io/base64/0.13.0 \ + crate://crates.io/bindgen/0.60.1 \ + crate://crates.io/bitflags/1.3.2 \ + crate://crates.io/block-buffer/0.10.2 \ + crate://crates.io/block-buffer/0.9.0 \ + crate://crates.io/bumpalo/3.10.0 \ + crate://crates.io/byte-unit/4.0.14 \ + crate://crates.io/bytes/1.2.1 \ + crate://crates.io/cc/1.0.73 \ + crate://crates.io/cexpr/0.6.0 \ + crate://crates.io/cfg-if/0.1.10 \ + crate://crates.io/cfg-if/1.0.0 \ + crate://crates.io/chrono/0.4.20 \ + crate://crates.io/clang-sys/1.3.3 \ + crate://crates.io/clap/2.34.0 \ + crate://crates.io/colored/2.0.0 \ + crate://crates.io/core-foundation-sys/0.8.3 \ + crate://crates.io/cpufeatures/0.2.2 \ + crate://crates.io/crossbeam-channel/0.5.6 \ + crate://crates.io/crossbeam-deque/0.8.2 \ + crate://crates.io/crossbeam-epoch/0.9.10 \ + crate://crates.io/crossbeam-utils/0.8.11 \ + crate://crates.io/crypto-common/0.1.6 \ + crate://crates.io/crypto-mac/0.8.0 \ + crate://crates.io/darling/0.14.1 \ + crate://crates.io/darling_core/0.14.1 \ + crate://crates.io/darling_macro/0.14.1 \ + crate://crates.io/digest/0.10.3 \ + crate://crates.io/digest/0.9.0 \ + crate://crates.io/doc-comment/0.3.3 \ + crate://crates.io/either/1.7.0 \ + crate://crates.io/env_logger/0.9.0 \ + crate://crates.io/erased-serde/0.3.22 \ + crate://crates.io/filetime/0.2.17 \ + crate://crates.io/fnv/1.0.7 \ + crate://crates.io/foreign-types-shared/0.1.1 \ + crate://crates.io/foreign-types/0.3.2 \ + crate://crates.io/form_urlencoded/1.0.1 \ + crate://crates.io/fsevent-sys/2.0.1 \ + crate://crates.io/fsevent/0.4.0 \ + crate://crates.io/fuchsia-zircon-sys/0.3.3 \ + crate://crates.io/fuchsia-zircon/0.3.3 \ + crate://crates.io/futures-channel/0.3.21 \ + crate://crates.io/futures-core/0.3.21 \ + crate://crates.io/futures-executor/0.3.21 \ + crate://crates.io/futures-io/0.3.21 \ + crate://crates.io/futures-macro/0.3.21 \ + crate://crates.io/futures-sink/0.3.21 \ + crate://crates.io/futures-task/0.3.21 \ + crate://crates.io/futures-util/0.3.21 \ + crate://crates.io/futures/0.3.21 \ + crate://crates.io/generic-array/0.14.6 \ + crate://crates.io/getrandom/0.2.7 \ + crate://crates.io/gimli/0.26.2 \ + crate://crates.io/glob/0.3.0 \ + crate://crates.io/h2/0.3.13 \ + crate://crates.io/hashbrown/0.12.3 \ + crate://crates.io/headers-core/0.2.0 \ + crate://crates.io/headers/0.3.7 \ + crate://crates.io/heck/0.3.3 \ + crate://crates.io/hermit-abi/0.1.19 \ + crate://crates.io/hex/0.4.3 \ + crate://crates.io/hmac/0.8.1 \ + crate://crates.io/http-body/0.4.5 \ + crate://crates.io/http/0.2.8 \ + crate://crates.io/httparse/1.7.1 \ + crate://crates.io/httpdate/1.0.2 \ + crate://crates.io/humantime/2.1.0 \ + crate://crates.io/hyper-openssl/0.9.2 \ + crate://crates.io/hyper-proxy/0.9.1 \ + crate://crates.io/hyper/0.14.20 \ + crate://crates.io/ident_case/1.0.1 \ + crate://crates.io/idna/0.2.3 \ + crate://crates.io/indexmap/1.9.1 \ + crate://crates.io/inotify-sys/0.1.5 \ + crate://crates.io/inotify/0.7.1 \ + crate://crates.io/iovec/0.1.4 \ + crate://crates.io/itertools/0.8.2 \ + crate://crates.io/itoa/1.0.3 \ + crate://crates.io/js-sys/0.3.59 \ + crate://crates.io/kernel32-sys/0.2.2 \ + crate://crates.io/lazy_static/1.4.0 \ + crate://crates.io/lazycell/1.3.0 \ + crate://crates.io/libc/0.2.127 \ + crate://crates.io/libloading/0.7.3 \ + crate://crates.io/linked-hash-map/0.5.6 \ + crate://crates.io/linked_hash_set/0.1.4 \ + crate://crates.io/lock_api/0.4.7 \ + crate://crates.io/log/0.4.17 \ + crate://crates.io/matches/0.1.9 \ + crate://crates.io/memchr/2.5.0 \ + crate://crates.io/memoffset/0.6.5 \ + crate://crates.io/mime/0.3.16 \ + crate://crates.io/minimal-lexical/0.2.1 \ + crate://crates.io/miniz_oxide/0.5.3 \ + crate://crates.io/mio-extras/2.0.6 \ + crate://crates.io/mio/0.6.23 \ + crate://crates.io/mio/0.8.4 \ + crate://crates.io/miow/0.2.2 \ + crate://crates.io/net2/0.2.37 \ + crate://crates.io/nix/0.24.2 \ + crate://crates.io/nom/7.1.1 \ + crate://crates.io/notify/4.0.17 \ + crate://crates.io/ntapi/0.3.7 \ + crate://crates.io/num-integer/0.1.45 \ + crate://crates.io/num-traits/0.2.15 \ + crate://crates.io/num_cpus/1.13.1 \ + crate://crates.io/num_threads/0.1.6 \ + crate://crates.io/object/0.29.0 \ + crate://crates.io/once_cell/1.13.0 \ + crate://crates.io/opaque-debug/0.3.0 \ + crate://crates.io/openssl-errors/0.1.0 \ + crate://crates.io/openssl-macros/0.1.0 \ + crate://crates.io/openssl-sys/0.9.75 \ + crate://crates.io/openssl/0.10.41 \ + crate://crates.io/parking_lot/0.12.1 \ + crate://crates.io/parking_lot_core/0.9.3 \ + crate://crates.io/paste/1.0.8 \ + crate://crates.io/peeking_take_while/0.1.2 \ + crate://crates.io/percent-encoding/2.1.0 \ + crate://crates.io/pin-project-lite/0.2.9 \ + crate://crates.io/pin-utils/0.1.0 \ + crate://crates.io/pkg-config/0.3.25 \ + crate://crates.io/proc-macro-error-attr/1.0.4 \ + crate://crates.io/proc-macro-error/1.0.4 \ + crate://crates.io/proc-macro2/1.0.43 \ + crate://crates.io/quote/1.0.21 \ + crate://crates.io/rayon-core/1.9.3 \ + crate://crates.io/rayon/1.5.3 \ + crate://crates.io/redox_syscall/0.2.16 \ + crate://crates.io/regex-syntax/0.6.27 \ + crate://crates.io/regex/1.6.0 \ + crate://crates.io/rustc-demangle/0.1.21 \ + crate://crates.io/rustc-hash/1.1.0 \ + crate://crates.io/rustversion/1.0.9 \ + crate://crates.io/ryu/1.0.11 \ + crate://crates.io/same-file/1.0.6 \ + crate://crates.io/scopeguard/1.1.0 \ + crate://crates.io/serde/1.0.142 \ + crate://crates.io/serde_derive/1.0.142 \ + crate://crates.io/serde_json/1.0.83 \ + crate://crates.io/serde_with/2.0.0 \ + crate://crates.io/serde_with_macros/2.0.0 \ + crate://crates.io/serial_test/0.8.0 \ + crate://crates.io/serial_test_derive/0.8.0 \ + crate://crates.io/sha-1/0.10.0 \ + crate://crates.io/sha2/0.9.9 \ + crate://crates.io/shlex/1.1.0 \ + crate://crates.io/slab/0.4.7 \ + crate://crates.io/smallvec/1.9.0 \ + crate://crates.io/socket2/0.4.4 \ + crate://crates.io/strsim/0.10.0 \ + crate://crates.io/strsim/0.8.0 \ + crate://crates.io/structopt-derive/0.4.18 \ + crate://crates.io/structopt/0.3.26 \ + crate://crates.io/subtle/2.4.1 \ + crate://crates.io/syn/1.0.99 \ + crate://crates.io/sysinfo/0.15.9 \ + crate://crates.io/termcolor/1.1.3 \ + crate://crates.io/textwrap/0.11.0 \ + crate://crates.io/time/0.1.44 \ + crate://crates.io/time/0.3.13 \ + crate://crates.io/tinyvec/1.6.0 \ + crate://crates.io/tinyvec_macros/0.1.0 \ + crate://crates.io/tokio-macros/1.8.0 \ + crate://crates.io/tokio-openssl/0.6.3 \ + crate://crates.io/tokio-util/0.7.3 \ + crate://crates.io/tokio/1.20.1 \ + crate://crates.io/toml/0.5.9 \ + crate://crates.io/tower-layer/0.3.1 \ + crate://crates.io/tower-service/0.3.2 \ + crate://crates.io/tracing-attributes/0.1.22 \ + crate://crates.io/tracing-core/0.1.29 \ + crate://crates.io/tracing/0.1.36 \ + crate://crates.io/try-lock/0.2.3 \ + crate://crates.io/typenum/1.15.0 \ + crate://crates.io/unicode-bidi/0.3.8 \ + crate://crates.io/unicode-ident/1.0.3 \ + crate://crates.io/unicode-normalization/0.1.21 \ + crate://crates.io/unicode-segmentation/1.9.0 \ + crate://crates.io/unicode-width/0.1.9 \ + crate://crates.io/url/2.2.2 \ + crate://crates.io/utf8-width/0.1.6 \ + crate://crates.io/uuid/1.1.2 \ + crate://crates.io/vcpkg/0.2.15 \ + crate://crates.io/vec_map/0.8.2 \ + crate://crates.io/version_check/0.9.4 \ + crate://crates.io/walkdir/2.3.2 \ + crate://crates.io/want/0.3.0 \ + crate://crates.io/wasi/0.10.0+wasi-snapshot-preview1 \ + crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ + crate://crates.io/wasm-bindgen-backend/0.2.82 \ + crate://crates.io/wasm-bindgen-macro-support/0.2.82 \ + crate://crates.io/wasm-bindgen-macro/0.2.82 \ + crate://crates.io/wasm-bindgen-shared/0.2.82 \ + crate://crates.io/wasm-bindgen/0.2.82 \ + crate://crates.io/wildmatch/2.1.1 \ + crate://crates.io/winapi-build/0.1.1 \ + crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi-util/0.1.5 \ + crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi/0.2.8 \ + crate://crates.io/winapi/0.3.9 \ + crate://crates.io/windows-sys/0.36.1 \ + crate://crates.io/windows_aarch64_msvc/0.36.1 \ + crate://crates.io/windows_i686_gnu/0.36.1 \ + crate://crates.io/windows_i686_msvc/0.36.1 \ + crate://crates.io/windows_x86_64_gnu/0.36.1 \ + crate://crates.io/windows_x86_64_msvc/0.36.1 \ + crate://crates.io/ws2_32-sys/0.2.1 \ +" + + + +# FIXME: update generateme with the real MD5 of the license file +LIC_FILES_CHKSUM = " \ + file://MIT;md5=generateme \ +" + +SUMMARY = "The iotedge tool is used to manage the IoT Edge runtime." +HOMEPAGE = "https://github.com/azure/iot-identity-service" +LICENSE = "MIT" + +# includes this file if it exists but does not fail +# this is useful for anything you may want to override from +# what cargo-bitbake generates. +include aziotd-${PV}.inc +include aziotd.inc diff --git a/recipes-core/aziotctl/aziotclt.inc b/recipes-core/aziotctl/aziotclt.inc new file mode 100644 index 0000000..2666195 --- /dev/null +++ b/recipes-core/aziotctl/aziotclt.inc @@ -0,0 +1,8 @@ +DEPENDS += "openssl virtual/docker" +RDEPENDS_${PN} += "docker " + +do_install () { + # Binaries + install -d "${D}${bindir}" + install -m 755 "${WORKDIR}/build/target/${TARGET_SYS}/release/aziotctl" ${D}${bindir}/aziotctl +} \ No newline at end of file diff --git a/recipes-core/aziotctl/aziotctl-1.4.0.bb b/recipes-core/aziotctl/aziotctl-1.4.0.bb new file mode 100644 index 0000000..6513532 --- /dev/null +++ b/recipes-core/aziotctl/aziotctl-1.4.0.bb @@ -0,0 +1,256 @@ +# Auto-Generated by cargo-bitbake 0.3.16 +# +inherit cargo + +# If this is git based prefer versioned ones if they exist +# DEFAULT_PREFERENCE = "-1" + +# how to get aziotctl could be as easy as but default to a git checkout: +# SRC_URI += "crate://crates.io/aziotctl/1.4.0" +SRC_URI += "gitsm://github.com/Azure/iot-identity-service;protocol=https;nobranch=1;branch=main" +SRCREV = "d966a2227f3de42e5324db93786c572b203da605" +S = "${WORKDIR}/git" +CARGO_SRC_DIR = "aziotctl" +PV:append = ".AUTOINC+d966a2227f" + +# please note if you have entries that do not begin with crate:// +# you must change them to how that package can be fetched +SRC_URI += " \ + crate://crates.io/addr2line/0.17.0 \ + crate://crates.io/adler/1.0.2 \ + crate://crates.io/aho-corasick/0.7.18 \ + crate://crates.io/ansi_term/0.12.1 \ + crate://crates.io/anyhow/1.0.60 \ + crate://crates.io/async-recursion/1.0.0 \ + crate://crates.io/async-trait/0.1.57 \ + crate://crates.io/atty/0.2.14 \ + crate://crates.io/autocfg/1.1.0 \ + crate://crates.io/backtrace/0.3.66 \ + crate://crates.io/base64/0.13.0 \ + crate://crates.io/bindgen/0.60.1 \ + crate://crates.io/bitflags/1.3.2 \ + crate://crates.io/block-buffer/0.10.2 \ + crate://crates.io/block-buffer/0.9.0 \ + crate://crates.io/bumpalo/3.10.0 \ + crate://crates.io/byte-unit/4.0.14 \ + crate://crates.io/bytes/1.2.1 \ + crate://crates.io/cc/1.0.73 \ + crate://crates.io/cexpr/0.6.0 \ + crate://crates.io/cfg-if/0.1.10 \ + crate://crates.io/cfg-if/1.0.0 \ + crate://crates.io/chrono/0.4.20 \ + crate://crates.io/clang-sys/1.3.3 \ + crate://crates.io/clap/2.34.0 \ + crate://crates.io/colored/2.0.0 \ + crate://crates.io/core-foundation-sys/0.8.3 \ + crate://crates.io/cpufeatures/0.2.2 \ + crate://crates.io/crossbeam-channel/0.5.6 \ + crate://crates.io/crossbeam-deque/0.8.2 \ + crate://crates.io/crossbeam-epoch/0.9.10 \ + crate://crates.io/crossbeam-utils/0.8.11 \ + crate://crates.io/crypto-common/0.1.6 \ + crate://crates.io/crypto-mac/0.8.0 \ + crate://crates.io/darling/0.14.1 \ + crate://crates.io/darling_core/0.14.1 \ + crate://crates.io/darling_macro/0.14.1 \ + crate://crates.io/digest/0.10.3 \ + crate://crates.io/digest/0.9.0 \ + crate://crates.io/doc-comment/0.3.3 \ + crate://crates.io/either/1.7.0 \ + crate://crates.io/env_logger/0.9.0 \ + crate://crates.io/erased-serde/0.3.22 \ + crate://crates.io/filetime/0.2.17 \ + crate://crates.io/fnv/1.0.7 \ + crate://crates.io/foreign-types-shared/0.1.1 \ + crate://crates.io/foreign-types/0.3.2 \ + crate://crates.io/form_urlencoded/1.0.1 \ + crate://crates.io/fsevent-sys/2.0.1 \ + crate://crates.io/fsevent/0.4.0 \ + crate://crates.io/fuchsia-zircon-sys/0.3.3 \ + crate://crates.io/fuchsia-zircon/0.3.3 \ + crate://crates.io/futures-channel/0.3.21 \ + crate://crates.io/futures-core/0.3.21 \ + crate://crates.io/futures-executor/0.3.21 \ + crate://crates.io/futures-io/0.3.21 \ + crate://crates.io/futures-macro/0.3.21 \ + crate://crates.io/futures-sink/0.3.21 \ + crate://crates.io/futures-task/0.3.21 \ + crate://crates.io/futures-util/0.3.21 \ + crate://crates.io/futures/0.3.21 \ + crate://crates.io/generic-array/0.14.6 \ + crate://crates.io/getrandom/0.2.7 \ + crate://crates.io/gimli/0.26.2 \ + crate://crates.io/glob/0.3.0 \ + crate://crates.io/h2/0.3.13 \ + crate://crates.io/hashbrown/0.12.3 \ + crate://crates.io/headers-core/0.2.0 \ + crate://crates.io/headers/0.3.7 \ + crate://crates.io/heck/0.3.3 \ + crate://crates.io/hermit-abi/0.1.19 \ + crate://crates.io/hex/0.4.3 \ + crate://crates.io/hmac/0.8.1 \ + crate://crates.io/http-body/0.4.5 \ + crate://crates.io/http/0.2.8 \ + crate://crates.io/httparse/1.7.1 \ + crate://crates.io/httpdate/1.0.2 \ + crate://crates.io/humantime/2.1.0 \ + crate://crates.io/hyper-openssl/0.9.2 \ + crate://crates.io/hyper-proxy/0.9.1 \ + crate://crates.io/hyper/0.14.20 \ + crate://crates.io/ident_case/1.0.1 \ + crate://crates.io/idna/0.2.3 \ + crate://crates.io/indexmap/1.9.1 \ + crate://crates.io/inotify-sys/0.1.5 \ + crate://crates.io/inotify/0.7.1 \ + crate://crates.io/iovec/0.1.4 \ + crate://crates.io/itertools/0.8.2 \ + crate://crates.io/itoa/1.0.3 \ + crate://crates.io/js-sys/0.3.59 \ + crate://crates.io/kernel32-sys/0.2.2 \ + crate://crates.io/lazy_static/1.4.0 \ + crate://crates.io/lazycell/1.3.0 \ + crate://crates.io/libc/0.2.127 \ + crate://crates.io/libloading/0.7.3 \ + crate://crates.io/linked-hash-map/0.5.6 \ + crate://crates.io/linked_hash_set/0.1.4 \ + crate://crates.io/lock_api/0.4.7 \ + crate://crates.io/log/0.4.17 \ + crate://crates.io/matches/0.1.9 \ + crate://crates.io/memchr/2.5.0 \ + crate://crates.io/memoffset/0.6.5 \ + crate://crates.io/mime/0.3.16 \ + crate://crates.io/minimal-lexical/0.2.1 \ + crate://crates.io/miniz_oxide/0.5.3 \ + crate://crates.io/mio-extras/2.0.6 \ + crate://crates.io/mio/0.6.23 \ + crate://crates.io/mio/0.8.4 \ + crate://crates.io/miow/0.2.2 \ + crate://crates.io/net2/0.2.37 \ + crate://crates.io/nix/0.24.2 \ + crate://crates.io/nom/7.1.1 \ + crate://crates.io/notify/4.0.17 \ + crate://crates.io/ntapi/0.3.7 \ + crate://crates.io/num-integer/0.1.45 \ + crate://crates.io/num-traits/0.2.15 \ + crate://crates.io/num_cpus/1.13.1 \ + crate://crates.io/num_threads/0.1.6 \ + crate://crates.io/object/0.29.0 \ + crate://crates.io/once_cell/1.13.0 \ + crate://crates.io/opaque-debug/0.3.0 \ + crate://crates.io/openssl-errors/0.1.0 \ + crate://crates.io/openssl-macros/0.1.0 \ + crate://crates.io/openssl-sys/0.9.75 \ + crate://crates.io/openssl/0.10.41 \ + crate://crates.io/parking_lot/0.12.1 \ + crate://crates.io/parking_lot_core/0.9.3 \ + crate://crates.io/paste/1.0.8 \ + crate://crates.io/peeking_take_while/0.1.2 \ + crate://crates.io/percent-encoding/2.1.0 \ + crate://crates.io/pin-project-lite/0.2.9 \ + crate://crates.io/pin-utils/0.1.0 \ + crate://crates.io/pkg-config/0.3.25 \ + crate://crates.io/proc-macro-error-attr/1.0.4 \ + crate://crates.io/proc-macro-error/1.0.4 \ + crate://crates.io/proc-macro2/1.0.43 \ + crate://crates.io/quote/1.0.21 \ + crate://crates.io/rayon-core/1.9.3 \ + crate://crates.io/rayon/1.5.3 \ + crate://crates.io/redox_syscall/0.2.16 \ + crate://crates.io/regex-syntax/0.6.27 \ + crate://crates.io/regex/1.6.0 \ + crate://crates.io/rustc-demangle/0.1.21 \ + crate://crates.io/rustc-hash/1.1.0 \ + crate://crates.io/rustversion/1.0.9 \ + crate://crates.io/ryu/1.0.11 \ + crate://crates.io/same-file/1.0.6 \ + crate://crates.io/scopeguard/1.1.0 \ + crate://crates.io/serde/1.0.142 \ + crate://crates.io/serde_derive/1.0.142 \ + crate://crates.io/serde_json/1.0.83 \ + crate://crates.io/serde_with/2.0.0 \ + crate://crates.io/serde_with_macros/2.0.0 \ + crate://crates.io/serial_test/0.8.0 \ + crate://crates.io/serial_test_derive/0.8.0 \ + crate://crates.io/sha-1/0.10.0 \ + crate://crates.io/sha2/0.9.9 \ + crate://crates.io/shlex/1.1.0 \ + crate://crates.io/slab/0.4.7 \ + crate://crates.io/smallvec/1.9.0 \ + crate://crates.io/socket2/0.4.4 \ + crate://crates.io/strsim/0.10.0 \ + crate://crates.io/strsim/0.8.0 \ + crate://crates.io/structopt-derive/0.4.18 \ + crate://crates.io/structopt/0.3.26 \ + crate://crates.io/subtle/2.4.1 \ + crate://crates.io/syn/1.0.99 \ + crate://crates.io/sysinfo/0.15.9 \ + crate://crates.io/termcolor/1.1.3 \ + crate://crates.io/textwrap/0.11.0 \ + crate://crates.io/time/0.1.44 \ + crate://crates.io/time/0.3.13 \ + crate://crates.io/tinyvec/1.6.0 \ + crate://crates.io/tinyvec_macros/0.1.0 \ + crate://crates.io/tokio-macros/1.8.0 \ + crate://crates.io/tokio-openssl/0.6.3 \ + crate://crates.io/tokio-util/0.7.3 \ + crate://crates.io/tokio/1.20.1 \ + crate://crates.io/toml/0.5.9 \ + crate://crates.io/tower-layer/0.3.1 \ + crate://crates.io/tower-service/0.3.2 \ + crate://crates.io/tracing-attributes/0.1.22 \ + crate://crates.io/tracing-core/0.1.29 \ + crate://crates.io/tracing/0.1.36 \ + crate://crates.io/try-lock/0.2.3 \ + crate://crates.io/typenum/1.15.0 \ + crate://crates.io/unicode-bidi/0.3.8 \ + crate://crates.io/unicode-ident/1.0.3 \ + crate://crates.io/unicode-normalization/0.1.21 \ + crate://crates.io/unicode-segmentation/1.9.0 \ + crate://crates.io/unicode-width/0.1.9 \ + crate://crates.io/url/2.2.2 \ + crate://crates.io/utf8-width/0.1.6 \ + crate://crates.io/uuid/1.1.2 \ + crate://crates.io/vcpkg/0.2.15 \ + crate://crates.io/vec_map/0.8.2 \ + crate://crates.io/version_check/0.9.4 \ + crate://crates.io/walkdir/2.3.2 \ + crate://crates.io/want/0.3.0 \ + crate://crates.io/wasi/0.10.0+wasi-snapshot-preview1 \ + crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ + crate://crates.io/wasm-bindgen-backend/0.2.82 \ + crate://crates.io/wasm-bindgen-macro-support/0.2.82 \ + crate://crates.io/wasm-bindgen-macro/0.2.82 \ + crate://crates.io/wasm-bindgen-shared/0.2.82 \ + crate://crates.io/wasm-bindgen/0.2.82 \ + crate://crates.io/wildmatch/2.1.1 \ + crate://crates.io/winapi-build/0.1.1 \ + crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi-util/0.1.5 \ + crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi/0.2.8 \ + crate://crates.io/winapi/0.3.9 \ + crate://crates.io/windows-sys/0.36.1 \ + crate://crates.io/windows_aarch64_msvc/0.36.1 \ + crate://crates.io/windows_i686_gnu/0.36.1 \ + crate://crates.io/windows_i686_msvc/0.36.1 \ + crate://crates.io/windows_x86_64_gnu/0.36.1 \ + crate://crates.io/windows_x86_64_msvc/0.36.1 \ + crate://crates.io/ws2_32-sys/0.2.1 \ +" + + + +# FIXME: update generateme with the real MD5 of the license file +LIC_FILES_CHKSUM = " \ + file://MIT;md5=generateme \ +" + +SUMMARY = "The aziotctl tool is used for IoT identity service" +HOMEPAGE = "https://github.com/azure/iot-identity-service" +LICENSE = "MIT" + +# includes this file if it exists but does not fail +# this is useful for anything you may want to override from +# what cargo-bitbake generates. +include aziotctl-${PV}.inc +include aziotctl.inc diff --git a/recipes-core/aziotctl/aziotctl-1.4.0.inc b/recipes-core/aziotctl/aziotctl-1.4.0.inc new file mode 100644 index 0000000..2bb584a --- /dev/null +++ b/recipes-core/aziotctl/aziotctl-1.4.0.inc @@ -0,0 +1 @@ +export VERSION = "1.4.0" diff --git a/recipes-core/iotedge-cli/iotedge-cli-1.1.15.inc b/recipes-core/iotedge-cli/iotedge-cli-1.1.15.inc deleted file mode 100644 index eb768ac..0000000 --- a/recipes-core/iotedge-cli/iotedge-cli-1.1.15.inc +++ /dev/null @@ -1 +0,0 @@ -export VERSION = "1.1.15" diff --git a/recipes-core/iotedge-cli/iotedge-cli.inc b/recipes-core/iotedge-cli/iotedge-cli.inc deleted file mode 100644 index ce85f3a..0000000 --- a/recipes-core/iotedge-cli/iotedge-cli.inc +++ /dev/null @@ -1,12 +0,0 @@ -DEPENDS += "openssl virtual/libiothsm" -RDEPENDS_${PN} += "virtual/libiothsm" - -export OPENSSL_DIR = "${STAGING_EXECPREFIXDIR}" -export LIBIOTHSM_NOBUILD="On" - -do_install () { - # Binaries - install -d "${D}${bindir}" - install -m 755 "${WORKDIR}/iotedge-${PV}/target/${CARGO_TARGET_SUBDIR}/iotedge" ${D}${bindir}/iotedge -} - diff --git a/recipes-core/iotedge-cli/iotedge-cli_1.1.15.bb b/recipes-core/iotedge-cli/iotedge-cli_1.1.15.bb deleted file mode 100644 index ead923b..0000000 --- a/recipes-core/iotedge-cli/iotedge-cli_1.1.15.bb +++ /dev/null @@ -1,277 +0,0 @@ -inherit cargo - -SRC_URI += "https://github.com/Azure/azure-iotedge/releases/download/${PV}/iotedge-${PV}.tar.gz" -SRC_URI[md5sum]="69181ab2beff8cdc259269b29e74aa3e" -SRC_URI[sha256sum]="1a18e765867370dc953c7c241a680a25511efa0b2ad464de27b1d1e6aebe962b" - -S = "${WORKDIR}/iotedge-${PV}/iotedge" - -# -# Start of section -# Auto-Generated by cargo-bitbake 0.3.15 -# - -# please note if you have entries that do not begin with crate:// -# you must change them to how that package can be fetched -SRC_URI += " \ - crate://crates.io/adler32/1.0.4 \ - crate://crates.io/aho-corasick/0.7.18 \ - crate://crates.io/ansi_term/0.11.0 \ - crate://crates.io/argon2rs/0.2.5 \ - crate://crates.io/arrayref/0.3.4 \ - crate://crates.io/arrayvec/0.4.7 \ - crate://crates.io/assert_matches/1.5.0 \ - crate://crates.io/atty/0.2.10 \ - crate://crates.io/autocfg/1.0.1 \ - crate://crates.io/backtrace-sys/0.1.31 \ - crate://crates.io/backtrace/0.3.34 \ - crate://crates.io/base64/0.10.1 \ - crate://crates.io/base64/0.11.0 \ - crate://crates.io/base64/0.9.1 \ - crate://crates.io/bitflags/1.0.3 \ - crate://crates.io/blake2-rfc/0.2.18 \ - crate://crates.io/block-buffer/0.3.3 \ - crate://crates.io/byte-tools/0.2.0 \ - crate://crates.io/byte-unit/3.0.3 \ - crate://crates.io/byteorder/1.3.1 \ - crate://crates.io/bytes/0.4.12 \ - crate://crates.io/bytes/0.5.4 \ - crate://crates.io/bytes/1.0.1 \ - crate://crates.io/bzip2-sys/0.1.11+1.0.8 \ - crate://crates.io/bzip2/0.4.3 \ - crate://crates.io/c2-chacha/0.2.2 \ - crate://crates.io/cc/1.0.37 \ - crate://crates.io/cfg-if/0.1.9 \ - crate://crates.io/cfg-if/1.0.0 \ - crate://crates.io/chrono-humanize/0.0.11 \ - crate://crates.io/chrono/0.4.9 \ - crate://crates.io/clap/2.31.2 \ - crate://crates.io/cloudabi/0.0.3 \ - crate://crates.io/cmake/0.1.40 \ - crate://crates.io/config/0.9.3 \ - crate://crates.io/consistenttime/0.2.0 \ - crate://crates.io/constant_time_eq/0.1.3 \ - crate://crates.io/core-foundation-sys/0.5.1 \ - crate://crates.io/core-foundation/0.5.1 \ - crate://crates.io/crc32fast/1.2.0 \ - crate://crates.io/crossbeam-channel/0.4.4 \ - crate://crates.io/crossbeam-deque/0.7.4 \ - crate://crates.io/crossbeam-epoch/0.8.2 \ - crate://crates.io/crossbeam-queue/0.2.3 \ - crate://crates.io/crossbeam-utils/0.7.2 \ - crate://crates.io/crypto-mac/0.5.2 \ - crate://crates.io/digest/0.7.2 \ - crate://crates.io/dirs/1.0.4 \ - crate://crates.io/doc-comment/0.3.1 \ - crate://crates.io/dtoa/0.4.2 \ - crate://crates.io/either/1.5.3 \ - crate://crates.io/env_logger/0.9.0 \ - crate://crates.io/error-chain/0.11.0 \ - crate://crates.io/failure/0.1.8 \ - crate://crates.io/failure_derive/0.1.8 \ - crate://crates.io/fake-simd/0.1.2 \ - crate://crates.io/flate2/1.0.11 \ - crate://crates.io/fnv/1.0.6 \ - crate://crates.io/foreign-types-shared/0.1.1 \ - crate://crates.io/foreign-types/0.3.2 \ - crate://crates.io/fuchsia-zircon-sys/0.3.3 \ - crate://crates.io/fuchsia-zircon/0.3.3 \ - crate://crates.io/futures-cpupool/0.1.8 \ - crate://crates.io/futures/0.1.29 \ - crate://crates.io/generic-array/0.9.0 \ - crate://crates.io/getrandom/0.1.6 \ - crate://crates.io/h2/0.1.26 \ - crate://crates.io/hex/0.3.2 \ - crate://crates.io/hmac/0.5.0 \ - crate://crates.io/http-body/0.1.0 \ - crate://crates.io/http/0.1.21 \ - crate://crates.io/http/0.2.4 \ - crate://crates.io/httparse/1.2.4 \ - crate://crates.io/humantime/2.1.0 \ - crate://crates.io/hyper-proxy/0.5.1 \ - crate://crates.io/hyper-tls/0.3.2 \ - crate://crates.io/hyper/0.12.36 \ - crate://crates.io/hyperlocal/0.6.0 \ - crate://crates.io/idna/0.1.4 \ - crate://crates.io/idna/0.2.0 \ - crate://crates.io/indexmap/1.0.1 \ - crate://crates.io/iovec/0.1.2 \ - crate://crates.io/itoa/0.4.1 \ - crate://crates.io/json-patch/0.2.5 \ - crate://crates.io/k8s-openapi/0.7.1 \ - crate://crates.io/kernel32-sys/0.2.2 \ - crate://crates.io/lazy_static/1.4.0 \ - crate://crates.io/lazycell/0.6.0 \ - crate://crates.io/lazycell/1.2.0 \ - crate://crates.io/libc/0.2.66 \ - crate://crates.io/linked-hash-map/0.5.4 \ - crate://crates.io/lock_api/0.3.4 \ - crate://crates.io/log/0.4.14 \ - crate://crates.io/maplit/1.0.1 \ - crate://crates.io/matches/0.1.6 \ - crate://crates.io/maybe-uninit/2.0.0 \ - crate://crates.io/memchr/2.4.1 \ - crate://crates.io/memoffset/0.5.1 \ - crate://crates.io/mime/0.3.5 \ - crate://crates.io/miniz_oxide/0.3.2 \ - crate://crates.io/mio-named-pipes/0.1.6 \ - crate://crates.io/mio-uds/0.6.7 \ - crate://crates.io/mio/0.6.14 \ - crate://crates.io/miow/0.2.1 \ - crate://crates.io/miow/0.3.1 \ - crate://crates.io/native-tls/0.2.1 \ - crate://crates.io/net2/0.2.32 \ - crate://crates.io/nix/0.14.1 \ - crate://crates.io/nodrop/0.1.12 \ - crate://crates.io/nom/4.2.3 \ - crate://crates.io/ntapi/0.3.3 \ - crate://crates.io/num-integer/0.1.44 \ - crate://crates.io/num-traits/0.2.14 \ - crate://crates.io/num_cpus/1.8.0 \ - crate://crates.io/objekt/0.1.2 \ - crate://crates.io/once_cell/1.3.1 \ - crate://crates.io/openssl-probe/0.1.2 \ - crate://crates.io/openssl-sys/0.9.36 \ - crate://crates.io/openssl/0.10.12 \ - crate://crates.io/ordered-float/1.0.2 \ - crate://crates.io/parking_lot/0.9.0 \ - crate://crates.io/parking_lot_core/0.6.2 \ - crate://crates.io/percent-encoding/1.0.1 \ - crate://crates.io/percent-encoding/2.1.0 \ - crate://crates.io/pkg-config/0.3.11 \ - crate://crates.io/ppv-lite86/0.2.5 \ - crate://crates.io/proc-macro2/0.4.19 \ - crate://crates.io/proc-macro2/1.0.6 \ - crate://crates.io/quote/0.6.8 \ - crate://crates.io/quote/1.0.2 \ - crate://crates.io/rand/0.4.2 \ - crate://crates.io/rand/0.5.4 \ - crate://crates.io/rand/0.7.2 \ - crate://crates.io/rand_chacha/0.2.1 \ - crate://crates.io/rand_core/0.2.1 \ - crate://crates.io/rand_core/0.5.1 \ - crate://crates.io/rand_hc/0.2.0 \ - crate://crates.io/rayon-core/1.8.1 \ - crate://crates.io/rayon/1.4.1 \ - crate://crates.io/redox_syscall/0.1.37 \ - crate://crates.io/redox_termios/0.1.1 \ - crate://crates.io/redox_users/0.2.0 \ - crate://crates.io/regex-syntax/0.6.25 \ - crate://crates.io/regex/1.5.5 \ - crate://crates.io/remove_dir_all/0.5.1 \ - crate://crates.io/rustc-demangle/0.1.7 \ - crate://crates.io/rustc_version/0.2.3 \ - crate://crates.io/ryu/0.2.7 \ - crate://crates.io/safemem/0.2.0 \ - crate://crates.io/schannel/0.1.13 \ - crate://crates.io/scoped_threadpool/0.1.9 \ - crate://crates.io/scopeguard/1.0.0 \ - crate://crates.io/security-framework-sys/0.2.1 \ - crate://crates.io/security-framework/0.2.1 \ - crate://crates.io/semver-parser/0.7.0 \ - crate://crates.io/semver/0.9.0 \ - crate://crates.io/serde-value/0.6.0 \ - crate://crates.io/serde/1.0.92 \ - crate://crates.io/serde_derive/1.0.92 \ - crate://crates.io/serde_json/1.0.27 \ - crate://crates.io/serde_yaml/0.8.13 \ - crate://crates.io/sha2/0.7.1 \ - crate://crates.io/signal-hook-registry/1.4.0 \ - crate://crates.io/slab/0.4.1 \ - crate://crates.io/smallvec/0.6.14 \ - crate://crates.io/socket2/0.3.5 \ - crate://crates.io/spin/0.5.2 \ - crate://crates.io/string/0.2.1 \ - crate://crates.io/strsim/0.7.0 \ - crate://crates.io/syn/0.15.36 \ - crate://crates.io/syn/1.0.11 \ - crate://crates.io/synstructure/0.12.5 \ - crate://crates.io/sysinfo/0.14.15 \ - crate://crates.io/tabwriter/1.0.4 \ - crate://crates.io/tempdir/0.3.7 \ - crate://crates.io/tempfile/3.1.0 \ - crate://crates.io/termcolor/0.3.6 \ - crate://crates.io/termcolor/1.1.2 \ - crate://crates.io/termion/1.5.1 \ - crate://crates.io/test-case/0.3.3 \ - crate://crates.io/textwrap/0.9.0 \ - crate://crates.io/thiserror-impl/1.0.21 \ - crate://crates.io/thiserror/1.0.21 \ - crate://crates.io/time/0.1.39 \ - crate://crates.io/tokio-buf/0.1.1 \ - crate://crates.io/tokio-codec/0.1.2 \ - crate://crates.io/tokio-current-thread/0.1.7 \ - crate://crates.io/tokio-executor/0.1.10 \ - crate://crates.io/tokio-fs/0.1.7 \ - crate://crates.io/tokio-io/0.1.13 \ - crate://crates.io/tokio-reactor/0.1.12 \ - crate://crates.io/tokio-signal/0.2.9 \ - crate://crates.io/tokio-sync/0.1.8 \ - crate://crates.io/tokio-tcp/0.1.4 \ - crate://crates.io/tokio-threadpool/0.1.18 \ - crate://crates.io/tokio-timer/0.2.13 \ - crate://crates.io/tokio-tls/0.2.1 \ - crate://crates.io/tokio-udp/0.1.6 \ - crate://crates.io/tokio-uds/0.2.7 \ - crate://crates.io/tokio/0.1.22 \ - crate://crates.io/treediff/3.0.1 \ - crate://crates.io/try-lock/0.2.2 \ - crate://crates.io/typed-headers/0.1.1 \ - crate://crates.io/typenum/1.10.0 \ - crate://crates.io/unicase/2.1.0 \ - crate://crates.io/unicode-bidi/0.3.4 \ - crate://crates.io/unicode-normalization/0.1.5 \ - crate://crates.io/unicode-width/0.1.4 \ - crate://crates.io/unicode-xid/0.1.0 \ - crate://crates.io/unicode-xid/0.2.0 \ - crate://crates.io/url/1.7.2 \ - crate://crates.io/url/2.1.1 \ - crate://crates.io/url_serde/0.2.0 \ - crate://crates.io/vcpkg/0.2.3 \ - crate://crates.io/vec_map/0.8.0 \ - crate://crates.io/version_check/0.1.3 \ - crate://crates.io/version_check/0.9.1 \ - crate://crates.io/void/1.0.2 \ - crate://crates.io/want/0.2.0 \ - crate://crates.io/widestring/0.3.0 \ - crate://crates.io/winapi-build/0.1.1 \ - crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ - crate://crates.io/winapi-util/0.1.5 \ - crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ - crate://crates.io/winapi/0.2.8 \ - crate://crates.io/winapi/0.3.8 \ - crate://crates.io/wincolor/0.1.6 \ - crate://crates.io/windows-service/0.1.0 \ - crate://crates.io/winreg/0.5.1 \ - crate://crates.io/ws2_32-sys/0.2.1 \ - crate://crates.io/yaml-rust/0.4.0 \ - crate://crates.io/zip/0.5.13 \ - git://github.com/Azure/hyperlocal-windows;protocol=https;branch=main;name=hyperlocal-windows;destsuffix=hyperlocal-windows \ - git://github.com/Azure/mio-uds-windows.git;protocol=https;branch=main;name=mio-uds-windows;destsuffix=mio-uds-windows \ - git://github.com/Azure/tokio-uds-windows.git;protocol=https;branch=main;name=tokio-uds-windows;destsuffix=tokio-uds-windows \ -" - -SRCREV_FORMAT .= "_hyperlocal-windows" -SRCREV_hyperlocal-windows = "main" -EXTRA_OECARGO_PATHS += "${WORKDIR}/hyperlocal-windows" -SRCREV_FORMAT .= "_mio-uds-windows" -SRCREV_mio-uds-windows = "main" -EXTRA_OECARGO_PATHS += "${WORKDIR}/mio-uds-windows" -SRCREV_FORMAT .= "_tokio-uds-windows" -SRCREV_tokio-uds-windows = "main" -EXTRA_OECARGO_PATHS += "${WORKDIR}/tokio-uds-windows" -# -# End of section -# Auto-Generated by cargo-bitbake 0.3.15 -# - -LIC_FILES_CHKSUM=" \ -file://../LICENSE;md5=0f7e3b1308cb5c00b372a6e78835732d \ -file://../THIRDPARTYNOTICES;md5=de5e3729dd4cb9a63dbeb45e480d7634 \ -" -SUMMARY = "The iotedge tool is used to manage the IoT Edge runtime." -HOMEPAGE = "https://github.com/Azure/iotedge" -LICENSE = "MIT" - -include iotedge-cli-${PV}.inc -include iotedge-cli.inc diff --git a/recipes-core/iotedge-daemon/files/0001-Add-flag-to-disable-libiothsm-std-build.patch b/recipes-core/iotedge-daemon/files/0001-Add-flag-to-disable-libiothsm-std-build.patch deleted file mode 100644 index 0110d2a..0000000 --- a/recipes-core/iotedge-daemon/files/0001-Add-flag-to-disable-libiothsm-std-build.patch +++ /dev/null @@ -1,39 +0,0 @@ -From b9e3cef10e0362eb9b6d5e210cf7160b1835e309 Mon Sep 17 00:00:00 2001 -From: Mike Yagley -Date: Wed, 8 May 2019 16:54:14 -0700 -Subject: [PATCH] Add flag to disable libiothsm-std build - ---- - edgelet/hsm-sys/build.rs | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -diff --git a/edgelet/hsm-sys/build.rs b/edgelet/hsm-sys/build.rs -index 882c5aec..a207dfaa 100644 ---- a/edgelet/hsm-sys/build.rs -+++ b/edgelet/hsm-sys/build.rs -@@ -72,7 +72,7 @@ impl SetPlatformDefines for Config { - } - } - --fn main() { -+fn build_libiothsm() { - // Clone Azure C -shared library - let c_shared_repo = "azure-iot-hsm-c/deps/c-shared"; - let utpm_repo = "azure-iot-hsm-c/deps/utpm"; -@@ -174,3 +174,13 @@ fn main() { - #[cfg(unix)] - println!("cargo:rustc-link-lib=crypto"); - } -+ -+fn main() { -+ if env::var("LIBIOTHSM_NOBUILD").is_ok() { -+ // libiothsm-std is expected to be built and installed out of band -+ println!("cargo:rustc-link-lib=iothsm"); -+ } else { -+ // build libiothsm-std as part of hsm-sys build -+ build_libiothsm(); -+ } -+} --- -2.17.1 - diff --git a/recipes-core/iotedge-daemon/iotedge-daemon-1.1.15.inc b/recipes-core/iotedge-daemon/iotedge-daemon-1.1.15.inc deleted file mode 100644 index eb768ac..0000000 --- a/recipes-core/iotedge-daemon/iotedge-daemon-1.1.15.inc +++ /dev/null @@ -1 +0,0 @@ -export VERSION = "1.1.15" diff --git a/recipes-core/iotedge-daemon/iotedge-daemon.inc b/recipes-core/iotedge-daemon/iotedge-daemon.inc deleted file mode 100644 index 29f2655..0000000 --- a/recipes-core/iotedge-daemon/iotedge-daemon.inc +++ /dev/null @@ -1,49 +0,0 @@ -DEPENDS += "openssl virtual/docker virtual/libiothsm " -RDEPENDS_${PN} += "virtual/libiothsm docker " -INSANE_SKIP_${PN} += "dev-deps" - -export OPENSSL_DIR = "${STAGING_EXECPREFIXDIR}" -export LIBIOTHSM_NOBUILD="On" - -inherit systemd update-rc.d - -SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${PN}', '', d)}" -SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'iotedge.service', '', d)}" -SYSTEMD_AUTO_ENABLE_${PN} = "enable" - -INITSCRIPT_PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','${PN}','',d)}" -INITSCRIPT_NAME_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','iotedge','',d)}" -INITSCRIPT_PARAMS_${PN} = "defaults" - -do_install () { - # Binaries - install -d "${D}${bindir}" - install -m 755 "${WORKDIR}/iotedge-${PV}/target/${CARGO_TARGET_SUBDIR}/iotedged" ${D}${bindir}/iotedged - - # Config file - install -d "${D}${sysconfdir}/iotedge" - install -m 400 -o iotedge -g iotedge "${WORKDIR}/iotedge-${PV}/contrib/config/linux/debian/config.yaml" ${D}${sysconfdir}/iotedge/config.yaml - - # Data dir - install -d -o iotedge -g iotedge "${D}${localstatedir}/lib/iotedge" - - if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - install -d ${D}${systemd_unitdir}/system - install -m 644 ${WORKDIR}/iotedge-${PV}/contrib/systemd/debian/iotedge.service ${D}${systemd_unitdir}/system - install -m 644 ${WORKDIR}/iotedge-${PV}/contrib/systemd/debian/iotedge.socket ${D}${systemd_unitdir}/system - install -m 644 ${WORKDIR}/iotedge-${PV}/contrib/systemd/debian/iotedge.mgmt.socket ${D}${systemd_unitdir}/system - else - install -d ${D}${sysconfdir}/init.d - install -m 755 ${WORKDIR}/iotedge-${PV}/contrib/debian/iotedge.init ${D}${sysconfdir}/init.d/iotedge - fi -} - -inherit useradd -USERADD_PACKAGES = "${PN}" -USERADD_PARAM_${PN} = "-r -u 15580 -g iotedge -G docker -s /bin/false -d ${localstatedir}/lib/iotedge iotedge" -GROUPADD_PARAM_${PN} = "-r -g 15580 iotedge" - -FILES_${PN} += " \ - ${systemd_unitdir}/system/* \ - ${localstatedir}/lib/iotedge \ - " diff --git a/recipes-core/iotedge-daemon/iotedge-daemon_1.1.15.bb b/recipes-core/iotedge-daemon/iotedge-daemon_1.1.15.bb deleted file mode 100644 index 2bdfb35..0000000 --- a/recipes-core/iotedge-daemon/iotedge-daemon_1.1.15.bb +++ /dev/null @@ -1,279 +0,0 @@ -inherit cargo - -SRC_URI += "https://github.com/Azure/azure-iotedge/releases/download/${PV}/iotedge-${PV}.tar.gz" -SRC_URI[md5sum]="69181ab2beff8cdc259269b29e74aa3e" -SRC_URI[sha256sum]="1a18e765867370dc953c7c241a680a25511efa0b2ad464de27b1d1e6aebe962b" - - -S = "${WORKDIR}/iotedge-${PV}/iotedged" - -# -# Start of section -# Auto-Generated by cargo-bitbake 0.3.15 -# - -# please note if you have entries that do not begin with crate:// -# you must change them to how that package can be fetched -SRC_URI += " \ - crate://crates.io/adler32/1.0.4 \ - crate://crates.io/aho-corasick/0.7.18 \ - crate://crates.io/ansi_term/0.11.0 \ - crate://crates.io/argon2rs/0.2.5 \ - crate://crates.io/arrayref/0.3.4 \ - crate://crates.io/arrayvec/0.4.7 \ - crate://crates.io/assert_matches/1.5.0 \ - crate://crates.io/atty/0.2.10 \ - crate://crates.io/autocfg/1.0.1 \ - crate://crates.io/backtrace-sys/0.1.31 \ - crate://crates.io/backtrace/0.3.34 \ - crate://crates.io/base64/0.10.1 \ - crate://crates.io/base64/0.11.0 \ - crate://crates.io/base64/0.9.1 \ - crate://crates.io/bitflags/1.0.3 \ - crate://crates.io/blake2-rfc/0.2.18 \ - crate://crates.io/block-buffer/0.3.3 \ - crate://crates.io/byte-tools/0.2.0 \ - crate://crates.io/byte-unit/3.0.3 \ - crate://crates.io/byteorder/1.3.1 \ - crate://crates.io/bytes/0.4.12 \ - crate://crates.io/bytes/0.5.4 \ - crate://crates.io/bytes/1.0.1 \ - crate://crates.io/bzip2-sys/0.1.11+1.0.8 \ - crate://crates.io/bzip2/0.4.3 \ - crate://crates.io/c2-chacha/0.2.2 \ - crate://crates.io/cc/1.0.37 \ - crate://crates.io/cfg-if/0.1.9 \ - crate://crates.io/cfg-if/1.0.0 \ - crate://crates.io/chrono-humanize/0.0.11 \ - crate://crates.io/chrono/0.4.9 \ - crate://crates.io/clap/2.31.2 \ - crate://crates.io/cloudabi/0.0.3 \ - crate://crates.io/cmake/0.1.40 \ - crate://crates.io/config/0.9.3 \ - crate://crates.io/consistenttime/0.2.0 \ - crate://crates.io/constant_time_eq/0.1.3 \ - crate://crates.io/core-foundation-sys/0.5.1 \ - crate://crates.io/core-foundation/0.5.1 \ - crate://crates.io/crc32fast/1.2.0 \ - crate://crates.io/crossbeam-channel/0.4.4 \ - crate://crates.io/crossbeam-deque/0.7.4 \ - crate://crates.io/crossbeam-epoch/0.8.2 \ - crate://crates.io/crossbeam-queue/0.2.3 \ - crate://crates.io/crossbeam-utils/0.7.2 \ - crate://crates.io/crypto-mac/0.5.2 \ - crate://crates.io/digest/0.7.2 \ - crate://crates.io/dirs/1.0.4 \ - crate://crates.io/doc-comment/0.3.1 \ - crate://crates.io/dtoa/0.4.2 \ - crate://crates.io/either/1.5.3 \ - crate://crates.io/env_logger/0.9.0 \ - crate://crates.io/error-chain/0.11.0 \ - crate://crates.io/failure/0.1.8 \ - crate://crates.io/failure_derive/0.1.8 \ - crate://crates.io/fake-simd/0.1.2 \ - crate://crates.io/flate2/1.0.11 \ - crate://crates.io/fnv/1.0.6 \ - crate://crates.io/foreign-types-shared/0.1.1 \ - crate://crates.io/foreign-types/0.3.2 \ - crate://crates.io/fuchsia-zircon-sys/0.3.3 \ - crate://crates.io/fuchsia-zircon/0.3.3 \ - crate://crates.io/futures-cpupool/0.1.8 \ - crate://crates.io/futures/0.1.29 \ - crate://crates.io/generic-array/0.9.0 \ - crate://crates.io/getrandom/0.1.6 \ - crate://crates.io/h2/0.1.26 \ - crate://crates.io/hex/0.3.2 \ - crate://crates.io/hmac/0.5.0 \ - crate://crates.io/http-body/0.1.0 \ - crate://crates.io/http/0.1.21 \ - crate://crates.io/http/0.2.4 \ - crate://crates.io/httparse/1.2.4 \ - crate://crates.io/humantime/2.1.0 \ - crate://crates.io/hyper-proxy/0.5.1 \ - crate://crates.io/hyper-tls/0.3.2 \ - crate://crates.io/hyper/0.12.36 \ - crate://crates.io/hyperlocal/0.6.0 \ - crate://crates.io/idna/0.1.4 \ - crate://crates.io/idna/0.2.0 \ - crate://crates.io/indexmap/1.0.1 \ - crate://crates.io/iovec/0.1.2 \ - crate://crates.io/itoa/0.4.1 \ - crate://crates.io/json-patch/0.2.5 \ - crate://crates.io/k8s-openapi/0.7.1 \ - crate://crates.io/kernel32-sys/0.2.2 \ - crate://crates.io/lazy_static/1.4.0 \ - crate://crates.io/lazycell/0.6.0 \ - crate://crates.io/lazycell/1.2.0 \ - crate://crates.io/libc/0.2.66 \ - crate://crates.io/linked-hash-map/0.5.4 \ - crate://crates.io/lock_api/0.3.4 \ - crate://crates.io/log/0.4.14 \ - crate://crates.io/maplit/1.0.1 \ - crate://crates.io/matches/0.1.6 \ - crate://crates.io/maybe-uninit/2.0.0 \ - crate://crates.io/memchr/2.4.1 \ - crate://crates.io/memoffset/0.5.1 \ - crate://crates.io/mime/0.3.5 \ - crate://crates.io/miniz_oxide/0.3.2 \ - crate://crates.io/mio-named-pipes/0.1.6 \ - crate://crates.io/mio-uds/0.6.7 \ - crate://crates.io/mio/0.6.14 \ - crate://crates.io/miow/0.2.1 \ - crate://crates.io/miow/0.3.1 \ - crate://crates.io/native-tls/0.2.1 \ - crate://crates.io/net2/0.2.32 \ - crate://crates.io/nix/0.14.1 \ - crate://crates.io/nodrop/0.1.12 \ - crate://crates.io/nom/4.2.3 \ - crate://crates.io/ntapi/0.3.3 \ - crate://crates.io/num-integer/0.1.44 \ - crate://crates.io/num-traits/0.2.14 \ - crate://crates.io/num_cpus/1.8.0 \ - crate://crates.io/objekt/0.1.2 \ - crate://crates.io/once_cell/1.3.1 \ - crate://crates.io/openssl-probe/0.1.2 \ - crate://crates.io/openssl-sys/0.9.36 \ - crate://crates.io/openssl/0.10.12 \ - crate://crates.io/ordered-float/1.0.2 \ - crate://crates.io/parking_lot/0.9.0 \ - crate://crates.io/parking_lot_core/0.6.2 \ - crate://crates.io/percent-encoding/1.0.1 \ - crate://crates.io/percent-encoding/2.1.0 \ - crate://crates.io/pkg-config/0.3.11 \ - crate://crates.io/ppv-lite86/0.2.5 \ - crate://crates.io/proc-macro2/0.4.19 \ - crate://crates.io/proc-macro2/1.0.6 \ - crate://crates.io/quote/0.6.8 \ - crate://crates.io/quote/1.0.2 \ - crate://crates.io/rand/0.4.2 \ - crate://crates.io/rand/0.5.4 \ - crate://crates.io/rand/0.7.2 \ - crate://crates.io/rand_chacha/0.2.1 \ - crate://crates.io/rand_core/0.2.1 \ - crate://crates.io/rand_core/0.5.1 \ - crate://crates.io/rand_hc/0.2.0 \ - crate://crates.io/rayon-core/1.8.1 \ - crate://crates.io/rayon/1.4.1 \ - crate://crates.io/redox_syscall/0.1.37 \ - crate://crates.io/redox_termios/0.1.1 \ - crate://crates.io/redox_users/0.2.0 \ - crate://crates.io/regex-syntax/0.6.25 \ - crate://crates.io/regex/1.5.5 \ - crate://crates.io/remove_dir_all/0.5.1 \ - crate://crates.io/rustc-demangle/0.1.7 \ - crate://crates.io/rustc_version/0.2.3 \ - crate://crates.io/ryu/0.2.7 \ - crate://crates.io/safemem/0.2.0 \ - crate://crates.io/schannel/0.1.13 \ - crate://crates.io/scoped_threadpool/0.1.9 \ - crate://crates.io/scopeguard/1.0.0 \ - crate://crates.io/security-framework-sys/0.2.1 \ - crate://crates.io/security-framework/0.2.1 \ - crate://crates.io/semver-parser/0.7.0 \ - crate://crates.io/semver/0.9.0 \ - crate://crates.io/serde-value/0.6.0 \ - crate://crates.io/serde/1.0.92 \ - crate://crates.io/serde_derive/1.0.92 \ - crate://crates.io/serde_json/1.0.27 \ - crate://crates.io/serde_yaml/0.8.13 \ - crate://crates.io/sha2/0.7.1 \ - crate://crates.io/signal-hook-registry/1.4.0 \ - crate://crates.io/slab/0.4.1 \ - crate://crates.io/smallvec/0.6.14 \ - crate://crates.io/socket2/0.3.5 \ - crate://crates.io/spin/0.5.2 \ - crate://crates.io/string/0.2.1 \ - crate://crates.io/strsim/0.7.0 \ - crate://crates.io/syn/0.15.36 \ - crate://crates.io/syn/1.0.11 \ - crate://crates.io/synstructure/0.12.5 \ - crate://crates.io/sysinfo/0.14.15 \ - crate://crates.io/tabwriter/1.0.4 \ - crate://crates.io/tempdir/0.3.7 \ - crate://crates.io/tempfile/3.1.0 \ - crate://crates.io/termcolor/0.3.6 \ - crate://crates.io/termcolor/1.1.2 \ - crate://crates.io/termion/1.5.1 \ - crate://crates.io/test-case/0.3.3 \ - crate://crates.io/textwrap/0.9.0 \ - crate://crates.io/thiserror-impl/1.0.21 \ - crate://crates.io/thiserror/1.0.21 \ - crate://crates.io/time/0.1.39 \ - crate://crates.io/tokio-buf/0.1.1 \ - crate://crates.io/tokio-codec/0.1.2 \ - crate://crates.io/tokio-current-thread/0.1.7 \ - crate://crates.io/tokio-executor/0.1.10 \ - crate://crates.io/tokio-fs/0.1.7 \ - crate://crates.io/tokio-io/0.1.13 \ - crate://crates.io/tokio-reactor/0.1.12 \ - crate://crates.io/tokio-signal/0.2.9 \ - crate://crates.io/tokio-sync/0.1.8 \ - crate://crates.io/tokio-tcp/0.1.4 \ - crate://crates.io/tokio-threadpool/0.1.18 \ - crate://crates.io/tokio-timer/0.2.13 \ - crate://crates.io/tokio-tls/0.2.1 \ - crate://crates.io/tokio-udp/0.1.6 \ - crate://crates.io/tokio-uds/0.2.7 \ - crate://crates.io/tokio/0.1.22 \ - crate://crates.io/treediff/3.0.1 \ - crate://crates.io/try-lock/0.2.2 \ - crate://crates.io/typed-headers/0.1.1 \ - crate://crates.io/typenum/1.10.0 \ - crate://crates.io/unicase/2.1.0 \ - crate://crates.io/unicode-bidi/0.3.4 \ - crate://crates.io/unicode-normalization/0.1.5 \ - crate://crates.io/unicode-width/0.1.4 \ - crate://crates.io/unicode-xid/0.1.0 \ - crate://crates.io/unicode-xid/0.2.0 \ - crate://crates.io/url/1.7.2 \ - crate://crates.io/url/2.1.1 \ - crate://crates.io/url_serde/0.2.0 \ - crate://crates.io/vcpkg/0.2.3 \ - crate://crates.io/vec_map/0.8.0 \ - crate://crates.io/version_check/0.1.3 \ - crate://crates.io/version_check/0.9.1 \ - crate://crates.io/void/1.0.2 \ - crate://crates.io/want/0.2.0 \ - crate://crates.io/widestring/0.3.0 \ - crate://crates.io/winapi-build/0.1.1 \ - crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ - crate://crates.io/winapi-util/0.1.5 \ - crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ - crate://crates.io/winapi/0.2.8 \ - crate://crates.io/winapi/0.3.8 \ - crate://crates.io/wincolor/0.1.6 \ - crate://crates.io/windows-service/0.1.0 \ - crate://crates.io/winreg/0.5.1 \ - crate://crates.io/ws2_32-sys/0.2.1 \ - crate://crates.io/yaml-rust/0.4.0 \ - crate://crates.io/zip/0.5.13 \ - git://github.com/Azure/hyperlocal-windows;protocol=https;nobranch=1;name=hyperlocal-windows;destsuffix=hyperlocal-windows \ - git://github.com/Azure/mio-uds-windows.git;protocol=https;nobranch=1;name=mio-uds-windows;destsuffix=mio-uds-windows \ - git://github.com/Azure/tokio-uds-windows.git;protocol=https;nobranch=1;name=tokio-uds-windows;destsuffix=tokio-uds-windows \ -" - -SRCREV_FORMAT .= "_hyperlocal-windows" -SRCREV_hyperlocal-windows = "main" -EXTRA_OECARGO_PATHS += "${WORKDIR}/hyperlocal-windows" -SRCREV_FORMAT .= "_mio-uds-windows" -SRCREV_mio-uds-windows = "main" -EXTRA_OECARGO_PATHS += "${WORKDIR}/mio-uds-windows" -SRCREV_FORMAT .= "_tokio-uds-windows" -SRCREV_tokio-uds-windows = "main" -EXTRA_OECARGO_PATHS += "${WORKDIR}/tokio-uds-windows" - -# -# End of section -# Auto-Generated by cargo-bitbake 0.3.15 -# - -LIC_FILES_CHKSUM=" \ -file://../LICENSE;md5=0f7e3b1308cb5c00b372a6e78835732d \ -file://../THIRDPARTYNOTICES;md5=de5e3729dd4cb9a63dbeb45e480d7634 \ -" -SUMMARY = "IoT Edge Security Daemon" -HOMEPAGE = "https://github.com/Azure/iotedge" -LICENSE = "MIT" - -include iotedge-daemon-${PV}.inc -include iotedge-daemon.inc diff --git a/recipes-core/libiothsm-std/libiothsm-std_1.1.15.bb b/recipes-core/libiothsm-std/libiothsm-std_1.1.15.bb deleted file mode 100644 index 838faf6..0000000 --- a/recipes-core/libiothsm-std/libiothsm-std_1.1.15.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "Standard mode libiothsm implementation for Azure IoT Edge" -LICENSE = "MIT" - -LIC_FILES_CHKSUM=" \ -file://LICENSE;md5=b98fddd052bb2f5ddbcdbd417ffb26a8 \ -" - -SRC_URI += "https://github.com/Azure/azure-iotedge/releases/download/${PV}/iotedge-${PV}.tar.gz" -SRC_URI[md5sum]="69181ab2beff8cdc259269b29e74aa3e" -SRC_URI[sha256sum]="1a18e765867370dc953c7c241a680a25511efa0b2ad464de27b1d1e6aebe962b" - -S = "${WORKDIR}/iotedge-${PV}/hsm-sys/azure-iot-hsm-c" - -DEPENDS += "openssl" -PROVIDES += "virtual/libiothsm" -RPROVIDES_${PN} += "virtual/libiothsm" - -EXTRA_OECMAKE += "-DBUILD_SHARED=On -Duse_emulator=Off -Duse_http=Off -Duse_default_uuid=On -DCMAKE_SYSTEM_VERSION=10" -inherit cmake diff --git a/scripts/build.sh b/scripts/build.sh index d108795..17050e6 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -5,8 +5,8 @@ export MACHINE="${MACHINE-qemux86-64}" # What to build BUILD_TARGETS="\ - iotedge-cli \ - iotedge-daemon \ + iotedge \ + aziot-edged \ " die() {