[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7594/8267] alsa-utils: Do not hardcode path to /lib/udev



commit 8e9ceff887eb270be34f224811799f86e9dc91a8
Author: Peter Kjellerstedt <peter kjellerstedt axis com>
Date:   Fri Sep 1 19:49:29 2017 +0200

    alsa-utils: Do not hardcode path to /lib/udev
    
    Use ${nonarch_base_libdir}/udev instead. This avoids problems when
    usrmerge is enabled in DISTRO_FEATURES and udev support is disabled.
    
    (From OE-Core rev: 0a4372705a030ca54ed420cdfec33d46ab93499c)
    
    Signed-off-by: Peter Kjellerstedt <peter kjellerstedt axis com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-multimedia/alsa/alsa-utils_1.1.4.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.1.4.bb 
b/meta/recipes-multimedia/alsa/alsa-utils_1.1.4.bb
index 54be50e..c8f4b86 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils_1.1.4.bb
+++ b/meta/recipes-multimedia/alsa/alsa-utils_1.1.4.bb
@@ -103,7 +103,7 @@ do_install() {
 
        if ${@bb.utils.contains('PACKAGECONFIG', 'udev', 'false', 'true', d)}; then
                # This is where alsa-utils will install its rules if we don't tell it anything else.
-               rm -rf ${D}/lib/udev
-               rmdir --ignore-fail-on-non-empty ${D}/lib
+               rm -rf ${D}${nonarch_base_libdir}/udev
+               rmdir --ignore-fail-on-non-empty ${D}${nonarch_base_libdir}
        fi
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]