From: Michael Mrozek Date: Fri, 18 Oct 2013 00:59:50 +0000 (+0200) Subject: pandora-first-run-wizard: Enable TV Out on startup X-Git-Tag: sz_160~39 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=c350698a879e9583fad94e559258736ff5ddde51 pandora-first-run-wizard: Enable TV Out on startup --- diff --git a/recipes/pandora-system/pandora-first-run-wizard.bb b/recipes/pandora-system/pandora-first-run-wizard.bb index 5c2592c..401d005 100755 --- a/recipes/pandora-system/pandora-first-run-wizard.bb +++ b/recipes/pandora-system/pandora-first-run-wizard.bb @@ -6,7 +6,7 @@ RDEPENDS = "hsetroot zenity dbus pandora-wallpaper-official tslib tslib-calibrat COMPATIBLE_MACHINE = "omap3-pandora" -PR = "r48" +PR = "r49" SRC_URI = " \ file://first-run-wizard.sh \ diff --git a/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh b/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh index f34325f..7cb2868 100755 --- a/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh +++ b/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh @@ -30,6 +30,9 @@ fi fi fi +# Enable TV Out +/usr/pandora/scripts/op_tvout.sh + # Default error message (should a user hit cancel, validation fail etc.). ERROR_WINDOW='zenity --title="Error" --error --text="Sorry! Please try again." --timeout 6' @@ -339,7 +342,7 @@ chmod 0666 /etc/pandora/first-boot # Let the user run optional config stuff. -while mainsel=$(zenity --title="Optional settings" --width="400" --height="300" --list --column "id" --column "Please select" --hide-column=1 --text="This concludes the mandatory part of the First Boot Wizard.\n\nYou can now either continue to boot the system or change some more settings.\n\n\nThank you for buying the OpenPandora. Enjoy using the device." "speed" "Advanced CPU-Speed and Overclocking-Settings" "startup" "Advanced Startup-Settings" "lcd" "LCD-Settings" --ok-label="Change selected Setting" --cancel-label="Finish Setup"); do +while mainsel=$(zenity --title="Optional settings" --width="400" --height="300" --list --column "id" --column "Please select" --hide-column=1 --text="This concludes the mandatory part of the First Boot Wizard.\n\nYou can now either continue to boot the system or change some more settings.\n\n\nThank you for buying the OpenPandora. Enjoy using the device." "speed" "Advanced CPU-Speed and Overclocking-Settings" "startup" "Advanced Startup-Settings" "video" "Video Settings" --ok-label="Change selected Setting" --cancel-label="Finish Setup"); do case $mainsel in "speed") @@ -351,7 +354,7 @@ case $mainsel in /usr/pandora/scripts/op_startupmanager.sh ;; - "lcd") + "video") /usr/pandora/scripts/op_lcdsettings.sh ;;