You don't get it: everything is already set as it should:
enable Amlogic: LibreELEC.tv/package.mk at master · LibreELEC/LibreELEC.tv · GitHub
SPI device: LibreELEC.tv/package.mk at master · LibreELEC/LibreELEC.tv · GitHub
You don't get it: everything is already set as it should:
enable Amlogic: LibreELEC.tv/package.mk at master · LibreELEC/LibreELEC.tv · GitHub
SPI device: LibreELEC.tv/package.mk at master · LibreELEC/LibreELEC.tv · GitHub
System-tools was just an example. You just need to adjust names to include anything else.
As I wrote SPI is always enabled from package.mk: LibreELEC.tv/package.mk at master · LibreELEC/LibreELEC.tv · GitHub
You don't need to do anything. Or am I missing something?
Ok, found another 10 minutes: service.web.lamp-9.0.105-generic.x86_64.zip
Well, mysqld doesn't compile anymore. And I only had 10 minutes spare time. Will look later.
If you need only sql server there is mariadb addon in le repository.
Just to complete this thread I played a little how to include addon in the image. Zip file is saved to image and unpacked to /storage on first boot. Just a quick idea not fully tested and investigated. I'm sure there are better solutions
packages/virtual/misc-packages/system.d/storage-addons-copy.service
[Unit]
Description=Kodi storage addons copy script
Before=kodi.service
After=network-online.target graphical.target
[Service]
Type=oneshot
Environment=HOME=/storage
ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /usr/lib/libreelec/storage-addons-copy"
RemainAfterExit=yes
[Install]
WantedBy=kodi.service
Display More
packages/virtual/misc-packages/package.mk
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="misc-packages"
PKG_VERSION=""
PKG_LICENSE="GPL"
PKG_SITE="https://libreelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain $ADDITIONAL_PACKAGES"
PKG_SECTION="virtual"
PKG_LONGDESC="misc-packages: Metapackage for miscellaneous packages"
pre_install() {
ADDON_OVERWRITE=yes ./scripts/create_addon system-tools
}
post_install() {
mkdir -p $INSTALL/usr/share/kodi/storage_addons
cp $ROOT/target/virtual.system-tools-9.0.111.zip $INSTALL/usr/share/kodi/storage_addons
mkdir -p $INSTALL/usr/lib/libreelec
cp -PR $PKG_DIR/scripts/* $INSTALL/usr/lib/libreelec
enable_service storage-addons-copy.service
# update addon manifest / enable addon in Kodi
ADDON_MANIFEST=$INSTALL/usr/share/kodi/system/addon-manifest.xml
xmlstarlet ed -L --subnode "/addons" -t elem -n "addon" -v "virtual.system-tools" $ADDON_MANIFEST
}
Display More
packages/virtual/misc-packages/scripts/storage-addons-copy
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
# how could we check if addon is enabled in Kodi ?
# if disabled don't unpack anymore
if [ ! -d /storage/.kodi/addons/virtual.system-tools ]; then
unzip -o -qq -d /storage/.kodi/addons \
/usr/share/kodi/storage_addons/virtual.system-tools-9.0.111.zip
fi
Display More
Ssh tunneling is not enough for your use case?
This is what I did.
Edit file /storage/.kodi/userdata/keymaps/keyboard.xml. If doesn't exist copy it from /usr/share/kodi/system/keymaps/keyboard.xml.
Then replace
with
There is also Keymap Editor addon which could be used.
Similar discussion: Add Build 7zip (for .7z files)
Addon is still a package but at the end addon zip file is created.
Isn't there ffmpeg in one addon?
Thanks for testing and feedback. I also learned little more about using mysql library.
p7zip from system tools will be the same as 7zip. Different programs with same functionality.
What exactly are you trying to do? Avoid installing addon manually? Then just add it to the image. Which you still need instructions from us
Where should SPI_DEV be enabled? I don't see it in the package.