Merge pull request #7439 from HiassofT/le11-kmsprint

move kmsxx from addon to image and include kmsprint output in pastekodi log
This commit is contained in:
CvH 2023-02-03 15:47:10 +01:00 committed by GitHub
commit dc1c67f28b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 10 deletions

View File

@ -1 +1,4 @@
1
- remove kmsxx
initial release

View File

@ -3,7 +3,7 @@
PKG_NAME="system-tools"
PKG_VERSION="1.0"
PKG_REV="0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://libreelec.tv"
@ -11,7 +11,7 @@ PKG_URL=""
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="virtual"
PKG_SHORTDESC="A bundle of system tools and programs"
PKG_LONGDESC="This bundle currently includes autossh, bottom, diffutils, dstat, dtach, efibootmgr, encfs, evtest, fdupes, file, getscancodes, hddtemp, hd-idle, hid_mapper, htop, i2c-tools, inotify-tools, jq, kmsxx, libgpiod, lm_sensors, lshw, mc, mmc-utils, mtpfs, nmon, p7zip, patch, pv, screen, smartmontools, stress-ng, unrar, usb-modeswitch and vim."
PKG_LONGDESC="This bundle currently includes autossh, bottom, diffutils, dstat, dtach, efibootmgr, encfs, evtest, fdupes, file, getscancodes, hddtemp, hd-idle, hid_mapper, htop, i2c-tools, inotify-tools, jq, libgpiod, lm_sensors, lshw, mc, mmc-utils, mtpfs, nmon, p7zip, patch, pv, screen, smartmontools, stress-ng, unrar, usb-modeswitch and vim."
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="System Tools"
@ -35,7 +35,6 @@ PKG_DEPENDS_TARGET="toolchain \
i2c-tools \
inotify-tools \
jq \
kmsxx \
libgpiod \
lm_sensors \
lshw \
@ -127,9 +126,6 @@ addon() {
cp -P $(get_install_dir jq)/usr/bin/jq ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
cp -P $(get_install_dir oniguruma)/usr/lib/{libonig.so,libonig.so.5,libonig.so.5.*.*} ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
# kmsxx
cp -P $(get_install_dir kmsxx)/usr/bin/{kmsblank,kmsprint,kmstest} ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
# libgpiod
cp -P $(get_install_dir libgpiod)/usr/bin/{gpiodetect,gpiofind,gpioget,gpioinfo,gpiomon,gpioset} ${ADDON_BUILD}/${PKG_ADDON_ID}/bin

View File

@ -2,8 +2,8 @@
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="kmsxx"
PKG_VERSION="adc05b66548d10ad8c4a400fb8e8b072a2fd8e2c" # 2022-11-05
PKG_SHA256="a88cbaabac63738a51aabe62c1de11960a72ec2c2a29c436c820ae8c22a92b49"
PKG_VERSION="2bd85abc108e0688384f42b0ec83dcd5a622d50d"
PKG_SHA256="b8746018d076f1474b48211ff5c1895dc668d93d206d0b2dbd03da1a3d5bb12b"
PKG_LICENSE="MPL-2.0"
PKG_SITE="https://github.com/tomba/kmsxx"
PKG_URL="https://github.com/tomba/kmsxx/archive/${PKG_VERSION}.tar.gz"
@ -11,7 +11,7 @@ PKG_DEPENDS_TARGET="toolchain libdrm libfmt"
PKG_LONGDESC="Library and utilities for kernel mode setting"
PKG_BUILD_FLAGS="-sysroot"
PKG_MESON_OPTS_TARGET="-Ddefault_library=static \
PKG_MESON_OPTS_TARGET="-Ddefault_library=shared \
-Dkmscube=false \
-Domap=disabled \
-Dpykms=disabled"

View File

@ -84,6 +84,8 @@ fi
journalctl -a -b -0 -o short-precise | cat_data "journalctl -a -b -0"
kmsprint | cat_data "kmsprint"
if [ "${LIBREELEC_PROJECT}" = "RPi" ]; then
vcgencmd bootloader_version | cat_data "Bootloader version"
fi

View File

@ -6,7 +6,7 @@ PKG_VERSION=""
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain gdb edid-decode memtester strace"
PKG_DEPENDS_TARGET="toolchain gdb edid-decode memtester strace kmsxx"
PKG_SECTION="virtual"
PKG_LONGDESC="debug is a Metapackage for installing debugging tools"