* [PATCH] Alsa-state: Wildcard removed and all *.state put back in the recipes
@ 2009-03-22 14:12 Matthieu Poullet
2009-03-22 14:49 ` Philip Balister
2009-03-22 18:29 ` Marcin Juszkiewicz
0 siblings, 2 replies; 7+ messages in thread
From: Matthieu Poullet @ 2009-03-22 14:12 UTC (permalink / raw)
To: openembedded-devel; +Cc: Matthieu Poullet
The wildcard doesn't work properly.
So either the wildcard support must be fixed or all the *.state files must be added in the SRC_URI.
---
recipes/alsa/alsa-state.bb | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/recipes/alsa/alsa-state.bb b/recipes/alsa/alsa-state.bb
index 3ebc0d5..a878c57 100644
--- a/recipes/alsa/alsa-state.bb
+++ b/recipes/alsa/alsa-state.bb
@@ -13,7 +13,15 @@ SRC_URI = "\
file://asound.conf \
file://asound.state \
file://alsa-state \
- file://*.state \
+ file://asound.state \
+ file://at91sam9263ek/asound.state \
+ file://spitz/asound.state \
+ file://tosa/asound.state \
+ file://c7x0/asound.state \
+ file://magician/asound.state \
+ file://hx4700/asound.state \
+ file://nokia800/asound.state \
+ file://akita/asound.state \
"
inherit update-rc.d
--
1.5.6.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] Alsa-state: Wildcard removed and all *.state put back in the recipes
2009-03-22 14:12 [PATCH] Alsa-state: Wildcard removed and all *.state put back in the recipes Matthieu Poullet
@ 2009-03-22 14:49 ` Philip Balister
2009-03-22 16:39 ` Andrea Adami
2009-03-22 18:29 ` Marcin Juszkiewicz
1 sibling, 1 reply; 7+ messages in thread
From: Philip Balister @ 2009-03-22 14:49 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]
Matthieu Poullet wrote:
> The wildcard doesn't work properly.
> So either the wildcard support must be fixed or all the *.state files must be added in the SRC_URI.
Acked-by: Philip Balister (philip@balister.org)
This makes the packages created from this recipe more deterministic.
>
> ---
> recipes/alsa/alsa-state.bb | 10 +++++++++-
> 1 files changed, 9 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/alsa/alsa-state.bb b/recipes/alsa/alsa-state.bb
> index 3ebc0d5..a878c57 100644
> --- a/recipes/alsa/alsa-state.bb
> +++ b/recipes/alsa/alsa-state.bb
> @@ -13,7 +13,15 @@ SRC_URI = "\
> file://asound.conf \
> file://asound.state \
> file://alsa-state \
> - file://*.state \
> + file://asound.state \
> + file://at91sam9263ek/asound.state \
> + file://spitz/asound.state \
> + file://tosa/asound.state \
> + file://c7x0/asound.state \
> + file://magician/asound.state \
> + file://hx4700/asound.state \
> + file://nokia800/asound.state \
> + file://akita/asound.state \
> "
>
> inherit update-rc.d
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Alsa-state: Wildcard removed and all *.state put back in the recipes
2009-03-22 14:49 ` Philip Balister
@ 2009-03-22 16:39 ` Andrea Adami
0 siblings, 0 replies; 7+ messages in thread
From: Andrea Adami @ 2009-03-22 16:39 UTC (permalink / raw)
To: openembedded-devel
tested here. thx.
Acked-by: Andrea Adami (andrea.adami@gmail.com)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Alsa-state: Wildcard removed and all *.state put back in the recipes
2009-03-22 14:12 [PATCH] Alsa-state: Wildcard removed and all *.state put back in the recipes Matthieu Poullet
2009-03-22 14:49 ` Philip Balister
@ 2009-03-22 18:29 ` Marcin Juszkiewicz
2009-03-22 19:15 ` Marcin Juszkiewicz
2009-03-22 19:26 ` Marcin Juszkiewicz
1 sibling, 2 replies; 7+ messages in thread
From: Marcin Juszkiewicz @ 2009-03-22 18:29 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]
Dnia niedziela, 22 marca 2009 o 15:12:22 Matthieu Poullet napisał(a):
> The wildcard doesn't work properly.
> So either the wildcard support must be fixed or all the *.state files
> must be added in the SRC_URI.
NACK
> diff --git a/recipes/alsa/alsa-state.bb b/recipes/alsa/alsa-state.bb
> index 3ebc0d5..a878c57 100644
> --- a/recipes/alsa/alsa-state.bb
> +++ b/recipes/alsa/alsa-state.bb
> @@ -13,7 +13,15 @@ SRC_URI = "\
> file://asound.conf \
> file://asound.state \
> file://alsa-state \
> - file://*.state \
> + file://asound.state \
This should be enough. BitBake will take proper asound.state from
MACHINE/ directory if it is present.
> + file://at91sam9263ek/asound.state \
> + file://spitz/asound.state \
> + file://tosa/asound.state \
> + file://c7x0/asound.state \
> + file://magician/asound.state \
> + file://hx4700/asound.state \
> + file://nokia800/asound.state \
> + file://akita/asound.state \
That part is wrong.
Regards,
--
JID: hrw@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 204 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Alsa-state: Wildcard removed and all *.state put back in the recipes
2009-03-22 18:29 ` Marcin Juszkiewicz
@ 2009-03-22 19:15 ` Marcin Juszkiewicz
2009-03-22 19:26 ` Marcin Juszkiewicz
2009-03-22 19:26 ` Marcin Juszkiewicz
1 sibling, 1 reply; 7+ messages in thread
From: Marcin Juszkiewicz @ 2009-03-22 19:15 UTC (permalink / raw)
To: openembedded-devel
> > diff --git a/recipes/alsa/alsa-state.bb
I looked more at that recipe and found few bugs in it:
1. It assumes that 'asound.conf' is same for all devices. This is not
true for 'at91sam9263ek' which kernel oops with default file.
2. It plays with INITSCRIPT_PARAMS in postinst script. I do not know
maybe it was required in past but why it is present now? No idea and
no info in recipe why it is that way.
3. Postinst script restore default ALSA settings which is ugly too -
what if user just muted all channels to have device quiet during
night and postinst just makes his 1000W 7.1 audio system goes to full
volume at 02:00 at night?
4. With current version is is broken for a780 device which has few
states files available.
Regards,
--
JID: hrw@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Alsa-state: Wildcard removed and all *.state put back in the recipes
2009-03-22 19:15 ` Marcin Juszkiewicz
@ 2009-03-22 19:26 ` Marcin Juszkiewicz
0 siblings, 0 replies; 7+ messages in thread
From: Marcin Juszkiewicz @ 2009-03-22 19:26 UTC (permalink / raw)
To: openembedded-devel
Dnia niedziela, 22 marca 2009 o 20:15:33 Marcin Juszkiewicz napisał(a):
> > > diff --git a/recipes/alsa/alsa-state.bb
>
> I looked more at that recipe and found few bugs in it:
>
> 1. It assumes that 'asound.conf' is same for all devices. This is not
> true for 'at91sam9263ek' which kernel oops with default file.
fixed in 139b0c1bad85fb628bc6a265a6da08dd190f684a
> 2. It plays with INITSCRIPT_PARAMS in postinst script. I do not know
> maybe it was required in past but why it is present now? No idea
> and no info in recipe why it is that way.
> 3. Postinst script restore default ALSA settings which is ugly too -
> what if user just muted all channels to have device quiet during
> night and postinst just makes his 1000W 7.1 audio system goes to
> full volume at 02:00 at night?
> 4. With current version is is broken for a780 device which has few
> states files available.
fixed in 30b5d30c274b2ae748ed65edea62cef40a23ce32
Regards,
--
JID: hrw@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Alsa-state: Wildcard removed and all *.state put back in the recipes
2009-03-22 18:29 ` Marcin Juszkiewicz
2009-03-22 19:15 ` Marcin Juszkiewicz
@ 2009-03-22 19:26 ` Marcin Juszkiewicz
1 sibling, 0 replies; 7+ messages in thread
From: Marcin Juszkiewicz @ 2009-03-22 19:26 UTC (permalink / raw)
To: openembedded-devel
Dnia niedziela, 22 marca 2009 o 19:29:47 Marcin Juszkiewicz napisał(a):
> > The wildcard doesn't work properly.
> > So either the wildcard support must be fixed or all the *.state
> > files must be added in the SRC_URI.
>
> NACK
fix pushed in dc6fc903acadd55c5fc5156f6997e0c055028a76
Regards,
--
JID: hrw@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-03-22 19:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-22 14:12 [PATCH] Alsa-state: Wildcard removed and all *.state put back in the recipes Matthieu Poullet
2009-03-22 14:49 ` Philip Balister
2009-03-22 16:39 ` Andrea Adami
2009-03-22 18:29 ` Marcin Juszkiewicz
2009-03-22 19:15 ` Marcin Juszkiewicz
2009-03-22 19:26 ` Marcin Juszkiewicz
2009-03-22 19:26 ` Marcin Juszkiewicz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.