From patchwork Sun Mar 1 15:17:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1247327 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.138; helo=whitealder.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=XhZbBPWA; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Vn313FWfz9sSG for ; Mon, 2 Mar 2020 02:18:03 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1FEA38650D; Sun, 1 Mar 2020 15:18:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hU+UThDiwEzP; Sun, 1 Mar 2020 15:17:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 573AC86019; Sun, 1 Mar 2020 15:17:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0921E1BF2E3 for ; Sun, 1 Mar 2020 15:17:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0649586019 for ; Sun, 1 Mar 2020 15:17:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OuF6G0wxiM4v for ; Sun, 1 Mar 2020 15:17:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) by whitealder.osuosl.org (Postfix) with ESMTPS id 540B986005 for ; Sun, 1 Mar 2020 15:17:56 +0000 (UTC) Received: by mail-qk1-f179.google.com with SMTP id o28so7687692qkj.9 for ; Sun, 01 Mar 2020 07:17:56 -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; bh=Gvb0XwFytJPJZyhQMk6Mr4uqEn6j8yne4XMHFXAouhs=; b=XhZbBPWAgIywDsjovPPVAKOzk+A+RSZsz1o6hwpaY7qf8crnJ1VZQH05PiPeGuCAY+ m9rIaz8Ue3zNINWk02zEHYNIRiCKpP+VtZIKjoknv2+bpI7HXaA3nl6OOkwC0EZ2VEG/ kX40xuNuTFVElbeqTutMDlN7WR+lr7sfWO8J9D5fjEMexNsOd+SS8ujcARlTJe28Arap RpAtsAVlecbcVHoQJTQ1+RzYUZDszwn3FbIh4XFtSA09oacrTIbsiHhupvIeN8hz7rXn 0P355y57p0B/Oy16P1sed3TPCvoNRtqzCuAiEwOrEHK4c7nJRK4dEb2a3rUIJz2/rX/V feMw== 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=Gvb0XwFytJPJZyhQMk6Mr4uqEn6j8yne4XMHFXAouhs=; b=BNVorjpa5otG3Tm2mk+XYPHK1TFTpgdI3DTmqABXilOzyg0Gk4wsaKEkCejl1R5pVw KCScYydR0E92UihCQG7h3uLxZpvEYFrTw9sA5m3wzRaArzbrgCOYPQMYy+9xMpA6z0Rh aDelE0Dd8rL6KB8JPcK71CAU5gOLC/CCl9hWmxLCmYSd6YdZMs/3fIJbYb9IUpBWNILp OzqJ7nNRtBIraKrvEJfHjUeWa6+NibMteRilS75IscAAC2vyNm4OSCMBlO8woRng1We+ dukvt6w0Iv52JIrQtP6edzQFo4TutfUujgw/ftKbRcFZX+0LQkcB2lieXBPvr44PXNpj BKbg== X-Gm-Message-State: APjAAAXor5O8TvhdUaZOao52uU5z68lcmrF0sJtJUEjF/LnuKapKX7W1 sapZmmoEpMrXJzktipQH/g+cFnuU X-Google-Smtp-Source: APXvYqwKAlwKFexZL8KfVrKikmBC6ek8WRKQnCBU46f9ePwdH4VdCQ4K6WKVpdUf1oKCsu8sgbSC5w== X-Received: by 2002:a05:620a:707:: with SMTP id 7mr13011688qkc.231.1583075875043; Sun, 01 Mar 2020 07:17:55 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Mar 2020 07:17:54 -0800 (PST) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Sun, 1 Mar 2020 12:17:43 -0300 Message-Id: <20200301151747.25723-1-unixmania@gmail.com> X-Mailer: git-send-email 2.18.2 Subject: [Buildroot] [PATCH/next v2 0/4] 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: Carlos Santos , =?utf-8?b?TWljaGHFgiDFgXlzemN6?= =?utf-8?q?ek?= MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Carlos Santos 1. Drop the custom getty service, which has issues with openrc 0.42.1. Use the already existing agetty service, with two small patches. 2. Bump openrc to version 0.42.1. It requires a patch to prevent starting spurions agetty instances for tty[1-6]. 3. Add selinux support. 4. Add openrc tests. Adam Duskett (3): package/openrc: bump to version 0.42.1 package/openrc: add libselinux support support/testing: add openrc tests Carlos Santos (1): package/openrc: drop custom getty service .gitlab-ci.yml | 2 + ...ty-replace-sbin-agetty-by-sbin-getty.patch | 33 ++++++++++++ ...getty-start-agetty-after-all-sevices.patch | 29 +++++++++++ ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 34 +++++++++++++ package/openrc/getty | 24 --------- package/openrc/openrc.hash | 2 +- package/openrc/openrc.mk | 18 ++++--- support/testing/tests/init/test_openrc.py | 51 +++++++++++++++++++ 8 files changed, 161 insertions(+), 32 deletions(-) create mode 100644 package/openrc/0003-init.d-agetty-replace-sbin-agetty-by-sbin-getty.patch create mode 100644 package/openrc/0004-init.d-agetty-start-agetty-after-all-sevices.patch create mode 100644 package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch delete mode 100755 package/openrc/getty create mode 100644 support/testing/tests/init/test_openrc.py