diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-01-19 15:18:16 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-13 07:44:09 +0000 |
commit | a4d08aebaea24a2d8266622a04572b80a2f1f14d (patch) | |
tree | 5834891bc76cef5c36de9e99d92ba0697b309956 /meta/recipes-extended/libtirpc | |
parent | 81a5f765112ea275835eb5bed9d2296bd671c3c4 (diff) | |
download | poky-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.bb | 2 |
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 | |||
22 | EXTRA_OECONF = "--disable-gssapi" | 22 | EXTRA_OECONF = "--disable-gssapi" |
23 | 23 | ||
24 | do_install_append() { | 24 | do_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 | ||
28 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |