Fix up the kernel/options/resize.

This commit is contained in:
fewtarius 2022-08-30 20:39:23 -04:00
parent 4824f5a3cb
commit 6681b5db77
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
6 changed files with 3012 additions and 7060 deletions

View file

@ -27,7 +27,7 @@ DISTRO="${DISTRO:-JELOS}"
PROJECT="${PROJECT:-Rockchip}"
# determines TARGET_ARCH, if not forced by user
ARCH="${ARCH:-arm}"
ARCH="${ARCH:-aarch64}"
TARGET_ARCH="${ARCH}"
# include helper functions

View file

@ -1,15 +1 @@
ath10k/*
ctefx.bin
lbtf_usb.bin
mrvl/sd8897_uapsta.bin
qca/*00000302.bin
rt2561.bin
rt2561s.bin
rt2661.bin
rt2860.bin
rt3290.bin
ar3k/*.dfu
intel/dsp_fw_{bxtn,cnl,glk,kbl,release}.bin
intel/fw_sst_*.bin*
intel/ibt-*.{ddc,sfi,bseq}
intel/IntcSST2.bin
*

View file

@ -2,8 +2,7 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="kernel-firmware"
PKG_VERSION="20220509"
PKG_SHA256="376e0b3d7b4f8aaa2abf7f5ab74803dcf14b06b94e3d841b1467cd9a2848255e"
PKG_VERSION="20220815"
PKG_LICENSE="other"
PKG_SITE="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/"
PKG_URL="https://cdn.kernel.org/pub/linux/kernel/firmware/linux-firmware-${PKG_VERSION}.tar.xz"

View file

@ -3,6 +3,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team CoreELEC (https://coreelec.org)
# Copyright (C) 2020-present Fewtarius
if [ -e /storage/.please_resize_me ] ; then
. /usr/lib/coreelec/functions
@ -21,9 +22,14 @@ if [ -e /storage/.please_resize_me ] ; then
# get the disk. /storage on 2nd partition
PART=$(blkid | awk 'BEGIN {FS=":"} /STORAGE/ {print $1}')
DISK=$(echo ${PART} | sed s/p[0-9]//g)
PARTNUM=$(echo ${PART} | sed "s#^.*[0-9]p##g")
if [ "$(echo ${PART} | awk '/mmcblk/ {print $1}')" ]
then
DISK=$(echo ${PART} | sed s/p[0-9]//g)
PARTNUM=$(echo ${PART} | sed "s#^.*[0-9]p##g")
else
DISK=$(echo ${PART} | sed s/[0-9]//g)
PARTNUM=$(echo ${PART} | sed "s#^sd[a-z]##g")
fi
rm -f /storage/.please_resize_me
sync

View file

@ -1,8 +1,10 @@
[core]
idle-time=0
[shell]
[terminal]
font-size=16
[shell]
background-image=/usr/share/weston/libreelec-wallpaper-2160.png
background-type=scale-crop
background-color=0x00000000

File diff suppressed because it is too large Load diff