From patchwork Sun Mar 1 15:17:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1247329 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.133; helo=hemlock.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=GSBQrJVf; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Vn322YWwz9sSN for ; Mon, 2 Mar 2020 02:18:05 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1F8398782E; Sun, 1 Mar 2020 15:18:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u8D5f7Yoq86r; Sun, 1 Mar 2020 15:18:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5D05C87695; Sun, 1 Mar 2020 15:18:03 +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 5FFFE1BF954 for ; Sun, 1 Mar 2020 15:18:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 25C9080657 for ; Sun, 1 Mar 2020 15:18:01 +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 heKUXQKw9W6H for ; Sun, 1 Mar 2020 15:18:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 6140784E5F for ; Sun, 1 Mar 2020 15:18:00 +0000 (UTC) Received: by mail-qk1-f170.google.com with SMTP id p62so4983662qkb.0 for ; Sun, 01 Mar 2020 07:18:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xGcU1FlV8/9TcOgb0+d0w0MBrGqe4M4BWiJvLR2RSag=; b=GSBQrJVfhj+Hxd4VbZ//2oxCUfVO8GWjxwX4hsWoXdXowKjMHYfawvAAfNDYf/SQTo D5cbPQLKT21iCDraUrK1iGNoNArwWR9M1HmEE1hy1mUv6I5YUV8yvPRm+ujPiUG7YeVc vnPxP44codJoTXN7XnEvLWudca2WXD2fIFjgsiXvmp0M+xULeMSgu2aY4IV1a0NA7lAD fxNE9r4/xtz5jU8cPeTy7KEzSLC9bC5VjWXRtidVuIU2ANn0msqWofY09x7AT2thM3vo cdsTBSP5cE0yvItGDGMePaPUTXodk2k5RydbzzMqYyB7PF5538X60hgkaog11QrQm3jD rTtw== 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:in-reply-to :references; bh=xGcU1FlV8/9TcOgb0+d0w0MBrGqe4M4BWiJvLR2RSag=; b=h16PP9Wd4QV5ykWrw3JrXst3qnO3NS8TUIx2pMxZ2+IDjG8sTuDECg8KCqfLpTiOns 4OdalPaJmT1fIu/OM8tENFxP/00HKCUcL6wDcEUULKJusYc+xw9jAhq1HQVpTpTfsWcg F34Q7aiDOh4TsuL8Vbgao69VBYSqDc12iWntfzI5D3WNazSqzDi4SpMCOkpgXpgg6WaO ytlVejyD5twnbe4qbCDNTMn6zGV3wsHVduYfjv/odB0x14QQEgL+VdMexC//QWUZxTYG V4ppMSjng9p/ldoRTawuqqys02SJyLggMxvTA14f7uxJdDQpzhdgdr2rOeLlcq/i9sz3 VRAw== X-Gm-Message-State: APjAAAV2zW4Xiz7q8eHS3hNkGyxG+fPJ6CiSTDNMW6s0sIucIdXXWkFF kwpnu+b8OJncWxrpQLzjiYxGC00X X-Google-Smtp-Source: APXvYqx99leIYeyUAONl9rO7yW9G7xC4PWGkigJXluXl0oBluEEEEdrEjEDD2Id+zWW/8VjfZhKXiA== X-Received: by 2002:a37:27c2:: with SMTP id n185mr12623698qkn.423.1583075879093; Sun, 01 Mar 2020 07:17:59 -0800 (PST) Received: from casantos.remote.com (200.175.82.32.dynamic.adsl.gvt.net.br. [200.175.82.32]) by smtp.gmail.com with ESMTPSA id t37sm8866302qth.0.2020.03.01.07.17.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Mar 2020 07:17:58 -0800 (PST) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Sun, 1 Mar 2020 12:17:45 -0300 Message-Id: <20200301151747.25723-3-unixmania@gmail.com> X-Mailer: git-send-email 2.18.2 In-Reply-To: <20200301151747.25723-1-unixmania@gmail.com> References: <20200301151747.25723-1-unixmania@gmail.com> Subject: [Buildroot] [PATCH/next v2 2/4] package/openrc: bump to version 0.42.1 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: Adam Duskett , =?utf-8?b?TWljaGHFgiDFgXlzemN6ZWs=?= MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett Add a patch to prevent starting agetty on tty[1-6]. Buildroot starts a single getty, according to the system configuration. Also tty[1-6] may not even exist (e.g. embedded devices with serial consoles only). Signed-off-by: Adam Duskett Signed-off-by: Carlos Santos --- Changes v1->v2: - Fix agetty issue --- ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 34 +++++++++++++++++++ package/openrc/openrc.hash | 2 +- package/openrc/openrc.mk | 2 +- 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch new file mode 100644 index 0000000000..733506ada9 --- /dev/null +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch @@ -0,0 +1,34 @@ +From 014dc43447fa553e875984ac4a528e5916cc9e06 Mon Sep 17 00:00:00 2001 +From: Carlos Santos +Date: Sat, 29 Feb 2020 22:41:30 -0300 +Subject: [PATCH] runlevels: do not add agetty.tty[1-6] if MKSYSVINIT=yes + +Buildroot starts a single getty, according to the system configuration. +Also tty[1-6] may not exist (e.g. embedded devices with serial consoles +only). + +Signed-off-by: Carlos Santos +--- + runlevels/Makefile | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/runlevels/Makefile b/runlevels/Makefile +index 73843d8b..dbfb59ca 100644 +--- a/runlevels/Makefile ++++ b/runlevels/Makefile +@@ -90,12 +90,6 @@ install: + fi; \ + ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ + fi +- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ +- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ +- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ +- done; \ +- fi + + check test:: + +-- +2.18.2 + diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash index 7d58e254c4..bb5880806d 100644 --- a/package/openrc/openrc.hash +++ b/package/openrc/openrc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 c99488ca54f2b795328d07bbd456ade49b571136bba7501f7eaaeb1ca9f9ecc4 openrc-0.41.2.tar.gz +sha256 91a01ca6d930a0688fb91338209985de57cac7aa2d37feddacb78fd3d95308e2 openrc-0.42.1.tar.gz sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index ce0b05e965..6057451bfe 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.41.2 +OPENRC_VERSION = 0.42.1 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE