summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libtirpc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-01-19 15:18:16 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-13 07:44:09 +0000
commita4d08aebaea24a2d8266622a04572b80a2f1f14d (patch)
tree5834891bc76cef5c36de9e99d92ba0697b309956 /meta/recipes-extended/libtirpc
parent81a5f765112ea275835eb5bed9d2296bd671c3c4 (diff)
downloadpoky-a4d08aebaea24a2d8266622a04572b80a2f1f14d.tar.gz
libtirpc: Check if file exists before operating on it
In some cases (e.g. mingw) this file may not be installed (From OE-Core rev: a764e19736f24b8bf67ea87d58dd74652d6d81c9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 547f3a13ee9268bbdd439c96108ba1fe9ab78873) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libtirpc')
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc_1.2.6.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.2.6.bb b/meta/recipes-extended/libtirpc/libtirpc_1.2.6.bb
index fe4e30e61f..80151ff83a 100644
--- a/meta/recipes-extended/libtirpc/libtirpc_1.2.6.bb
+++ b/meta/recipes-extended/libtirpc/libtirpc_1.2.6.bb
@@ -22,7 +22,7 @@ inherit autotools pkgconfig
22EXTRA_OECONF = "--disable-gssapi" 22EXTRA_OECONF = "--disable-gssapi"
23 23
24do_install_append() { 24do_install_append() {
25 chown root:root ${D}${sysconfdir}/netconfig 25 test -e ${D}${sysconfdir}/netconfig && chown root:root ${D}${sysconfdir}/netconfig
26} 26}
27 27
28BBCLASSEXTEND = "native nativesdk" 28BBCLASSEXTEND = "native nativesdk"