From 34309bc1e6b092e3af5c5d559ad17cee77e99eca Mon Sep 17 00:00:00 2001 From: duerpei Date: Fri, 27 May 2022 10:51:24 +0800 Subject: pipewire: Fix recipe style error The bitbake recipe has style guide at https://www.openembedded.org/wiki/Styleguide In do_install Don't use mkdir to create destination directories, use install -d instead. Bug-AGL: SPEC-4401 Signed-off-by: duerpei Change-Id: Iaf33b842321e0199aee7227077520a12a9a53d74 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27562 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.47.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.47.bbappend') diff --git a/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.47.bbappend b/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.47.bbappend index 0b6f3ec1c..4cd74a818 100644 --- a/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.47.bbappend +++ b/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.47.bbappend @@ -15,7 +15,7 @@ do_install:append() { # install symlinks to alsalib configuration files for i in 50-pipewire.conf 99-pipewire-default.conf; do if [ -f ${D}${datadir}/alsa/alsa.conf.d/${i} ]; then - mkdir -p ${D}${sysconfdir}/alsa/conf.d + install -d ${D}${sysconfdir}/alsa/conf.d ln -s ${datadir}/alsa/alsa.conf.d/${i} ${D}${sysconfdir}/alsa/conf.d/${i} fi done -- cgit 1.2.3-korg