summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-sota/rvi-sota-client/rvi-sota-client_git.bb79
-rw-r--r--recipes-support/python-petname/python-petname.bb15
2 files changed, 54 insertions, 40 deletions
diff --git a/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb b/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb
index 9ba11ea..52edd26 100644
--- a/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb
+++ b/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb
@@ -11,13 +11,13 @@ S = "${WORKDIR}/git"
11# When changing this, don't forget to: 11# When changing this, don't forget to:
12# 1) Update PV 12# 1) Update PV
13# 2) Check that Cargo.lock hasn't changed with git diff old..new Cargo.lock 13# 2) Check that Cargo.lock hasn't changed with git diff old..new Cargo.lock
14SRCREV = "878aa386e61bc253e4fae624ae62507710cd23f3" 14SRCREV = "0d092c218c823fe38e59e7ecb4589c3770dc6448"
15 15
16# Generate with: 16# Generate with:
17# git describe --tags | cut -b2- 17# git describe --tags | cut -b2-
18# or from the rvi_sota_client repo: 18# or from the rvi_sota_client repo:
19# make package-version 19# make package-version
20PV = "0.2.32-131-g878aa38" 20PV = "0.2.32-186-g313ba1a"
21 21
22BBCLASSEXTEND = "native" 22BBCLASSEXTEND = "native"
23 23
@@ -27,7 +27,6 @@ FILES_${PN} = " \
27 ${bindir}/sota_client \ 27 ${bindir}/sota_client \
28 ${bindir}/sota_sysinfo.sh \ 28 ${bindir}/sota_sysinfo.sh \
29 ${bindir}/system_info.sh \ 29 ${bindir}/system_info.sh \
30 ${bindir}/sota_ostree.sh \
31 ${bindir}/sota_prov.sh \ 30 ${bindir}/sota_prov.sh \
32 ${sysconfdir}/sota_client.version \ 31 ${sysconfdir}/sota_client.version \
33 ${sysconfdir}/sota_certificates \ 32 ${sysconfdir}/sota_certificates \
@@ -40,82 +39,82 @@ FILES_${PN} = " \
40# list of dependencies can be generated from Cargo.lock by running 39# list of dependencies can be generated from Cargo.lock by running
41# cat Cargo.lock | sed -e '1,/metadata/ d' Cargo.lock | awk '{print "crate://crates.io/"$2 "/" $3" \\"}' 40# cat Cargo.lock | sed -e '1,/metadata/ d' Cargo.lock | awk '{print "crate://crates.io/"$2 "/" $3" \\"}'
42SRC_URI = " \ 41SRC_URI = " \
43crate://crates.io/aho-corasick/0.5.3 \
44crate://crates.io/aho-corasick/0.6.3 \ 42crate://crates.io/aho-corasick/0.6.3 \
45crate://crates.io/base64/0.4.1 \ 43crate://crates.io/backtrace/0.3.0 \
44crate://crates.io/backtrace-sys/0.1.10 \
45crate://crates.io/base64/0.4.2 \
46crate://crates.io/base64/0.5.2 \
46crate://crates.io/bit-set/0.4.0 \ 47crate://crates.io/bit-set/0.4.0 \
47crate://crates.io/bit-vec/0.4.3 \ 48crate://crates.io/bit-vec/0.4.3 \
48crate://crates.io/bitflags/0.7.0 \ 49crate://crates.io/bitflags/0.8.2 \
49crate://crates.io/byteorder/1.0.0 \ 50crate://crates.io/byteorder/1.0.0 \
50crate://crates.io/bytes/0.4.1 \ 51crate://crates.io/bytes/0.4.3 \
51crate://crates.io/cfg-if/0.1.0 \ 52crate://crates.io/cfg-if/0.1.0 \
52crate://crates.io/chan/0.1.19 \ 53crate://crates.io/chan/0.1.19 \
53crate://crates.io/chan-signal/0.2.0 \ 54crate://crates.io/chan-signal/0.2.0 \
54crate://crates.io/chrono/0.3.0 \ 55crate://crates.io/chrono/0.3.1 \
55crate://crates.io/crossbeam/0.2.10 \ 56crate://crates.io/crossbeam/0.2.10 \
57crate://crates.io/dbghelp-sys/0.2.0 \
56crate://crates.io/dbus/0.5.2 \ 58crate://crates.io/dbus/0.5.2 \
57crate://crates.io/deque/0.3.1 \
58crate://crates.io/dtoa/0.4.1 \ 59crate://crates.io/dtoa/0.4.1 \
59crate://crates.io/env_logger/0.4.2 \ 60crate://crates.io/env_logger/0.4.2 \
61crate://crates.io/error-chain/0.10.0 \
60crate://crates.io/error-chain/0.7.2 \ 62crate://crates.io/error-chain/0.7.2 \
63crate://crates.io/filetime/0.1.10 \
61crate://crates.io/foreign-types/0.2.0 \ 64crate://crates.io/foreign-types/0.2.0 \
62crate://crates.io/gcc/0.3.45 \ 65crate://crates.io/gcc/0.3.45 \
63crate://crates.io/gdi32-sys/0.2.0 \ 66crate://crates.io/gdi32-sys/0.2.0 \
64crate://crates.io/getopts/0.2.14 \ 67crate://crates.io/getopts/0.2.14 \
65crate://crates.io/httparse/1.2.1 \ 68crate://crates.io/hex/0.2.0 \
66crate://crates.io/hyper/0.10.5 \ 69crate://crates.io/httparse/1.2.2 \
67crate://crates.io/idna/0.1.0 \ 70crate://crates.io/hyper/0.10.9 \
71crate://crates.io/idna/0.1.1 \
68crate://crates.io/iovec/0.1.0 \ 72crate://crates.io/iovec/0.1.0 \
69crate://crates.io/itoa/0.3.1 \ 73crate://crates.io/itoa/0.3.1 \
70crate://crates.io/kernel32-sys/0.2.2 \ 74crate://crates.io/kernel32-sys/0.2.2 \
71crate://crates.io/language-tags/0.2.2 \ 75crate://crates.io/language-tags/0.2.2 \
72crate://crates.io/lazy_static/0.2.5 \ 76crate://crates.io/lazy_static/0.2.8 \
73crate://crates.io/libc/0.2.21 \ 77crate://crates.io/libc/0.2.22 \
74crate://crates.io/log/0.3.7 \ 78crate://crates.io/log/0.3.7 \
75crate://crates.io/matches/0.1.4 \ 79crate://crates.io/matches/0.1.4 \
76crate://crates.io/memchr/0.1.11 \
77crate://crates.io/memchr/1.0.1 \ 80crate://crates.io/memchr/1.0.1 \
78crate://crates.io/metadeps/1.1.1 \ 81crate://crates.io/metadeps/1.1.1 \
79crate://crates.io/mime/0.2.3 \ 82crate://crates.io/mime/0.2.3 \
80crate://crates.io/nom/1.2.4 \
81crate://crates.io/num/0.1.37 \ 83crate://crates.io/num/0.1.37 \
82crate://crates.io/num-integer/0.1.33 \ 84crate://crates.io/num-integer/0.1.34 \
83crate://crates.io/num-iter/0.1.33 \ 85crate://crates.io/num-iter/0.1.33 \
84crate://crates.io/num-traits/0.1.37 \ 86crate://crates.io/num-traits/0.1.37 \
85crate://crates.io/num_cpus/1.3.0 \ 87crate://crates.io/num_cpus/1.4.0 \
86crate://crates.io/openssl/0.9.10 \ 88crate://crates.io/openssl/0.9.11 \
87crate://crates.io/openssl-sys/0.9.10 \ 89crate://crates.io/openssl-sys/0.9.11 \
88crate://crates.io/pem/0.2.0 \ 90crate://crates.io/pem/0.4.0 \
89crate://crates.io/pkg-config/0.3.9 \ 91crate://crates.io/pkg-config/0.3.9 \
90crate://crates.io/quote/0.3.15 \ 92crate://crates.io/quote/0.3.15 \
91crate://crates.io/rand/0.3.15 \ 93crate://crates.io/rand/0.3.15 \
92crate://crates.io/rayon/0.6.0 \
93crate://crates.io/redox_syscall/0.1.17 \ 94crate://crates.io/redox_syscall/0.1.17 \
94crate://crates.io/regex/0.1.80 \
95crate://crates.io/regex/0.2.1 \ 95crate://crates.io/regex/0.2.1 \
96crate://crates.io/regex-syntax/0.3.9 \
97crate://crates.io/regex-syntax/0.4.0 \ 96crate://crates.io/regex-syntax/0.4.0 \
98crate://crates.io/ring/0.7.1 \ 97crate://crates.io/ring/0.7.1 \
99crate://crates.io/rust-crypto/0.2.36 \ 98crate://crates.io/rust-crypto/0.2.36 \
100crate://crates.io/rustc-serialize/0.3.23 \ 99crate://crates.io/rustc-demangle/0.1.4 \
100crate://crates.io/rustc-serialize/0.3.24 \
101crate://crates.io/rustc_version/0.1.7 \ 101crate://crates.io/rustc_version/0.1.7 \
102crate://crates.io/semver/0.1.20 \ 102crate://crates.io/semver/0.1.20 \
103crate://crates.io/serde/0.9.11 \ 103crate://crates.io/serde/1.0.2 \
104crate://crates.io/serde_codegen_internals/0.14.1 \ 104crate://crates.io/serde_derive/1.0.2 \
105crate://crates.io/serde_derive/0.9.11 \ 105crate://crates.io/serde_derive_internals/0.15.0 \
106crate://crates.io/serde_json/0.9.9 \ 106crate://crates.io/serde_json/1.0.1 \
107crate://crates.io/sha1/0.2.0 \ 107crate://crates.io/sha1/0.2.0 \
108crate://crates.io/syn/0.11.9 \ 108crate://crates.io/syn/0.11.11 \
109crate://crates.io/synom/0.11.3 \ 109crate://crates.io/synom/0.11.3 \
110crate://crates.io/thread-id/2.0.0 \ 110crate://crates.io/tar/0.4.11 \
111crate://crates.io/thread-id/3.0.0 \ 111crate://crates.io/thread-id/3.0.0 \
112crate://crates.io/thread_local/0.2.7 \
113crate://crates.io/thread_local/0.3.3 \ 112crate://crates.io/thread_local/0.3.3 \
114crate://crates.io/time/0.1.36 \ 113crate://crates.io/time/0.1.37 \
115crate://crates.io/toml/0.2.1 \ 114crate://crates.io/toml/0.2.1 \
116crate://crates.io/toml/0.3.1 \ 115crate://crates.io/toml/0.4.0 \
117crate://crates.io/traitobject/0.1.0 \ 116crate://crates.io/traitobject/0.1.0 \
118crate://crates.io/tungstenite/0.1.1 \ 117crate://crates.io/tungstenite/0.2.2 \
119crate://crates.io/typeable/0.1.2 \ 118crate://crates.io/typeable/0.1.2 \
120crate://crates.io/unicase/1.4.0 \ 119crate://crates.io/unicase/1.4.0 \
121crate://crates.io/unicode-bidi/0.2.5 \ 120crate://crates.io/unicode-bidi/0.2.5 \
@@ -127,17 +126,17 @@ crate://crates.io/untrusted/0.3.2 \
127crate://crates.io/url/1.4.0 \ 126crate://crates.io/url/1.4.0 \
128crate://crates.io/user32-sys/0.2.0 \ 127crate://crates.io/user32-sys/0.2.0 \
129crate://crates.io/utf-8/0.7.0 \ 128crate://crates.io/utf-8/0.7.0 \
130crate://crates.io/utf8-ranges/0.1.3 \
131crate://crates.io/utf8-ranges/1.0.0 \ 129crate://crates.io/utf8-ranges/1.0.0 \
132crate://crates.io/uuid/0.4.0 \ 130crate://crates.io/uuid/0.5.0 \
133crate://crates.io/void/1.0.2 \ 131crate://crates.io/void/1.0.2 \
134crate://crates.io/winapi/0.2.8 \ 132crate://crates.io/winapi/0.2.8 \
135crate://crates.io/winapi-build/0.1.1 \ 133crate://crates.io/winapi-build/0.1.1 \
134crate://crates.io/xattr/0.1.11 \
136git://github.com/advancedtelematic/rvi_sota_client \ 135git://github.com/advancedtelematic/rvi_sota_client \
137" 136"
138 137
139SRC_URI[index.md5sum] = "79f10f436dbf26737cc80445746f16b4" 138SRC_URI[index.md5sum] = "6a635e8a081b4d4ba4cebffd721c2d7d"
140SRC_URI[index.sha256sum] = "86114b93f1f51aaf0aec3af0751d214b351f4ff9839ba031315c1b19dcbb1913" 139SRC_URI[index.sha256sum] = "1913c41d4b8de89a931b6f9e418f83e70a083e12e6c247e8510ee932571ebae2"
141 140
142SYSTEMD_SERVICE_${PN} = "sota_client.service sota_client_autoprovision.service" 141SYSTEMD_SERVICE_${PN} = "sota_client.service sota_client_autoprovision.service"
143 142
@@ -151,6 +150,7 @@ RDEPENDS_${PN} = " libcrypto \
151 python \ 150 python \
152 python-canonicaljson \ 151 python-canonicaljson \
153 python-json \ 152 python-json \
153 python-petname \
154 " 154 "
155 155
156export SOTA_PACKED_CREDENTIALS 156export SOTA_PACKED_CREDENTIALS
@@ -166,7 +166,6 @@ do_install() {
166 install -m 0755 target/${TARGET_SYS}/release/sota_client ${D}${bindir} 166 install -m 0755 target/${TARGET_SYS}/release/sota_client ${D}${bindir}
167 install -m 0755 ${S}/run/sota_sysinfo.sh ${D}${bindir} 167 install -m 0755 ${S}/run/sota_sysinfo.sh ${D}${bindir}
168 ln -fs ${bindir}/sota_sysinfo.sh ${D}${bindir}/system_info.sh # For compatibilty with old sota.toml files 168 ln -fs ${bindir}/sota_sysinfo.sh ${D}${bindir}/system_info.sh # For compatibilty with old sota.toml files
169 install -m 0755 ${S}/run/sota_ostree.sh ${D}${bindir}
170 install -m 0755 ${S}/run/sota_prov.sh ${D}${bindir} 169 install -m 0755 ${S}/run/sota_prov.sh ${D}${bindir}
171 install -m 0755 ${S}/run/canonical_json.py ${D}${bindir} 170 install -m 0755 ${S}/run/canonical_json.py ${D}${bindir}
172 171
diff --git a/recipes-support/python-petname/python-petname.bb b/recipes-support/python-petname/python-petname.bb
new file mode 100644
index 0000000..b8a7b88
--- /dev/null
+++ b/recipes-support/python-petname/python-petname.bb
@@ -0,0 +1,15 @@
1DESCRIPTION = "python-petname recipe"
2
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5
6SRCREV = "d0b767cdb1567defb104f29c3fd022239a7f231e"
7SRC_URI = "git://github.com/dustinkirkland/python-petname.git"
8S = "${WORKDIR}/git"
9
10PV = "2.2"
11inherit setuptools
12RDEPENDS_${PN} = " python-setuptools \
13 python-argparse \
14 "
15