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-04 23:32:27 +0000 |
| commit | 445cb473af42b9183c49f7c2e42620efbbf8cfae (patch) | |
| tree | 8e0199fec879d114b38e026984079c6975e30b93 /meta | |
| parent | 70a416181803dc17e5be03724be25f67761c437f (diff) | |
| download | poky-445cb473af42b9183c49f7c2e42620efbbf8cfae.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: f7c2e4c768bb6870992a86bc500d960d4c88f929)
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')
| -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" |
