From patchwork Fri Jun 9 19:24:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randolph Sapp X-Patchwork-Id: 25383 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01018C83005 for ; Fri, 9 Jun 2023 19:24:35 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web10.3400.1686338666111441888 for ; Fri, 09 Jun 2023 12:24:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=IiN6LnE7; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: rs@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 359JOLXO111185; Fri, 9 Jun 2023 14:24:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1686338661; bh=CZm8HYPSx6IE29znDddLM70bGX3MEKZiuU3W+WBq2SI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=IiN6LnE7nCAX38ZJnZJ47QO4JUQq8n6BaJBlRrp/E/GgNnOuU291wMyu7zSrd9TgZ vtfuUz4ml0Gja0AXrF+FcgNTzPVzUQN5vkBr2M8RxwPi4xqkz7Jlv4rXjfia8EYh/y 72qoL/BqD+uzgGQN+cpMhx5LzNqOmaA3mdYq0Dmg= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 359JOLRh090120 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Jun 2023 14:24:21 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 9 Jun 2023 14:24:21 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 9 Jun 2023 14:24:21 -0500 Received: from rs-desk.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 359JOLEQ060690; Fri, 9 Jun 2023 14:24:21 -0500 From: To: , , CC: , Randolph Sapp Subject: [meta-arago][master/kirkstone][PATCHv2 1/3] systemd: drop the useradd params Date: Fri, 9 Jun 2023 14:24:13 -0500 Message-ID: <20230609192415.3210941-2-rs@ti.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230609192415.3210941-1-rs@ti.com> References: <20230609192415.3210941-1-rs@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jun 2023 19:24:34 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14587 From: Randolph Sapp This currently points to an invalid shell (bin -> sbin) and OE-Core has been carrying the equivalent patch since: d18957925c (systemd: Create missing sysusers offline, 2016-05-17) Signed-off-by: Randolph Sapp --- meta-arago-distro/recipes-core/systemd/systemd_%.bbappend | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend b/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend index 9e49ac69..a38ca124 100644 --- a/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend +++ b/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend @@ -3,8 +3,6 @@ PR:append = ".arago6" FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" PACKAGECONFIG:append = " networkd resolved" -USERADD_PARAM:${PN} += "--system -d / -M --shell /bin/nologin systemd-network;" -USERADD_PARAM:${PN} += "--system -d / -M --shell /bin/nologin systemd-resolve;" SRC_URI:append = " \ file://local.rules \ From patchwork Fri Jun 9 19:24:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randolph Sapp X-Patchwork-Id: 25384 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E350AC7EE25 for ; Fri, 9 Jun 2023 19:24:34 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web10.3399.1686338665550195993 for ; Fri, 09 Jun 2023 12:24:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=OZnuABXG; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: rs@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 359JOL4O069720; Fri, 9 Jun 2023 14:24:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1686338661; bh=33xadYiYgqHMXjcEMAyA5GBVCyja4WysJe44H0Z9izw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OZnuABXGvTFQi5hF8Z1Tfq7EN7XA1+LQi6AKoHH7bAgiYWiQT2vZ6h1gLDJ/vqUam JduKk6lOcx7Bq4NCYv+0CrPjRg2uMeqvA+O/dSXkURdO2sAEzH02ZDE/FHksvhoscW l6ofn/AP02EP5sL4Fl75pHWv8eND1rksg2VPQM78= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 359JOLan090121 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Jun 2023 14:24:21 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 9 Jun 2023 14:24:21 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 9 Jun 2023 14:24:21 -0500 Received: from rs-desk.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 359JOLER060690; Fri, 9 Jun 2023 14:24:21 -0500 From: To: , , CC: , Randolph Sapp Subject: [meta-arago][master/kirkstone][PATCHv2 2/3] arago.conf: add serial-getty-generator to systemd Date: Fri, 9 Jun 2023 14:24:14 -0500 Message-ID: <20230609192415.3210941-3-rs@ti.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230609192415.3210941-1-rs@ti.com> References: <20230609192415.3210941-1-rs@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jun 2023 19:24:34 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14585 From: Randolph Sapp Use systemd's built-in getty generator instead of the OE-Core variant. Signed-off-by: Randolph Sapp --- meta-arago-distro/conf/distro/arago.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index 03272511..7354a98e 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -69,7 +69,7 @@ DISTRO_FEATURES:append = "${@ '' if oe.types.boolean(d.getVar('ARAGO_SYSVINIT')) DISTRO_FEATURES:remove = "${@ '' if oe.types.boolean(d.getVar('ARAGO_SYSVINIT')) else ' sysvinit'}" # Distro-specific package configuration -PACKAGECONFIG:append:pn-systemd = " coredump" +PACKAGECONFIG:append:pn-systemd = " coredump serial-getty-generator" # Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit) PACKAGECONFIG_GL:pn-qtbase = "gles2 linuxfb" From patchwork Fri Jun 9 19:24:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randolph Sapp X-Patchwork-Id: 25382 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4F59C7EE45 for ; Fri, 9 Jun 2023 19:24:34 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web11.3358.1686338665351518498 for ; Fri, 09 Jun 2023 12:24:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=wvxE570Y; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: rs@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 359JOLDs081939; Fri, 9 Jun 2023 14:24:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1686338661; bh=z9wDayaWxKVGnk3o9nAceX16V/5aZY4l+yNIMF2UL60=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wvxE570YgzpiS1QXa5lKjn5XADGqkRXIgpk9t1UoP+EA3ZNEybxAEKFRc3Q6HI7fI EbaDFC8CWQBFghrCWhisrRHf8U8YRowAXSILhuF9O4Gg+IpCpYr+v3kYzCzm4q9SUH bkSkEMODQaKDV3EcQfTA1PKOPV4DmWO+Eu71l1Tk= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 359JOL8N090126 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Jun 2023 14:24:21 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 9 Jun 2023 14:24:21 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 9 Jun 2023 14:24:21 -0500 Received: from rs-desk.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 359JOLES060690; Fri, 9 Jun 2023 14:24:21 -0500 From: To: , , CC: , Randolph Sapp Subject: [meta-arago][master/kirkstone][PATCHv2 3/3] systemd: move packageconfig appends to distro config Date: Fri, 9 Jun 2023 14:24:15 -0500 Message-ID: <20230609192415.3210941-4-rs@ti.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230609192415.3210941-1-rs@ti.com> References: <20230609192415.3210941-1-rs@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jun 2023 19:24:34 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14586 From: Randolph Sapp Move the systemd PACKAGECONFIG append strings to the distro config. Signed-off-by: Randolph Sapp --- meta-arago-distro/conf/distro/arago.conf | 2 +- meta-arago-distro/recipes-core/systemd/systemd_%.bbappend | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index 7354a98e..528635e3 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -69,7 +69,7 @@ DISTRO_FEATURES:append = "${@ '' if oe.types.boolean(d.getVar('ARAGO_SYSVINIT')) DISTRO_FEATURES:remove = "${@ '' if oe.types.boolean(d.getVar('ARAGO_SYSVINIT')) else ' sysvinit'}" # Distro-specific package configuration -PACKAGECONFIG:append:pn-systemd = " coredump serial-getty-generator" +PACKAGECONFIG:append:pn-systemd = " coredump networkd resolved serial-getty-generator" # Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit) PACKAGECONFIG_GL:pn-qtbase = "gles2 linuxfb" diff --git a/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend b/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend index a38ca124..3de94336 100644 --- a/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend +++ b/meta-arago-distro/recipes-core/systemd/systemd_%.bbappend @@ -2,8 +2,6 @@ PR:append = ".arago6" FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -PACKAGECONFIG:append = " networkd resolved" - SRC_URI:append = " \ file://local.rules \ file://usb1-rules.sh \