diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-01-19 15:18:16 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-24 22:06:51 +0000 |
| commit | 1c42439dcabbd6f0ccb6c7a4720e99a1e52e6b0f (patch) | |
| tree | 60e82aa96afec2aaf78c05636eda15bca44b3050 | |
| parent | 02081ada4c7448cfcbdb0e761bf3144b07742942 (diff) | |
| download | poky-1c42439dcabbd6f0ccb6c7a4720e99a1e52e6b0f.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: 547f3a13ee9268bbdd439c96108ba1fe9ab78873)
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>
| -rw-r--r-- | meta/recipes-extended/libtirpc/libtirpc_1.3.3.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.3.3.bb b/meta/recipes-extended/libtirpc/libtirpc_1.3.3.bb index 8c6c20733c..f55e0b0ed1 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_1.3.3.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_1.3.3.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" |
