Skip to content

Commit

Permalink
meta-meson: VIM4N/4: detect lcd screen from cmdline
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Wan <[email protected]>
  • Loading branch information
Mark-Wan-Namtso committed Dec 23, 2024
1 parent c4a3bfb commit c74095f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion recipes-graphics/wayland/weston-init/weston-start
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,8 @@ if test -z "$XDG_RUNTIME_DIR"; then
fi
fi
export WESTON_FORCE_DRI=1
exec openvt $openvt_args -- $launcher $weston_args --log=var/log/weston.log --config=/etc/aml-weston-hdmi.ini --socket=wayland-0
if cat /proc/cmdline | grep mipi_lcd_exist=1; then
exec openvt $openvt_args -- $launcher $weston_args --log=var/log/weston.log --config=/etc/aml-weston.ini --socket=wayland-0
else
exec openvt $openvt_args -- $launcher $weston_args --log=var/log/weston.log --config=/etc/aml-weston-hdmi.ini --socket=wayland-0
fi

0 comments on commit c74095f

Please sign in to comment.