diff options
Diffstat (limited to 'recipes-sota/aktualizr')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr_git.bb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index 4f32887..d77655d 100644 --- a/recipes-sota/aktualizr/aktualizr_git.bb +++ b/recipes-sota/aktualizr/aktualizr_git.bb | |||
@@ -132,23 +132,25 @@ PACKAGESPLITFUNCS_prepend = "split_hosttools_packages " | |||
132 | python split_hosttools_packages () { | 132 | python split_hosttools_packages () { |
133 | bindir = d.getVar('bindir') | 133 | bindir = d.getVar('bindir') |
134 | 134 | ||
135 | # Split all binaries to their own packages except aktualizr-info, | 135 | # Split all binaries to their own packages. |
136 | # aktualizr-info should stay in main package aktualizr. | 136 | do_split_packages(d, bindir, '^(.*)$', '%s', 'Aktualizr tool - %s', extra_depends='aktualizr-configs', prepend=False) |
137 | do_split_packages(d, bindir, r'^((?!(aktualizr-info)).*)$', '%s', 'Aktualizr tool - %s', extra_depends='aktualizr-configs', prepend=False) | ||
138 | } | 137 | } |
139 | 138 | ||
140 | PACKAGES_DYNAMIC = "^aktualizr-.* ^garage-.*" | 139 | PACKAGES_DYNAMIC = "^aktualizr-.* ^garage-.*" |
141 | 140 | ||
142 | PACKAGES =+ "${PN}-host-tools ${PN}-lib ${PN}-resource-control ${PN}-configs ${PN}-secondary ${PN}-secondary-lib ${PN}-sotatools-lib" | 141 | PACKAGES =+ "${PN}-host-tools ${PN}-info ${PN}-lib ${PN}-resource-control ${PN}-configs ${PN}-secondary ${PN}-secondary-lib ${PN}-sotatools-lib" |
143 | 142 | ||
144 | ALLOW_EMPTY_${PN}-host-tools = "1" | 143 | ALLOW_EMPTY_${PN}-host-tools = "1" |
145 | 144 | ||
146 | FILES_${PN} = " \ | 145 | FILES_${PN} = " \ |
147 | ${bindir}/aktualizr \ | 146 | ${bindir}/aktualizr \ |
148 | ${bindir}/aktualizr-info \ | ||
149 | ${systemd_unitdir}/system/aktualizr.service \ | 147 | ${systemd_unitdir}/system/aktualizr.service \ |
150 | " | 148 | " |
151 | 149 | ||
150 | FILES_${PN}-info = " \ | ||
151 | ${bindir}/aktualizr-info \ | ||
152 | " | ||
153 | |||
152 | FILES_${PN}-lib = " \ | 154 | FILES_${PN}-lib = " \ |
153 | ${libdir}/libaktualizr.so \ | 155 | ${libdir}/libaktualizr.so \ |
154 | " | 156 | " |