summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/alsa-state
Commit message (Collapse)AuthorAgeFilesLines
* alsa-state: ignore 'No soundcards found' error in pkg_postinstYi Zhao2020-04-241-1/+1
| | | | | | | | | | | | | | | If there is no soundcards on the target (e.g. qemu), the pkp_postinst function will report an error: alsactl: load_state:1735: No soundcards found... pkg_run_script: package "alsa-state" postinst script returned status 19. opkg_configure: alsa-state.postinst returned 19. Pass '-g' option to alsactl to ignore this error. (From OE-Core rev: 100fce2a65582b9032cb9412fbe8ca572a0549b1) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-state: Add HOMEPAGE info into recipe file.Huang Qiyu2017-09-211-0/+1
| | | | | | | | (From OE-Core rev: f967351694709a93ba6d1553e5b400a8cb5c8589) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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] (From OE-Core rev: 9d220b1bfe4589736604dd5a7129e3699377d830) Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 9b9da6667b606a56c89abc1b458f52dcca9774e9) 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] (From OE-Core rev: 39759640c8abe51c8ded4c1ca6853b523a81c2f5) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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 * (From OE-Core rev: 5ffb38d6ace7faae839c8cac7327b5b1c2daae1a) 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. (From OE-Core rev: b60c68a4ea937a647e13d69dfecefb7dcbda95a0) 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 (From OE-Core rev: ad17dfd31a2b97b3e610a0ea0889f5ecb2a63b97) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: f9f193219bd510160b6b09bae652a9dc8ea01e7b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 6690c12cb1977f6bf93f3eb6d471dbd7db81bf28) 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-301-0/+10
| | | | | | | (From OE-Core rev: c8d687f409a19312b34e215e7caaa39199598ed0) 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-142-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. (From OE-Core rev: 04c73333e4b539de96f096ca2954b2313175edc4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-state: Provide an empty asound.conf by defaultDarren Hart2013-07-131-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. (From OE-Core rev: 736b0da53b3b38224ae3cb6f0ebd21da7fb04f4d) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 72fd0993d8643d7ca52d954d65395585fdf34b03) 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
| | | | | | | (From OE-Core rev: 358ad279d525ca3c806cbb6ceadb2d6170468d80) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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). (From OE-Core rev: 896924c72e7b37c18819229e8160c34cdf4465c8) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 8bc43c40cf72d5543924229146fa4106ad87b147) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>