mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
[getedid] remove kernel check
This commit is contained in:
parent
6a19e7824f
commit
16c22208da
@ -132,12 +132,6 @@ check_content() {
|
||||
}
|
||||
|
||||
|
||||
check_kernel() {
|
||||
# determine which kernel is in use and store it in a compareable format. This will probably be deprecated for LE10
|
||||
kernel="$(uname -r | sed 's/[^0-9\.].*//g' | awk -F. '{ printf "%d%02d%03d\n",int($1),int($2),int($3) }')"
|
||||
}
|
||||
|
||||
|
||||
create_edid() {
|
||||
# create edid
|
||||
mkdir -p /tmp/cpio/lib/firmware/edid
|
||||
@ -182,9 +176,6 @@ intel_amd() {
|
||||
# make a backup of $file
|
||||
cp "$file" "$file".old
|
||||
|
||||
#check kernel version
|
||||
check_kernel
|
||||
|
||||
# add boot parameters to $file
|
||||
sed -i "/ APPEND/s/$/ initrd=\/edid.cpio drm.edid_firmware=edid\/edid.bin video=$hdmi:D/" "$file"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user