Merge pull request #4581 from DaVukovic/le-92-getedid-fixes

[getedid] remove kernel check
This commit is contained in:
CvH 2020-10-11 20:45:48 +02:00 committed by GitHub
commit 6e539c3f22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"