Skip to content

Commit 65b21c6

Browse files
committed
frr: Update frr-reload.py path to /usr/libexec/frr/
Update tools/frr-reload to reference frr-reload.py in the correct location (/usr/libexec/frr/ instead of /usr/lib/frr/). Add corresponding patch to the recipe build process. Signed-off-by: Slawomir Blaszczyk <bslawomir330>
1 parent 1ad0d77 commit 65b21c6

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From: Sławomir Błaszczyk <bslawomir330@gmail.com>
2+
Date: Tue, 07 Apr 2026 13:54:00 +0200
3+
Subject: [PATCH] tools: update frr-reload.py path to /usr/libexec/frr/
4+
5+
Upstream-Status: Submitted [https://github.com/openembedded/meta-openembedded/pull/1044]
6+
---
7+
tools/frr-reload | 4 ++--
8+
1 file changed, 2 insertions(+), 2 deletions(-)
9+
10+
diff --git a/tools/frr-reload b/tools/frr-reload
11+
index 75b31d0622..eb784da3d6 100755
12+
--- a/tools/frr-reload
13+
+++ b/tools/frr-reload
14+
@@ -1,7 +1,7 @@
15+
#!/bin/sh
16+
17+
-if test -e /usr/lib/frr/frr-reload.py; then
18+
- exec /usr/lib/frr/frr-reload.py --reload /etc/frr/frr.conf
19+
+if test -e /usr/libexec/frr/frr-reload.py; then
20+
+ exec /usr/frrexec/frr-reload.py --reload /etc/frr/frr.conf
21+
fi
22+
>&2 echo "Please install frr-pythontools package. Required for reload"
23+
exit 1
24+
--
25+
2.41.0

meta-networking/recipes-protocols/frr/frr_9.1.3.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = "file://doc/licenses/GPL-2.0;md5=b234ee4d69f5fce4486a80fdaf4a
1313
SRC_URI = "git://github.com/FRRouting/frr.git;protocol=https;branch=stable/9.1 \
1414
file://frr.pam \
1515
file://0001-zebra-Mimic-GNU-basename-API-for-non-glibc-library-e.patch \
16+
file://0002-tools-update-frr-reload.py-path-to-usr-libexec-frr.patch \
1617
file://CVE-2024-55553.patch \
1718
file://CVE-2025-61099-61100-61101-61102-61103-61104-61105-61106-61107_1.patch \
1819
file://CVE-2025-61099-61100-61101-61102-61103-61104-61105-61106-61107_2.patch \

0 commit comments

Comments
 (0)