mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
thin-provisioning-tools: install binary to ${sbindir}
The binaries of thin-provisioning-tools 0.9.0 are installed to
${sbindir}. And it also set BINDIR in the Makefile in the git repo:
BINDIR:=$(DESTDIR)$(PREFIX)/sbin
Tweak to install binary to ${sbindir} and create link files there.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -20,6 +20,10 @@ require ${BPN}-crates.inc
|
||||
require ${BPN}-git-crates.inc
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sbindir}
|
||||
mv ${D}${bindir}/pdata_tools ${D}${sbindir}/pdata_tools
|
||||
rmdir --ignore-fail-on-non-empty ${D}${bindir}
|
||||
|
||||
for tool in cache_check \
|
||||
cache_dump \
|
||||
cache_metadata_size \
|
||||
@@ -41,6 +45,6 @@ do_install:append() {
|
||||
era_dump \
|
||||
era_invalidate \
|
||||
era_restore; do
|
||||
ln -sf pdata_tools ${D}${bindir}/$tool
|
||||
ln -sf pdata_tools ${D}${sbindir}/$tool
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user