p7zip: workaround for absolute path

This commit is contained in:
CvH 2020-06-22 08:33:56 +02:00
parent 36acaf38bc
commit 8832c32c90
4 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,6 @@
114
- added ytop
- fixed 7z
- updated diffutils to 3.7
- updated efibootmgr to 2020-04-27
- updated evtest to 1.34

View File

@ -133,8 +133,9 @@ addon() {
cp -P $(get_install_dir nmon)/usr/bin/nmon $ADDON_BUILD/$PKG_ADDON_ID/bin/
# p7zip
cp -P $(get_install_dir p7zip)/usr/bin/{7z,7za,7z.so} $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -PR $(get_install_dir p7zip)/usr/bin/Codecs $ADDON_BUILD/$PKG_ADDON_ID/bin
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/p7zip
cp -P $(get_install_dir p7zip)/usr/bin/{7z,7za,7z.so} $ADDON_BUILD/$PKG_ADDON_ID/lib/p7zip
cp -PR $(get_install_dir p7zip)/usr/bin/Codecs $ADDON_BUILD/$PKG_ADDON_ID/lib/p7zip
# patch
cp -P $(get_install_dir patch)/usr/bin/patch $ADDON_BUILD/$PKG_ADDON_ID/bin

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec /storage/.kodi/addons/virtual.system-tools/lib/p7zip/7z "$@"

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec /storage/.kodi/addons/virtual.system-tools/lib/p7zip/7za "$@"