summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/alsa-state
Commit message (Collapse)AuthorAgeFilesLines
* meta: set proper S valuePetter Mab├Ącker2015-01-231-0/+2
| | | | | | | | | | | After removal of auto-creating S we must ensure that all recipes are using a proper value for S. Fix all recipes that only need to set S equals to WORKDIR. [YOCTO #5627] Signed-off-by: Petter Mab├Ącker <petter@technux.se>
* alsa-state: fix pkg_postinst and set INHIBIT_UPDATERCD_BBCLASSChen Qi2014-09-031-4/+7
| | | | | | | | | | | | | As alsa-state inherits update-rc.d, the update-rc.d part inpostinst script has already been handled in update-rc.d.bbclass. Besides, we need to set INHIBIT_UPDATERCD_BBCLASS to "1" if 'sysvinit' is not in DISTRO_FEATURES. This is because the init script is not installed in such situation, adding update-rc.d part in the preinst/postinst scripts just makes no sense. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-state: install init script only when 'sysvinit' is in DISTRO_FEATURESChen Qi2014-08-111-3/+7
| | | | | | | | | | | | | The /etc/init.d/alsa-state is totally useless for a systemd image. Its functionality has been replaced by alsa-state.service files. So if 'sysvinit' is not in DISTRO_FEATURES, installing this script doesn't make any sense. [YOCTO #4420] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* PR bumps to remove PRINC use in meta-openpliMike Looijmans2014-04-241-1/+1
| | | | | | | Resolves warnings of this kind in the OpenPLi layer: WARNING: Use of PRINC * was detected in the recipe * Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PR bumps to remove PRINC use in meta-fsl-armOtavio Salvador2014-03-071-1/+1
| | | | | | | Those recipes need PR bump so we drop PRINC from meta-fsl-arm layer. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet2014-02-201-1/+1
| | | | | | | | | | | | | | | Completes previous commit b5292d4115a4555a66b5e35acdc67dd71fb8577f. Updates SUMMARY[doc] (meta/conf/documentation.conf). Changes: - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Revert "Add missing RDEPENDS of initscripts-functions"Chen Qi2014-02-021-1/+1
| | | | | | | | | | | | Instead of manually adding initscripts to RDEPENDS of each package, we should make it automatically handled by the update-rc.d.bbclass. This solution would have the benefit of backward compatibility. In other words, users need not modify their recipes. This reverts commit 16080a3485bd793edd66ed8361f1e8b86a9e19ea. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Add missing RDEPENDS of initscripts-functionsChen Qi2014-01-061-1/+1
| | | | | | | | | Now that the initscripts-functions has been packaged separately, packages which may use the functions script should have a runtime dependency on it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-state: add status commandLi Wang2013-11-291-0/+10
| | | | | Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-state: Rename init scriptRichard Purdie2013-10-112-3/+3
| | | | | | | | | | | Having a SRC_URI called ${PN} is asking for trouble. When extending FILESPATH, alsa-state can be treated as a directory and copied over the contents of ${WORKDIR} which is invariably not what the user wants. Avoid this by renaming the SRC_URI to something else and only call it alsa-state at install time. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-state: Provide an empty asound.conf by defaultDarren Hart2013-07-121-12/+1
| | | | | | | | | | | | | An empty asound.conf should work for most cases. The existing asound.conf uses plug dmix which causes arecord to fail without a special -D device specification on the command line (as no capture device is defined). Clear asound.conf for the default case. Any needed changes should be made in the BSP layers. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* alsa-state: use ${sbindir} instead of /usr/sbin for packagingJavier Martinez Canillas2012-08-061-3/+3
| | | | | | | | It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-state: fix RDEPENDS assignmentKoen Kooi2012-02-011-3/+2
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* alsa-state: move state files to localstatedirJoshua Lock2012-01-172-6/+8
| | | | | | | | | | | alsactl creates the state files in /var/lib/alsa by default so switch alsa-state to use files in that location. Further, update the alsa-state init script to have the location of the state files sed'ed into the script at do_install time (so as to remove hard coding of directory paths). Signed-off-by: Joshua Lock <josh@linux.intel.com>
* alsa-state: add alsa-state from oe classicJoshua Lock2012-01-174-0/+99
alsa-state adds an init script and configuration files to enable a consistent and centralised mechanism for setting and restoring alsa configuration. Signed-off-by: Joshua Lock <josh@linux.intel.com>