nerdctl: fix installed-vs-shipped with usrmerge

* fixes:
ERROR: nerdctl-v1.3.0-r0 do_package: QA Issue: nerdctl: Files/directories were installed but not shipped in any package:
  /bin
  /bin/nerdctl
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
nerdctl: 2 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Martin Jansa 2023-08-14 13:21:38 +02:00 committed by Bruce Ashfield
parent 9b162d26ee
commit 2d8b3cba8f

View File

@ -239,8 +239,8 @@ do_compile() {
} }
do_install() { do_install() {
install -d "${D}${BIN_PREFIX}/bin" install -d "${D}${BIN_PREFIX}${base_bindir}"
install -m 755 "${S}/src/import/_output/nerdctl" "${D}${BIN_PREFIX}/bin" install -m 755 "${S}/src/import/_output/nerdctl" "${D}${BIN_PREFIX}${base_bindir}"
} }
INHIBIT_PACKAGE_STRIP = "1" INHIBIT_PACKAGE_STRIP = "1"