From 620c61da06f56520f500d7c2f3cd07a5177adcfc Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Tue, 8 Nov 2022 15:40:56 -0800 Subject: meta-google: mstpd: Fix build Sometimes the build does not include directories we remove based on some system non-determinism. Change-Id: Ia1c1d66349f1aa0a1bd3ae7860ec10d10fc31b5d Signed-off-by: William A. Kennington III --- meta-google/recipes-extended/networking/mstpd_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-google') diff --git a/meta-google/recipes-extended/networking/mstpd_git.bb b/meta-google/recipes-extended/networking/mstpd_git.bb index 309f626fa9..faa08c549c 100644 --- a/meta-google/recipes-extended/networking/mstpd_git.bb +++ b/meta-google/recipes-extended/networking/mstpd_git.bb @@ -19,8 +19,8 @@ SYSTEMD_PACKAGES = "${PN}-mstpd" SYSTEMD_SERVICE:${PN}-mstpd = "mstpd.service" do_install:append() { - rm -r ${D}${libexecdir} ${D}${libdir}/NetworkManager - rmdir ${D}${libdir} + rm -rf ${D}${libexecdir} ${D}${libdir}/NetworkManager + rmdir ${D}${libdir} || true install -d -m 0755 ${D}/sbin install -m 0755 ${WORKDIR}/bridge-stp ${D}/sbin -- cgit v1.2.3