diff mbox

package/dvdrw-tools: fix incorrect default choiche

Message ID 1426631327-15489-1-git-send-email-angelo.compagnucci@gmail.com
State Rejected
Headers show

Commit Message

Angelo Compagnucci March 17, 2015, 10:28 p.m. UTC
This pathc fixes default choiche BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
 package/dvdrw-tools/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kenton, Stephen M. March 18, 2015, 5:03 a.m. UTC | #1
On 03/17/2015 05:28 PM, Angelo Compagnucci wrote:
> This pathc fixes default choiche BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND.

>  if BR2_PACKAGE_DVDRW_TOOLS
>  choice
>  	prompt "Media Backend"
> -	default BR2_PACKAGE_DVDRW_CDRKIT_BACKEND
> +	default BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND

Arg! I can't I let that slip through. Thanks for catching it.

Steve
Yann E. MORIN March 18, 2015, 10:41 p.m. UTC | #2
Angelo, All,

On 2015-03-17 23:28 +0100, Angelo Compagnucci spake thusly:
> This pathc fixes default choiche BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND.
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> ---
>  package/dvdrw-tools/Config.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/dvdrw-tools/Config.in b/package/dvdrw-tools/Config.in
> index 6787b66..fb4d4c2 100644
> --- a/package/dvdrw-tools/Config.in
> +++ b/package/dvdrw-tools/Config.in
> @@ -35,7 +35,7 @@ config BR2_PACKAGE_DVDRW_TOOLS
>  if BR2_PACKAGE_DVDRW_TOOLS
>  choice
>  	prompt "Media Backend"
> -	default BR2_PACKAGE_DVDRW_CDRKIT_BACKEND
> +	default BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND

In fact that's not needed since cdrkit is the first entry.

Besides, and I missed it durign the review too, we can't force cdrkit as
the default sicne it has a dependency which is not reported here; it
should have been (options elided for readability):

    choice
        bool "backend"
        default CDRKIT if HEADERS_AT_LEAST_3_0

But really, there's no reason to have a default in the first place, so I
suggest we just get rid of it:

  - if kernel headers >= 3.0, cdrkit will be used by default as it is
    the first entry in the choice;

  - otherwise, cdrkit will be unavailable, and xorriso will be used.

Regards,
Yann E. MORIN.

>  	help
>  	  Choose which media backend program to use.
>  
> -- 
> 1.9.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox

Patch

diff --git a/package/dvdrw-tools/Config.in b/package/dvdrw-tools/Config.in
index 6787b66..fb4d4c2 100644
--- a/package/dvdrw-tools/Config.in
+++ b/package/dvdrw-tools/Config.in
@@ -35,7 +35,7 @@  config BR2_PACKAGE_DVDRW_TOOLS
 if BR2_PACKAGE_DVDRW_TOOLS
 choice
 	prompt "Media Backend"
-	default BR2_PACKAGE_DVDRW_CDRKIT_BACKEND
+	default BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND
 	help
 	  Choose which media backend program to use.