Hi Toim, tom wrote: > [...] > >> If I running: > >> $ ptxdist clean root > >> $ ptxdist images > >> the /etc/asound.state does not exist in the target root! > >> > >> Some changes in other Files like /etc/fstab are deployed... > >> > >> Seems that no rule exists with 'install_alternative' anywhere! > > > > In older PTXdist versions: yes. > > Why do you remove it in the newer once? > It's a good Place for a default setup.....
"no rule exists" -> "In older PTXdist versions: yes" So: in older PTXdist versions 'install_alternative' does not exist, in newer PTXdist versions it comes with a 'install_alternative'. Double negative is always hard to understand :) > >> alsactl is part of the alsa-utils - so I guess this is the right rule I > >> have to change? > >> But how to manage this?? > > > > Take a look into the rule file (alsa-utils.make) and search for the > > string "/etc/asound.state". You should find it in the targetinstall > > stage. And this line is only activated if PTXCONF_ALSA_UTILS_ASOUND_STATE > > is enabled. Did you enable it in your menuconfig? > > Great that's the point - many thanks!!!! > > "restoring mixer state...done" \o/ Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
