Skip to contentSkip to conversation

frr: add PACKAGECONFIG for fpm

PATCH In review Yi Zhao 2 participants 3 messages Apr 25, 2022 – Apr 26, 2022

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 frr: add PACKAGECONFIG for fpm

The Forwarding Plane Manager support is optional, make it as PACKAGECONFIG.

---
 meta-networking/recipes-protocols/frr/frr/frr.pam  | 2 +-
 meta-networking/recipes-protocols/frr/frr_8.2.2.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-protocols/frr/frr/frr.pam +1 -1
index 3541a975a..83c403c2b 100644
@@ -1,5 +1,5 @@
 #
-# The PAM configuration file for the quagga `vtysh' service
+# The PAM configuration file for the frr `vtysh' service
 #
 
 # This allows root to change user infomation without being
meta-networking/recipes-protocols/frr/frr_8.2.2.bb +1 -1
index 91e306f08..b6e180e2c 100644
@@ -36,6 +36,7 @@ RDEPENDS:${PN}:class-target = "iproute2 python3-core bash"
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
 PACKAGECONFIG:class-native = ""
 
+PACKAGECONFIG[fpm] = "--enable-fpm,--disable-fpm"
 PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam"
 PACKAGECONFIG[grpc] = "--enable-grpc,--disable-grpc,grpc-native grpc"
 PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp"
@@ -52,7 +53,6 @@ EXTRA_OECONF:class-target = "--sbindir=${libdir}/frr \
                              --sysconfdir=${sysconfdir}/frr \
                              --localstatedir=${localstatedir}/run/frr \
                              --enable-vtysh \
-                             --enable-fpm \
                              --enable-multipath=64 \
                              --enable-user=frr \
                              --enable-group=frr \
Signature · 1 line
2.25.1
#1 lore raw

I am seeing

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1681

This could be an intermittent failure due to build time race or related to this change perhaps, I have seen this before too. Can you look into it ?

Quoted 53 lines · Yi Zhao

The Forwarding Plane Manager support is optional, make it as PACKAGECONFIG.

---
 meta-networking/recipes-protocols/frr/frr/frr.pam  | 2 +-
 meta-networking/recipes-protocols/frr/frr_8.2.2.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-protocols/frr/frr/frr.pam +1 -1
index 3541a975a..83c403c2b 100644
@@ -1,5 +1,5 @@
 #
-# The PAM configuration file for the quagga `vtysh' service
+# The PAM configuration file for the frr `vtysh' service
 #
 
 # This allows root to change user infomation without being
meta-networking/recipes-protocols/frr/frr_8.2.2.bb +1 -2
index 91e306f08..b6e180e2c 100644
@@ -36,6 +36,7 @@ RDEPENDS:${PN}:class-target = "iproute2 python3-core bash"
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
 PACKAGECONFIG:class-native = ""
 
+PACKAGECONFIG[fpm] = "--enable-fpm,--disable-fpm"
 PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam"
 PACKAGECONFIG[grpc] = "--enable-grpc,--disable-grpc,grpc-native grpc"
 PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp"
@@ -52,7 +53,6 @@ EXTRA_OECONF:class-target = "--sbindir=${libdir}/frr \
                              --sysconfdir=${sysconfdir}/frr \
                              --localstatedir=${localstatedir}/run/frr \
                              --enable-vtysh \
-                             --enable-fpm \
                              --enable-multipath=64 \
                              --enable-user=frr \
                              --enable-group=frr \
--

2.25.1

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

author
#2 lore raw
Quoted 7 lines · Khem Raj

I am seeing

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1681

This could be an intermittent failure due to build time race or related to this change perhaps, I have seen this before too. Can you look into it ?

OK. I will look into it. Thanks.

//Yi

Quoted 54 lines · Yi Zhao
Quoted 52 lines

The Forwarding Plane Manager support is optional, make it as PACKAGECONFIG.

---
  meta-networking/recipes-protocols/frr/frr/frr.pam  | 2 +-
  meta-networking/recipes-protocols/frr/frr_8.2.2.bb | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-protocols/frr/frr/frr.pam +1 -1
index 3541a975a..83c403c2b 100644
@@ -1,5 +1,5 @@
  #
-# The PAM configuration file for the quagga `vtysh' service
+# The PAM configuration file for the frr `vtysh' service
  #
 
  # This allows root to change user infomation without being
meta-networking/recipes-protocols/frr/frr_8.2.2.bb +1 -2
index 91e306f08..b6e180e2c 100644
@@ -36,6 +36,7 @@ RDEPENDS:${PN}:class-target = "iproute2 python3-core bash"
  PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
  PACKAGECONFIG:class-native = ""
 
+PACKAGECONFIG[fpm] = "--enable-fpm,--disable-fpm"
  PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam"
  PACKAGECONFIG[grpc] = "--enable-grpc,--disable-grpc,grpc-native grpc"
  PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp"
@@ -52,7 +53,6 @@ EXTRA_OECONF:class-target = "--sbindir=${libdir}/frr \
                               --sysconfdir=${sysconfdir}/frr \
                               --localstatedir=${localstatedir}/run/frr \
                               --enable-vtysh \
-                             --enable-fpm \
                               --enable-multipath=64 \
                               --enable-user=frr \
                               --enable-group=frr \
--

2.25.1

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