Skip to content

Commit

Permalink
dietpi-installer: Syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaIng committed Feb 9, 2025
1 parent fa63a30 commit f724562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .build/images/dietpi-installer
Original file line number Diff line number Diff line change
Expand Up @@ -706,13 +706,13 @@ setenv rootuuid "true"' /boot/boot.cmd
# Overlay prefix
case $G_HW_MODEL in
73) G_CONFIG_INJECT 'overlay_prefix=' 'overlay_prefix=rk3308' /boot/dietpiEnv.txt;;
92) G_CONFIG_INJECT 'overlay_prefix=' 'overlay_prefix=nanopi-m6' /boot/dietpiEnv.txt # For DSI disploy port overlays
92) G_CONFIG_INJECT 'overlay_prefix=' 'overlay_prefix=nanopi-m6' /boot/dietpiEnv.txt;; # For DSI disploy port overlays
78|79|80|82|85|91|93) G_CONFIG_INJECT 'overlay_prefix=' 'overlay_prefix=rk3588' /boot/dietpiEnv.txt;; # ToDo: There are multiple other prefixes used in the kernel package, "rock-5b", "rock-5ab", "rockchip" (for fixup), so the boot.cmd need heavy adjustments (eliminate the prefix entirely) to work with all overlays.
*) G_CONFIG_INJECT 'overlay_prefix=' 'overlay_prefix=rockchip' /boot/dietpiEnv.txt;;
esac
# Overlays
case $G_HW_MODEL in
92) G_CONFIG_INJECT 'overlays=' 'overlays=display-dsi1-yx35' /boot/dietpiEnv.txt;; # Enable builtin LCD of official case
92) G_CONFIG_INJECT 'overlays=' 'overlays=display-dsi1-yx35' /boot/dietpiEnv.txt;; # Enable builtin LCD of official case
*) :;;
esac
# Console args
Expand Down

0 comments on commit f724562

Please sign in to comment.