Skip to contentSkip to conversation

watchdog: Remove unneeded tirpc dependency

PATCH In review Paulo Neves 2 participants 4 messages Sep 12, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: Remove unneeded tirpc dependency

watchdog code does not have any dependency on rpc code, therefore the dependency and flags to try to use it are removed.

---
 meta/recipes-extended/watchdog/watchdog_5.16.bb | 4 ----
 1 file changed, 4 deletions(-)
meta/recipes-extended/watchdog/watchdog_5.16.bb +0 -4
index 26fcc10487..6031dcaa16 100644
@@ -28,10 +28,6 @@ UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/"
 
 inherit autotools update-rc.d systemd pkgconfig
 
-DEPENDS += "libtirpc"
-CFLAGS += "-I${STAGING_INCDIR}/tirpc"
-LDFLAGS += "-ltirpc"
-
 EXTRA_OECONF += " --disable-nfs "
 CACHED_CONFIGUREVARS += "ac_cv_path_PATH_SENDMAIL=${sbindir}/sendmail"
 
Signature · 1 line
2.25.1
#1 lore raw
Quoted 15 lines · Paulo Neves

watchdog code does not have any dependency on rpc code, therefore the dependency and flags to try to use it are removed.

---
 meta/recipes-extended/watchdog/watchdog_5.16.bb | 4 ----
 1 file changed, 4 deletions(-)
meta/recipes-extended/watchdog/watchdog_5.16.bb +0 -0
index 26fcc10487..6031dcaa16 100644

meta/recipes-extended/watchdog/watchdog_5.16.bb UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/" · line 34

Quoted 7 lines
meta/recipes-extended/watchdog/watchdog_5.16.bb +0 -4
@@ -28,10 +28,6 @@ UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/"
 
 inherit autotools update-rc.d systemd pkgconfig
 
-DEPENDS += "libtirpc"
-CFLAGS += "-I${STAGING_INCDIR}/tirpc"
-LDFLAGS += "-ltirpc"
-

does musl build works too ?

Quoted 15 lines
meta/recipes-extended/watchdog/watchdog_5.16.bb +0 -1
 EXTRA_OECONF += " --disable-nfs "
 CACHED_CONFIGUREVARS += "ac_cv_path_PATH_SENDMAIL=${sbindir}/sendmail"
 
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#170533): https://lists.openembedded.org/g/openembedded-core/message/170533
Mute This Topic: https://lists.openembedded.org/mt/93628579/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

it should as there is no rpc code in the project as far as i scanned. I built it with musl successfully.

Paulo Neves

Quoted 39 lines · Khem Raj
Quoted 14 lines · Paulo Neves

watchdog code does not have any dependency on rpc code, therefore the dependency and flags to try to use it are removed.

---
  meta/recipes-extended/watchdog/watchdog_5.16.bb | 4 ----
  1 file changed, 4 deletions(-)
meta/recipes-extended/watchdog/watchdog_5.16.bb +0 -0
index 26fcc10487..6031dcaa16 100644

meta/recipes-extended/watchdog/watchdog_5.16.bb UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/" · line 34

Quoted 7 lines
meta/recipes-extended/watchdog/watchdog_5.16.bb +0 -4
@@ -28,10 +28,6 @@ UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/"
 
  inherit autotools update-rc.d systemd pkgconfig
 
-DEPENDS += "libtirpc"
-CFLAGS += "-I${STAGING_INCDIR}/tirpc"
-LDFLAGS += "-ltirpc"
-

does musl build works too ?

Quoted 15 lines
meta/recipes-extended/watchdog/watchdog_5.16.bb +0 -1
  EXTRA_OECONF += " --disable-nfs "
  CACHED_CONFIGUREVARS += "ac_cv_path_PATH_SENDMAIL=${sbindir}/sendmail"
 
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#170533): https://lists.openembedded.org/g/openembedded-core/message/170533
Mute This Topic: https://lists.openembedded.org/mt/93628579/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw
Quoted 3 lines · Paulo Neves

it should as there is no rpc code in the project as far as i scanned. I built it with musl successfully.

OK thanks for confirming.

Quoted 44 lines

Paulo Neves

Quoted 39 lines · Khem Raj
Quoted 14 lines · Paulo Neves

watchdog code does not have any dependency on rpc code, therefore the dependency and flags to try to use it are removed.

---
  meta/recipes-extended/watchdog/watchdog_5.16.bb | 4 ----
  1 file changed, 4 deletions(-)
meta/recipes-extended/watchdog/watchdog_5.16.bb +0 -0
index 26fcc10487..6031dcaa16 100644

meta/recipes-extended/watchdog/watchdog_5.16.bb UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/" · line 34

Quoted 7 lines
meta/recipes-extended/watchdog/watchdog_5.16.bb +0 -4
@@ -28,10 +28,6 @@ UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/"
 
  inherit autotools update-rc.d systemd pkgconfig
 
-DEPENDS += "libtirpc"
-CFLAGS += "-I${STAGING_INCDIR}/tirpc"
-LDFLAGS += "-ltirpc"
-

does musl build works too ?

Quoted 15 lines
meta/recipes-extended/watchdog/watchdog_5.16.bb +0 -1
  EXTRA_OECONF += " --disable-nfs "
  CACHED_CONFIGUREVARS += "ac_cv_path_PATH_SENDMAIL=${sbindir}/sendmail"
 
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#170533): https://lists.openembedded.org/g/openembedded-core/message/170533
Mute This Topic: https://lists.openembedded.org/mt/93628579/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-