{"id":2226191,"url":"http://patchwork.ozlabs.org/api/patches/2226191/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20260422-frr_service-v1-1-b9aa85034931@bootlin.com/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260422-frr_service-v1-1-b9aa85034931@bootlin.com>","list_archive_url":null,"date":"2026-04-22T10:35:54","name":"package/frr: install systemd service files","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"6accdb77e8aed14560eadf4e5f9d41c4ea6d81ae","submitter":{"id":85775,"url":"http://patchwork.ozlabs.org/api/people/85775/?format=json","name":"Alexis Lothoré","email":"alexis.lothore@bootlin.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20260422-frr_service-v1-1-b9aa85034931@bootlin.com/mbox/","series":[{"id":500970,"url":"http://patchwork.ozlabs.org/api/series/500970/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=500970","date":"2026-04-22T10:35:54","name":"package/frr: install systemd service files","version":1,"mbox":"http://patchwork.ozlabs.org/series/500970/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2226191/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2226191/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@buildroot.org>","X-Original-To":["incoming-buildroot@patchwork.ozlabs.org","buildroot@buildroot.org"],"Delivered-To":["patchwork-incoming-buildroot@legolas.ozlabs.org","buildroot@buildroot.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=prlMLu/K;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"],"Received":["from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0wcY2RB2z1yD5\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Wed, 22 Apr 2026 20:36:11 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id EEE6A61704;\n\tWed, 22 Apr 2026 10:36:08 +0000 (UTC)","from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id HxLhzMuYkdAX; Wed, 22 Apr 2026 10:36:08 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 2BF0B61705;\n\tWed, 22 Apr 2026 10:36:08 +0000 (UTC)","from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n by lists1.osuosl.org (Postfix) with ESMTP id 080C8183\n for <buildroot@buildroot.org>; Wed, 22 Apr 2026 10:36:07 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id E1371403AE\n for <buildroot@buildroot.org>; Wed, 22 Apr 2026 10:36:06 +0000 (UTC)","from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id D1TCFZuPYjwy for <buildroot@buildroot.org>;\n Wed, 22 Apr 2026 10:36:06 +0000 (UTC)","from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 027D740093\n for <buildroot@buildroot.org>; Wed, 22 Apr 2026 10:36:05 +0000 (UTC)","from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n by smtpout-04.galae.net (Postfix) with ESMTPS id EC2B5C5C9BB\n for <buildroot@buildroot.org>; Wed, 22 Apr 2026 10:36:43 +0000 (UTC)","from mail.galae.net (mail.galae.net [212.83.136.155])\n by smtpout-01.galae.net (Postfix) with ESMTPS id 349165FA8F;\n Wed, 22 Apr 2026 10:36:03 +0000 (UTC)","from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 17C5A10460700;\n Wed, 22 Apr 2026 12:36:00 +0200 (CEST)"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2BF0B61705","OpenDKIM Filter v2.11.0 smtp2.osuosl.org 027D740093"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776854168;\n\tbh=AdYWd4We5zh9YaNz4ajpMDOsk208B1cwHtg2YTzVTPI=;\n\th=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From:Reply-To:From;\n\tb=prlMLu/K9WaXsMNZir/7drdVQxFA3NPDgZUv3+wU1fbLJdpB9v2Mkk8F4esXD5Usw\n\t lv91vyZioncF9pQZNPmSGgJmbErsh/T66Asaa/AQVyWWjjq/WuaYX6hEKfQYo8a2MT\n\t uWl9Lv+v6IO7xUZrkOAI0nleyhJzJ/Hz+aMw3fGH5IO8tLgKR1enE+mFTzDznQYYuQ\n\t xcYgvfP+PHK8oyBbjAH+LN0X9sQdOcD4+klXXLPpjFkZB4heNjdV+p3/5QEBIC1i8z\n\t tNn+O2rI6Z/mIG/8dntYsDqKbCMJAOjDwTte/XAx2UfsJpqH3S1aBIIJ20XWmwY9Zj\n\t fPlYYhS7wsIiw==","Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=185.171.202.116;\n helo=smtpout-04.galae.net; envelope-from=alexis.lothore@bootlin.com;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp2.osuosl.org 027D740093","Date":"Wed, 22 Apr 2026 12:35:54 +0200","MIME-Version":"1.0","Message-Id":"<20260422-frr_service-v1-1-b9aa85034931@bootlin.com>","X-B4-Tracking":"v=1; b=H4sIAAAAAAAC/yXMQQ5AMBBA0avIrDWpIU24iohQU8YCmSIS6d0Vy\n 7f4/wZPwuShSm4QOtnzukRkaQJ26paRFA/RgBqNLhCVE2ljc7IlVQ4lmg4NutxALDYhx9d3q5v\n f/uhnsvu7gBAeQvFC9m8AAAA=","X-Change-ID":"20260422-frr_service-9d926a262f36","To":"buildroot@buildroot.org","Cc":"Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n  Vadim Kochan <vadim4j@gmail.com>,\n =?utf-8?q?Alexis_Lothor=C3=A9?= <alexis.lothore@bootlin.com>","X-Mailer":"b4 0.15.2","X-Last-TLS-Session-Version":"TLSv1.3","X-Mailman-Original-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=bootlin.com; s=dkim;\n t=1776854162; h=from:subject:date:message-id:to:cc:mime-version:content-type:\n content-transfer-encoding; bh=tDcEfPrJWt6610QAv8+cbu4NxhI5FdDdZO+M0AdGn40=;\n b=MDCZFP5jEhkb0nmTJItH8pGsiR40QTYUzYOpZ0Y3mI2ekaSnfahfS1dkNypr9MkesPg8Yk\n eSynEvDS/7DkgE46IQCOnyHqK1PlMALYeavZZsLHbL82yyqXtBKMCtjIsvh5jO/vHcnjNb\n xkAn8pLnqcd6+bDQqyO+sMbizABGTObcILMQtoOCTtGpupGcGPh2gw/Xlo453aVgFzv5EC\n B0M2qk8YW610+2bDhQS0WoE0vgCh5Tv2d3H87xQtMdOl0lM94PoqiyatXrIv9AxQu6W/MA\n unP2+MV7YyeGn8IkuF9KR2X+vGhEGPsI5fzatQNEJ3JwtMDEy6DzaI4ucl0lnQ==","X-Mailman-Original-Authentication-Results":["smtp2.osuosl.org;\n dmarc=pass (p=reject dis=none)\n header.from=bootlin.com","smtp2.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=MDCZFP5j"],"Subject":"[Buildroot] [PATCH] package/frr: install systemd service files","X-BeenThere":"buildroot@buildroot.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.buildroot.org>","List-Unsubscribe":"<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>","List-Archive":"<http://lists.buildroot.org/pipermail/buildroot/>","List-Post":"<mailto:buildroot@buildroot.org>","List-Help":"<mailto:buildroot-request@buildroot.org?subject=help>","List-Subscribe":"<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>","From":"=?utf-8?q?Alexis_Lothor=C3=A9_via_buildroot?= <buildroot@buildroot.org>","Reply-To":"=?utf-8?q?Alexis_Lothor=C3=A9?= <alexis.lothore@bootlin.com>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"buildroot-bounces@buildroot.org","Sender":"\"buildroot\" <buildroot-bounces@buildroot.org>"},"content":"The FRR package currently only installs systemv services files. The\nupstream package also provides a systemd service file and a service\ntemplate file. Install those when systemd is selected as an init\nmanager.\n\nSigned-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>\n---\n package/frr/frr.mk | 7 +++++++\n 1 file changed, 7 insertions(+)\n\n\n---\nbase-commit: f6d196798d2714a3b094dbb23b47befc1692cb40\nchange-id: 20260422-frr_service-9d926a262f36\n\nBest regards,\n--  \nAlexis Lothoré <alexis.lothore@bootlin.com>","diff":"diff --git a/package/frr/frr.mk b/package/frr/frr.mk\nindex 61a34de4d36b..c5a12f699241 100644\n--- a/package/frr/frr.mk\n+++ b/package/frr/frr.mk\n@@ -131,5 +131,12 @@ define FRR_INSTALL_INIT_SYSV\n \t\t$(TARGET_DIR)/etc/init.d/S50frr\n endef\n \n+define FRR_INSTALL_INIT_SYSTEMD\n+\t$(INSTALL) -D -m 644 $(@D)/tools/frr.service \\\n+\t\t$(TARGET_DIR)/usr/lib/systemd/system/frr.service\n+\t$(INSTALL) -D -m 644 $(@D)/tools/frr@.service \\\n+\t\t$(TARGET_DIR)/usr/lib/systemd/system/frr@.service\n+endef\n+\n $(eval $(autotools-package))\n $(eval $(host-autotools-package))\n","prefixes":[]}