diff options
| author | Patrick Vacek <patrickvacek@gmail.com> | 2017-10-25 13:57:11 +0200 |
|---|---|---|
| committer | Patrick Vacek <patrickvacek@gmail.com> | 2017-10-25 17:35:25 +0200 |
| commit | 86032c413ec220a77a66402aeffd627e8f68243f (patch) | |
| tree | b9a05350523c043bee47caee6ffba6187d09d05e /recipes-sota/aktualizr/aktualizr-native_git.bb | |
| parent | eceaca216c73bd188821e111a73723069668e1f3 (diff) | |
| download | meta-updater-86032c413ec220a77a66402aeffd627e8f68243f.tar.gz | |
Clean up recipes according to Yocto recommendations.
* Use ${libdir} and ${bindir} wherever possible.
* Use rm -f so that tasks are repeatable.
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-native_git.bb')
| -rw-r--r-- | recipes-sota/aktualizr/aktualizr-native_git.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-native_git.bb b/recipes-sota/aktualizr/aktualizr-native_git.bb index b89e9de..70ebdf0 100644 --- a/recipes-sota/aktualizr/aktualizr-native_git.bb +++ b/recipes-sota/aktualizr/aktualizr-native_git.bb | |||
| @@ -7,9 +7,9 @@ inherit native | |||
| 7 | EXTRA_OECMAKE = "-DWARNING_AS_ERROR=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_SOTA_TOOLS=ON -DBUILD_OSTREE=OFF -DAKTUALIZR_VERSION=${PV}" | 7 | EXTRA_OECMAKE = "-DWARNING_AS_ERROR=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_SOTA_TOOLS=ON -DBUILD_OSTREE=OFF -DAKTUALIZR_VERSION=${PV}" |
| 8 | 8 | ||
| 9 | do_install_append () { | 9 | do_install_append () { |
| 10 | rm ${D}${bindir}/aktualizr | 10 | rm -f ${D}${bindir}/aktualizr |
| 11 | rm ${D}${bindir}/aktualizr_cert_provider | 11 | rm -f ${D}${bindir}/aktualizr_cert_provider |
| 12 | rm ${D}${bindir}/garage-deploy | 12 | rm -f ${D}${bindir}/garage-deploy |
| 13 | } | 13 | } |
| 14 | 14 | ||
| 15 | FILES_${PN} = " \ | 15 | FILES_${PN} = " \ |
