diff options
author | Ben Luck <ben+qa@advancedtelematic.com> | 2018-02-19 17:23:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-19 17:23:00 +0100 |
commit | 1f6b311c9fc567d7038988cc60be148c3181c111 (patch) | |
tree | 1726471776b3dbc1f26e076eba452248b367d57a /recipes-sota/aktualizr | |
parent | 89fc3e0a978b7cfc37ec858600174e77a0b7113d (diff) | |
parent | a9d8688a9e7849c70f448abd3c4c44cec9e16a69 (diff) | |
download | meta-updater-1f6b311c9fc567d7038988cc60be148c3181c111.tar.gz |
Merge pull request #258 from advancedtelematic/bugfix/p11-fixes
Bugfix/p11 fixes
Diffstat (limited to 'recipes-sota/aktualizr')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr_git.bb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index 82da19c..0194dbb 100644 --- a/recipes-sota/aktualizr/aktualizr_git.bb +++ b/recipes-sota/aktualizr/aktualizr_git.bb | |||
@@ -10,7 +10,6 @@ DEPENDS_append_class-target = "jansson ostree ${@bb.utils.contains('SOTA_CLIENT_ | |||
10 | DEPENDS_append_class-native = "glib-2.0-native " | 10 | DEPENDS_append_class-native = "glib-2.0-native " |
11 | 11 | ||
12 | RDEPENDS_${PN}_class-target = "lshw " | 12 | RDEPENDS_${PN}_class-target = "lshw " |
13 | RDEPENDS_${PN}_append_class-target = "${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'hsm', ' engine-pkcs11', '', d)} " | ||
14 | RDEPENDS_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', ' slcand-start', '', d)} " | 13 | RDEPENDS_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', ' slcand-start', '', d)} " |
15 | 14 | ||
16 | PV = "1.0+git${SRCPV}" | 15 | PV = "1.0+git${SRCPV}" |
@@ -21,7 +20,7 @@ SRC_URI = " \ | |||
21 | file://aktualizr.service \ | 20 | file://aktualizr.service \ |
22 | file://aktualizr-serialcan.service \ | 21 | file://aktualizr-serialcan.service \ |
23 | " | 22 | " |
24 | SRCREV = "23eb094a8b3faaac7c0b2a85f902c67804a7d3d3" | 23 | SRCREV = "715dfc3410d46670174ee2f55613e8d953fbb1ae" |
25 | BRANCH ?= "master" | 24 | BRANCH ?= "master" |
26 | 25 | ||
27 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
@@ -39,6 +38,7 @@ EXTRA_OECMAKE_append_class-native = " -DBUILD_SOTA_TOOLS=ON -DBUILD_OSTREE=OFF " | |||
39 | 38 | ||
40 | do_install_append () { | 39 | do_install_append () { |
41 | rm -f ${D}${bindir}/aktualizr_cert_provider | 40 | rm -f ${D}${bindir}/aktualizr_cert_provider |
41 | rm -fr ${D}${libdir}/systemd | ||
42 | } | 42 | } |
43 | do_install_append_class-target () { | 43 | do_install_append_class-target () { |
44 | rm -f ${D}${bindir}/aktualizr_implicit_writer | 44 | rm -f ${D}${bindir}/aktualizr_implicit_writer |
@@ -49,9 +49,6 @@ do_install_append_class-target () { | |||
49 | install -d ${D}${systemd_unitdir}/system | 49 | install -d ${D}${systemd_unitdir}/system |
50 | aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)} | 50 | aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)} |
51 | install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service | 51 | install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service |
52 | |||
53 | install -d ${D}${libdir}/sota/schemas | ||
54 | install -m 0755 ${S}/config/storage/* ${D}${libdir}/sota/schemas | ||
55 | } | 52 | } |
56 | do_install_append_class-native () { | 53 | do_install_append_class-native () { |
57 | rm -f ${D}${bindir}/aktualizr | 54 | rm -f ${D}${bindir}/aktualizr |
@@ -66,19 +63,22 @@ do_install_append_class-native () { | |||
66 | install -m 0644 ${B}/src/sota_tools/garage-sign-prefix/src/garage-sign/lib/* ${D}${libdir} | 63 | install -m 0644 ${B}/src/sota_tools/garage-sign-prefix/src/garage-sign/lib/* ${D}${libdir} |
67 | } | 64 | } |
68 | 65 | ||
66 | FILES_${PN}_append = " \ | ||
67 | ${libdir}/sota \ | ||
68 | " | ||
69 | |||
69 | FILES_${PN}_class-target = " \ | 70 | FILES_${PN}_class-target = " \ |
70 | ${bindir}/aktualizr \ | 71 | ${bindir}/aktualizr \ |
71 | ${bindir}/aktualizr-info \ | 72 | ${bindir}/aktualizr-info \ |
72 | ${systemd_unitdir}/system/aktualizr.service \ | 73 | ${systemd_unitdir}/system/aktualizr.service \ |
73 | ${libdir}/sota/schemas \ | ||
74 | " | 74 | " |
75 | |||
75 | FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-example', ' ${bindir}/example-interface', '', d)} " | 76 | FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-example', ' ${bindir}/example-interface', '', d)} " |
76 | FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-isotp-example', ' ${bindir}/isotp-test-interface', '', d)} " | 77 | FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-isotp-example', ' ${bindir}/isotp-test-interface', '', d)} " |
77 | FILES_${PN}_class-native = " \ | 78 | FILES_${PN}_class-native = " \ |
78 | ${bindir}/aktualizr_implicit_writer \ | 79 | ${bindir}/aktualizr_implicit_writer \ |
79 | ${bindir}/garage-deploy \ | 80 | ${bindir}/garage-deploy \ |
80 | ${bindir}/garage-push \ | 81 | ${bindir}/garage-push \ |
81 | ${libdir}/sota/* \ | ||
82 | " | 82 | " |
83 | 83 | ||
84 | # vim:set ts=4 sw=4 sts=4 expandtab: | 84 | # vim:set ts=4 sw=4 sts=4 expandtab: |