diff options
| -rw-r--r-- | recipes-sota/aktualizr/aktualizr_git.bb | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index 2a803a8..94a610c 100644 --- a/recipes-sota/aktualizr/aktualizr_git.bb +++ b/recipes-sota/aktualizr/aktualizr_git.bb | |||
| @@ -45,6 +45,11 @@ do_install_append () { | |||
| 45 | rm -fr ${D}${libdir}/systemd | 45 | rm -fr ${D}${libdir}/systemd |
| 46 | rm -f ${D}${libdir}/sota/sota.toml # Only needed for the Debian package | 46 | rm -f ${D}${libdir}/sota/sota.toml # Only needed for the Debian package |
| 47 | install -d ${D}${libdir}/sota | 47 | install -d ${D}${libdir}/sota |
| 48 | install -m 0644 ${S}/config/sota_autoprov.toml ${D}/${libdir}/sota/sota_autoprov.toml | ||
| 49 | install -m 0644 ${S}/config/sota_autoprov_primary.toml ${D}/${libdir}/sota/sota_autoprov_primary.toml | ||
| 50 | install -m 0644 ${S}/config/sota_hsm_prov.toml ${D}/${libdir}/sota/sota_hsm_prov.toml | ||
| 51 | install -m 0644 ${S}/config/sota_implicit_prov.toml ${D}/${libdir}/sota/sota_implicit_prov.toml | ||
| 52 | install -m 0644 ${S}/config/sota_implicit_prov_ca.toml ${D}/${libdir}/sota/sota_implicit_prov_ca.toml | ||
| 48 | install -m 0644 ${S}/config/sota_secondary.toml ${D}/${libdir}/sota/sota_secondary.toml | 53 | install -m 0644 ${S}/config/sota_secondary.toml ${D}/${libdir}/sota/sota_secondary.toml |
| 49 | install -d ${D}${systemd_unitdir}/system | 54 | install -d ${D}${systemd_unitdir}/system |
| 50 | install -m 0644 ${WORKDIR}/aktualizr-secondary.socket ${D}${systemd_unitdir}/system/aktualizr-secondary.socket | 55 | install -m 0644 ${WORKDIR}/aktualizr-secondary.socket ${D}${systemd_unitdir}/system/aktualizr-secondary.socket |
| @@ -58,13 +63,6 @@ do_install_append_class-target () { | |||
| 58 | } | 63 | } |
| 59 | 64 | ||
| 60 | do_install_append_class-native () { | 65 | do_install_append_class-native () { |
| 61 | install -d ${D}${libdir}/sota | ||
| 62 | install -m 0644 ${S}/config/sota_autoprov.toml ${D}/${libdir}/sota/sota_autoprov.toml | ||
| 63 | install -m 0644 ${S}/config/sota_autoprov_primary.toml ${D}/${libdir}/sota/sota_autoprov_primary.toml | ||
| 64 | install -m 0644 ${S}/config/sota_hsm_prov.toml ${D}/${libdir}/sota/sota_hsm_prov.toml | ||
| 65 | install -m 0644 ${S}/config/sota_implicit_prov.toml ${D}/${libdir}/sota/sota_implicit_prov.toml | ||
| 66 | install -m 0644 ${S}/config/sota_implicit_prov_ca.toml ${D}/${libdir}/sota/sota_implicit_prov_ca.toml | ||
| 67 | |||
| 68 | install -m 0755 ${B}/src/sota_tools/garage-sign-prefix/src/garage-sign/bin/* ${D}${bindir} | 66 | install -m 0755 ${B}/src/sota_tools/garage-sign-prefix/src/garage-sign/bin/* ${D}${bindir} |
| 69 | install -m 0644 ${B}/src/sota_tools/garage-sign-prefix/src/garage-sign/lib/* ${D}${libdir} | 67 | install -m 0644 ${B}/src/sota_tools/garage-sign-prefix/src/garage-sign/lib/* ${D}${libdir} |
| 70 | } | 68 | } |
| @@ -93,6 +91,11 @@ FILES_${PN}-host-tools = " \ | |||
| 93 | ${bindir}/aktualizr_implicit_writer \ | 91 | ${bindir}/aktualizr_implicit_writer \ |
| 94 | ${bindir}/garage-deploy \ | 92 | ${bindir}/garage-deploy \ |
| 95 | ${bindir}/garage-push \ | 93 | ${bindir}/garage-push \ |
| 94 | ${libdir}/sota/sota_autoprov.toml \ | ||
| 95 | ${libdir}/sota/sota_autoprov_primary.toml \ | ||
| 96 | ${libdir}/sota/sota_hsm_prov.toml \ | ||
| 97 | ${libdir}/sota/sota_implicit_prov.toml \ | ||
| 98 | ${libdir}/sota/sota_implicit_prov_ca.toml \ | ||
| 96 | " | 99 | " |
| 97 | 100 | ||
| 98 | FILES_${PN}-secondary = " \ | 101 | FILES_${PN}-secondary = " \ |
