fix(legion): Set panel orientation via karg to correct Plymouth rotation

This commit is contained in:
Kyle Gospodnetich 2024-01-24 22:38:10 -08:00
parent b123e28d16
commit 2fdd501440

View File

@ -132,6 +132,13 @@ if [[ $IMAGE_NAME =~ "deck" && ":AOKZOE A1 AR07:" =~ ":$SYS_ID:" ]]; then
fi fi
fi fi
if [[ ":83E1:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "video" ]]; then
echo "Adding panel orientation for Lenovo Legion Go"
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=left_side_up")
fi
fi
if [[ $KARGS =~ "nomodeset" ]]; then if [[ $KARGS =~ "nomodeset" ]]; then
echo "Removing nomodeset" echo "Removing nomodeset"
NEEDED_KARGS+=("--delete-if-present=nomodeset") NEEDED_KARGS+=("--delete-if-present=nomodeset")