From patchwork Sat Apr 18 21:39:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1272736 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=FdHdsfgK; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 494RF44N34z9sP7 for ; Sun, 19 Apr 2020 07:39:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DD54B20423; Sat, 18 Apr 2020 21:39:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xZnh+PAm8vv7; Sat, 18 Apr 2020 21:39:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6C0E020468; Sat, 18 Apr 2020 21:39:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 7F11A1BF57C for ; Sat, 18 Apr 2020 21:39:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 786AC85A00 for ; Sat, 18 Apr 2020 21:39:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cpO_yYRL7bLt for ; Sat, 18 Apr 2020 21:39:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt1-f193.google.com (mail-qt1-f193.google.com [209.85.160.193]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 41F9C858D2 for ; Sat, 18 Apr 2020 21:39:31 +0000 (UTC) Received: by mail-qt1-f193.google.com with SMTP id l13so5313876qtr.7 for ; Sat, 18 Apr 2020 14:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=YOyTZX9mNvQTtCSk+VBputPijVL1b8UajDxVAby3qYA=; b=FdHdsfgKm3dYKjtHij6eoVmsO0a9Ur/Zl7zokApW0aAT0i4f83JbPcu7NZhxJOr1g6 oN3/8vujl1gewEk6Er6ziWT2d+rSU+C1RRwauNrwcsGe94DGIYtyXf/ezNUFWRrjr3vl ZUjR9DNjk15YjbWH9970MWndxa8fdKNJ4h4/GKIvI5Q/ZTW9/CIkcbv07UZ2SLuODuRa RnmboZbjXjloDlUwVprVDurnCxlkmb7mDho/F98euX7GhiJW4kjTVSxyfJAEoEK00VF/ XKlLJPZSxcv5Nnl/mlsnuYewKmMzL2jLbAsC01UpcEY3StLjt44/Ud5iHKIZtC+7v+/A Q/Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=YOyTZX9mNvQTtCSk+VBputPijVL1b8UajDxVAby3qYA=; b=nEh7vLRHCg0ho6AxaAMNDE3pRPnykphivZENgo4LRn+ZajHAocHOD0oZYbKwXES6Tj IQrp5pPyrD393Wq147oQDFyKm2aYrQiXGuKhgr10ejh8DZ0gWp+KOqkpoRGZV+FrYaxg htZa1XonVqBCDBOIZYc3OsEQRrC9OhKcDJ6jH95VFZ68wVv97+2wDTgplljB4S/z9NI9 f6zjJBvaa2RSuFKboSK+gPA+g20yq89x0wJqqmhMjA07X6ptOBDtH7HLks5GE092PRAZ X9vB9UQstlByHk2aaBGORfprk+ZGCuuxOXBKsFlIK/O60AHJ5nsgKT9J4EuaeaJLkcJ3 5fhQ== X-Gm-Message-State: AGi0Pub4gUXreaSXlnIiEH5a5U3VaeKI7Ae1R0dgBSRdGT97JG5C9qFp BPh/RFZBPweJAHBrq6wQAcPmvzK+ X-Google-Smtp-Source: APiQypLpcpEd8Dynf5WQPWJqSZ9KKwN8AZu1p5EPeEi5QBtQVrIJ37DiGJmqKMmQTTW9hHGD/YLFVQ== X-Received: by 2002:aed:2766:: with SMTP id n93mr9331787qtd.130.1587245969980; Sat, 18 Apr 2020 14:39:29 -0700 (PDT) Received: from casantos.remote.csb.com (189.27.141.225.dynamic.adsl.gvt.net.br. [189.27.141.225]) by smtp.gmail.com with ESMTPSA id 190sm13514950qkl.46.2020.04.18.14.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Apr 2020 14:39:29 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Sat, 18 Apr 2020 18:39:23 -0300 Message-Id: <20200418213923.1548313-1-unixmania@gmail.com> X-Mailer: git-send-email 2.18.2 Subject: [Buildroot] [PATCH] package/busybox: add BUSYBOX_INSTALL_INIT_OPENRC X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlos Santos , Adam Duskett MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Carlos Santos Install the sysvinit scripts, for the moment, but not S02sysctl, since openrc provides /etc/init.d/sysctl. Signed-off-by: Carlos Santos --- package/busybox/busybox.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index b9d82ed71e..5d5f3e92bd 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -355,6 +355,15 @@ define BUSYBOX_INSTALL_TARGET_CMDS $(BUSYBOX_INSTALL_MDEV_CONF) endef +# Install the sysvinit scripts, for the moment, but not those that already +# have a corresponding one in openrc. +define BUSYBOX_INSTALL_INIT_OPENRC + $(BUSYBOX_INSTALL_MDEV_SCRIPT) + $(BUSYBOX_INSTALL_LOGGING_SCRIPT) + $(BUSYBOX_INSTALL_WATCHDOG_SCRIPT) + $(BUSYBOX_INSTALL_TELNET_SCRIPT) +endef + define BUSYBOX_INSTALL_INIT_SYSV $(BUSYBOX_INSTALL_MDEV_SCRIPT) $(BUSYBOX_INSTALL_LOGGING_SCRIPT)