setup-gummiboot-conf: Disable VGA output in splash-hdmi .conf
[platform/adaptation/setup-scripts.git] / setup-scripts-bootloader-conf
index 6c56f8b..2b568cc 100755 (executable)
@@ -163,10 +163,18 @@ add_subcommand()
 
        # Add a splash entry for fastboot testing and disable fbcon
        if [ "$boot" = "gummiboot" ] && [ -f "$splash_path" ]; then
-               splash_opts="$options i915.fastboot=1 fbcon=map:9"
+               local splash_opts="$options i915.fastboot=1 fbcon=map:9"
                setup-$boot-conf $verbose --bootdir "$bootdir" add \
                        $force --splash "$splash_path" "$kernel-splash" \
                        "Splash $os_name" "$kernel" "$splash_opts"
+               splash_opts_dp="$splash_opts video=HDMI-A-1:d"
+               setup-$boot-conf $verbose --bootdir "$bootdir" add \
+                       $force --splash "$splash_path" "$kernel-splash-dp" \
+                       "Splash DP $os_name" "$kernel" "$splash_opts_dp"
+               splash_opts_hdmi="$splash_opts video=DP-1:d video=VGA-1:d"
+               setup-$boot-conf $verbose --bootdir "$bootdir" add \
+                       $force --splash "$splash_path" "$kernel-splash-hdmi" \
+                       "Splash HDMI $os_name" "$kernel" "$splash_opts_hdmi"
        fi
 }