[getedid] remove kernel check

This commit is contained in:
David Vukovic 2020-10-05 22:55:24 +02:00 committed by DaVukovic
parent 6a19e7824f
commit 16c22208da

View File

@ -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"