From patchwork Wed Nov 17 12:31:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 193 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 80F46C433EF for ; Wed, 17 Nov 2021 12:32:11 +0000 (UTC) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by mx.groups.io with SMTP id smtpd.web11.6374.1637152330679148388 for ; Wed, 17 Nov 2021 04:32:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YDNIwn0g; spf=pass (domain: gmail.com, ip: 209.85.208.52, mailfrom: luca.boccassi@gmail.com) Received: by mail-ed1-f52.google.com with SMTP id b15so10388974edd.7 for ; Wed, 17 Nov 2021 04:32:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JMfe8MSNh/6kvAjA51HiyixM/N60vJ5p3nXIe4NjFWM=; b=YDNIwn0gZgoOyF9d626JLLrlyiWYgqMtehHxbHTgUCTSYk5P5ID/UAZOq1KhL2mTRl q0m3ziKrpuH7FJ6dvQ+QT7BCL1UufkSJjG7rTilP7S4IPsK5mmPPxYfHhaZygyL49sSB 91ffQvci/0ZEcLtO86pYr7AqTWPXSXgqNwCZ/WhM7dCDCslQz748SV98rbt0byzcc86f KodmsF9np0BqyfyLbI91luulkICkEEMi9Ps1c/KyQfsW9t61kHauBdzl43/rFV/aGJnd rBM7xwudCI/Ze4GONyKpkBFfUDx5JuNH7FQi6wv/wTyckHlixxvFsfhPc1hBOssUiPhV 1j3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JMfe8MSNh/6kvAjA51HiyixM/N60vJ5p3nXIe4NjFWM=; b=oT+YaR9aSuIjvYgd7KudOYUp4Cn0UV0xXZObkfgxEzoO4fQqMsvmd9c0S14dMu292t x8R1YTKFv5N5l5YGbJfxNLlXQUn0XyGhlQtiqOBz7pY7X3N7lSCA2kcRv+5sZyOZHiw9 s+ZRUmn1Og+RvB8XT4Ftmhd/w2AS720L7C+BeiIst6RaIxEXPkeBWgfjeDcHyvrAHHcB KIu7gxjbnOBfRf96i346rFyJ3iAU7xiF6jTAooGpDZnhfRPDcyS7pj3H9liAp3FLqSrv ieiIU1UJjPWFyDlRTgcMge1tDYW6JYnM6tAYuGqWgrmVM8vsPUJKwj5ppwqUJgblYbMc Vucw== X-Gm-Message-State: AOAM533I/yAm8T/+SyUUYKNvLhl4uJKJfcZkcdSfGLRtzQavaKjO70DS +90p4umrB/z4t0po78IJWnYW6LVoaD6nQA== X-Google-Smtp-Source: ABdhPJxuY8n/WKobSSDr6rRkGr/OEHw+813Gghovh96Qm2Fs5Y+jnoIi7qDTOubRbu2noplfq63T3w== X-Received: by 2002:a05:6402:4248:: with SMTP id g8mr16739398edb.182.1637152328951; Wed, 17 Nov 2021 04:32:08 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id y6sm11079188edc.17.2021.11.17.04.32.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 04:32:08 -0800 (PST) From: luca.boccassi@gmail.com To: openembedded-core@lists.openembedded.org Cc: paul.eggleton@microsoft.com Subject: [PATCH 1/8] systemd: skip chown when building for nativesdk Date: Wed, 17 Nov 2021 12:31:54 +0000 Message-Id: <20211117123201.111905-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211117123201.111905-1-luca.boccassi@gmail.com> References: <20211117123201.111905-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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 ; Wed, 17 Nov 2021 12:32:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/158385 From: Luca Boccassi The useradd class is a no-op in the nativesdk case, so chown will fail. Skip them. Signed-off-by: Luca Boccassi --- meta/recipes-core/systemd/systemd_249.5.bb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_249.5.bb b/meta/recipes-core/systemd/systemd_249.5.bb index 8bdc0ca028..2f019a4b1f 100644 --- a/meta/recipes-core/systemd/systemd_249.5.bb +++ b/meta/recipes-core/systemd/systemd_249.5.bb @@ -275,7 +275,10 @@ do_install() { # which is expected to be empty. rm -rf ${D}${localstatedir}/log else - chown root:systemd-journal ${D}${localstatedir}/log/journal + # The useradd class is a no-op in the nativesdk case, so chown will fail + if [ "${PN}" != "nativesdk-systemd" ]; then + chown root:systemd-journal ${D}${localstatedir}/log/journal + fi # journal-remote creates this at start rm -rf ${D}${localstatedir}/log/journal/remote @@ -319,7 +322,10 @@ do_install() { if ${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'true', 'false', d)}; then if [ -d ${D}${datadir}/polkit-1/rules.d ]; then chmod 700 ${D}${datadir}/polkit-1/rules.d - chown polkitd:root ${D}${datadir}/polkit-1/rules.d + # The useradd class is a no-op in the nativesdk case, so chown will fail + if [ "${PN}" != "nativesdk-systemd" ]; then + chown polkitd:root ${D}${datadir}/polkit-1/rules.d + fi fi fi From patchwork Wed Nov 17 12:31:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 194 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 8D72BC433F5 for ; Wed, 17 Nov 2021 12:32:12 +0000 (UTC) Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) by mx.groups.io with SMTP id smtpd.web10.6279.1637152331736962533 for ; Wed, 17 Nov 2021 04:32:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cQuxdXAw; spf=pass (domain: gmail.com, ip: 209.85.208.49, mailfrom: luca.boccassi@gmail.com) Received: by mail-ed1-f49.google.com with SMTP id z10so10289343edc.11 for ; Wed, 17 Nov 2021 04:32:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4M8QiOtxgjNf1PFMVtGBDEEVYjx0Ydlgejt040NWctk=; b=cQuxdXAwcRe/lZ0JZ7gdT9u6xRJd27SnvnX1rGRq8h4P7pvVSQ2Nbq9OSfJVj0cg+u D2NDTmvE6OGoKcLsKJn1jD1Z20vy6LF75fiYo2QSiLvyiJE2UOsleQaLpn3idA+0es4F tTs7ZWnTT+MzL5vXJPgktL/JAD9claqjxzBPB63Q/YxI6C01pRhWGD2wLjPBz+t7Gi+P afxDI0Nb1Hoz+VUnJChO66/eLHOGuVMmCmInTzT7yh5utLcR3wRAKNRT0MTvFqkVs7/J Bkt5ZCXporneowIHSv84AjiwzoBOZbOSgiykzuxDVNdjdT9BhaQG7wn+K3OOtjDy1zi/ 4wmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4M8QiOtxgjNf1PFMVtGBDEEVYjx0Ydlgejt040NWctk=; b=UhL3gPD1AGw/M17ykziPrFyx/XXfot5uAy9Eq4ClYSCzL/eOLaoIfZFwKa8L+kZZBr LRdriLHd0PsKDaegVZwUuwvJklLpVvrGDZIBRA66vkAnBKzPsA+zP56O+WeabbCBgZMz o1ylt9ESYlrUw2UCaWJtEQNVfMPhcgCW//qvvDBrXob/SzwVRVV0TBLdZlLIpPHHAy0q dw8X5Ad7P6FwGlaNqm/EcvEi6xTo5QfuPvkisvE2iBM2UDoqWoVQ2GcKmr8VI8FgXj+Y DLGpQVhwST8sYLu113FEr3j4lNWGmlgu+XwhnLvNjupU9rnFok+WpseNfXMAoncwYxLn mkSQ== X-Gm-Message-State: AOAM532MWS8x8r8ky49ig9zG9txQMhJ4diZd109X5KeBrXZJ2NzYBxR8 ex2q62PrMV32oUSFeoOl7N0VYkeKoxY1/w== X-Google-Smtp-Source: ABdhPJyOx3GM29ONmaQ8BcxVI4Nq6thyT3GzHmTAz/Adf1RFxeWeWuBTKJHpaD3EEIId4huPQrhjQQ== X-Received: by 2002:a17:906:9b8b:: with SMTP id dd11mr21177721ejc.446.1637152330051; Wed, 17 Nov 2021 04:32:10 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id r7sm11657870edd.5.2021.11.17.04.32.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 04:32:09 -0800 (PST) From: luca.boccassi@gmail.com To: openembedded-core@lists.openembedded.org Cc: paul.eggleton@microsoft.com Subject: [PATCH 2/8] systemd: skip postinst in nativesdk builds Date: Wed, 17 Nov 2021 12:31:55 +0000 Message-Id: <20211117123201.111905-3-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211117123201.111905-1-luca.boccassi@gmail.com> References: <20211117123201.111905-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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 ; Wed, 17 Nov 2021 12:32:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/158386 From: Luca Boccassi They will fail, as there's nowhere to run them Signed-off-by: Luca Boccassi --- meta/recipes-core/systemd/systemd_249.5.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_249.5.bb b/meta/recipes-core/systemd/systemd_249.5.bb index 2f019a4b1f..38a2f5d474 100644 --- a/meta/recipes-core/systemd/systemd_249.5.bb +++ b/meta/recipes-core/systemd/systemd_249.5.bb @@ -773,12 +773,18 @@ ALTERNATIVE_LINK_NAME[runlevel] = "${base_sbindir}/runlevel" ALTERNATIVE_PRIORITY[runlevel] ?= "300" pkg_postinst:${PN}:libc-glibc () { + if [ "${PN}" = "nativesdk-systemd" ]; then + exit 0 + fi sed -e '/^hosts:/s/\s*\//' \ -e 's/\(^hosts:.*\)\(\\)\(.*\)\(\\)\(.*\)/\1\2 myhostname \3\4\5/' \ -i $D${sysconfdir}/nsswitch.conf } pkg_prerm:${PN}:libc-glibc () { + if [ "${PN}" = "nativesdk-systemd" ]; then + exit 0 + fi sed -e '/^hosts:/s/\s*\//' \ -e '/^hosts:/s/\s*myhostname//' \ -i $D${sysconfdir}/nsswitch.conf @@ -786,6 +792,9 @@ pkg_prerm:${PN}:libc-glibc () { PACKAGE_WRITE_DEPS += "qemu-native" pkg_postinst:udev-hwdb () { + if [ "${PN}" = "nativesdk-systemd" ]; then + exit 0 + fi if test -n "$D"; then $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} rootlibexecdir="${rootlibexecdir}" PREFERRED_PROVIDER_udev="${PREFERRED_PROVIDER_udev}" else @@ -794,5 +803,8 @@ pkg_postinst:udev-hwdb () { } pkg_prerm:udev-hwdb () { + if [ "${PN}" = "nativesdk-systemd" ]; then + exit 0 + fi rm -f $D${sysconfdir}/udev/hwdb.bin } From patchwork Wed Nov 17 12:31:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 195 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 76EC1C433FE for ; Wed, 17 Nov 2021 12:32:13 +0000 (UTC) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by mx.groups.io with SMTP id smtpd.web12.6353.1637152332750679042 for ; Wed, 17 Nov 2021 04:32:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NfWN0YfA; spf=pass (domain: gmail.com, ip: 209.85.208.45, mailfrom: luca.boccassi@gmail.com) Received: by mail-ed1-f45.google.com with SMTP id b15so10389445edd.7 for ; Wed, 17 Nov 2021 04:32:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oVD6VCVhw+r5G+gJBdWuC0VmfRn/Ttt83CBtoQVvyjg=; b=NfWN0YfA9Ev+wbK3ALFY1zOVHg/iOZ3gyDEp6vSfZ30b/teY7qNNcUVFYAL4kxfd0e 5Plb+QgoVYDqUGHTgdCwQ7LXzAgFA/tclLwWxrD/C9WBA7/tJr6fisVnT33/5KENz9Rx BeSO8vSmkzZWV/RW6EL5Po+dAZGyiwsttzTH5egRERoDqBQ/D6hvq8thxBqfse2m+wVa R/qQIBaEyXtWk65nrF9FjlCiOe/GVNXQGuFq7e0JM4dU39bwb60KgYCHxraVsHdFhshV eMim1P42VEt0YjeAtLkrL6XK7m/kDLbyDM+Iw0uMiWxxbXEHO/UD4D96qcl3ps8h3SI4 36gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oVD6VCVhw+r5G+gJBdWuC0VmfRn/Ttt83CBtoQVvyjg=; b=lrLg5B/AzUiOTOmlr2d3wqGu7pugk888/YwsZlXpiG/eNZjGPayx6Qjv9nIrCiqh96 yO/r+TEbqtXfhrkyZc5+pni6jy3iFiGGxiY3NYyG0Wy7PfDTv7ChrovfV3w84Mr4Gox1 FudY9lntA/9wQausbcOyWrlO1wZx12d4ZyTH4vrRrIZtd32SLBWpfRFSyJfkE/hlPrCi LEnI/mCP1CyvwilHcHiiTqNjhivVEEGRkB1v1AbFtULlLo3wPCBhOV27oyWKvubGyfjd 6ICpLlp9XDwNKTXUTQrbrOX49NgrKyBJivzThzGiBP1rypGDsbqGhf0WYJQrsD8g3kJ6 +ZZw== X-Gm-Message-State: AOAM5306ipZRSiP7Gfp1OKL2qY6DNKEXjWlcODetDV8UVYRyOAkgBKc4 XGjHYSSY4SAcBm5zL0BfUC8DcX2+BRXq9A== X-Google-Smtp-Source: ABdhPJxxoKNmjqiGfDGDESIgLxikuGTzbRCpBT9gdnCZzrDhlkDO+wjJ9E6z9chuWajEiDy0P0P4KQ== X-Received: by 2002:a17:907:1b25:: with SMTP id mp37mr20762200ejc.140.1637152331103; Wed, 17 Nov 2021 04:32:11 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id gn16sm10256213ejc.67.2021.11.17.04.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 04:32:10 -0800 (PST) From: luca.boccassi@gmail.com To: openembedded-core@lists.openembedded.org Cc: paul.eggleton@microsoft.com Subject: [PATCH 3/8] systemd: remove /var in nativesdk builds Date: Wed, 17 Nov 2021 12:31:56 +0000 Message-Id: <20211117123201.111905-4-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211117123201.111905-1-luca.boccassi@gmail.com> References: <20211117123201.111905-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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 ; Wed, 17 Nov 2021 12:32:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/158387 From: Luca Boccassi Nothing picks it up, so it fails QA checks Signed-off-by: Luca Boccassi --- meta/recipes-core/systemd/systemd_249.5.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_249.5.bb b/meta/recipes-core/systemd/systemd_249.5.bb index 38a2f5d474..016058cd7f 100644 --- a/meta/recipes-core/systemd/systemd_249.5.bb +++ b/meta/recipes-core/systemd/systemd_249.5.bb @@ -772,6 +772,11 @@ ALTERNATIVE_TARGET[runlevel] = "${base_bindir}/systemctl" ALTERNATIVE_LINK_NAME[runlevel] = "${base_sbindir}/runlevel" ALTERNATIVE_PRIORITY[runlevel] ?= "300" +# Nothing picks up /var in the nativesdk case +do_install_append_class-nativesdk () { + rm -rf ${D}/var +} + pkg_postinst:${PN}:libc-glibc () { if [ "${PN}" = "nativesdk-systemd" ]; then exit 0 From patchwork Wed Nov 17 12:31:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 196 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 7767DC433EF for ; Wed, 17 Nov 2021 12:32:14 +0000 (UTC) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by mx.groups.io with SMTP id smtpd.web08.6468.1637152333784799462 for ; Wed, 17 Nov 2021 04:32:14 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZkgUQyGX; spf=pass (domain: gmail.com, ip: 209.85.208.51, mailfrom: luca.boccassi@gmail.com) Received: by mail-ed1-f51.google.com with SMTP id w1so10413482edc.6 for ; Wed, 17 Nov 2021 04:32:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JOXafviGNXDXTrB0HyZi9kR2CW2jB4+rCUjnVRZHg9g=; b=ZkgUQyGXhi1D5ENn/d0Gt5yyl8XlxUvVhthN/0wsFcW9xJwI9hXQZd0t9jVC+j192u Cy890IWPyK6OxfBmxNylbwJvsSkc5u3AKTPWtdn62KmRlhDomZ++TXfql3Ug+iJC0GS6 SHB4wczLrqPiaHTkZ/e6Pa9yDtWBFwUds+sHwABJ0p8hrm5FhnLB4J8hL95IdDHsN+IB G+cBhNHM88M3WMU76wqAKYpYzGwviRCHHvPaERYKZHeMgTaNnRv8k4I/CD72jyPjBjdw VXE6NiATeo7BH7gm0rZPYGGSPsjyJiH+ZIVW6VVKDJHeyJT+Crx0dCPPOUq/mCyQfR0S +siw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JOXafviGNXDXTrB0HyZi9kR2CW2jB4+rCUjnVRZHg9g=; b=P4Du2UvGMkdzkxHyT4ee4ePKcXPb1lPa0xcIe3SSjz/4Kblcpb0pW7UdwtkZB9k6KP YRCXi9VPUBB9aVXb+dpMhZ+kif/2SOl7igV/I7htL8nz80i/Kg/6vJ9o+eYwuFVRpZk9 Vk/KTyib6559eunNT52yz6+Iz7NLiKip1inI4bBu09oWtXKV91LQ7S0izQD+Q8YDRiNi xvVuU8oQuB66sG82SXJjy4gqySQ60y+EPJrIXi+NRdPzo+1+1JytijPL+2EBg9s8KUZp BO5pjS5vbj3OvRHkoTUvqoWG1aY/yps1LAsXxa7cNBogd4YGjGs8KyE13BzFvODWbuSc DzTw== X-Gm-Message-State: AOAM5337XMyXJTcVw2l3gQZ7DLlMLysS5ZbPcpYhTwdh4pge/1/ny/wU SvmAJokzOwSkmrNsvBMkGe3wtkvs11KQIQ== X-Google-Smtp-Source: ABdhPJxHR/BzpFyoARlLFcBlDiWtN/Nu4Tuy3s1p3AYi+JTdg97kkvkD0be07pp6kD2DENByPcL+dQ== X-Received: by 2002:aa7:d652:: with SMTP id v18mr8160203edr.68.1637152332108; Wed, 17 Nov 2021 04:32:12 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id x14sm9673555ejs.124.2021.11.17.04.32.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 04:32:11 -0800 (PST) From: luca.boccassi@gmail.com To: openembedded-core@lists.openembedded.org Cc: paul.eggleton@microsoft.com Subject: [PATCH 4/8] volatile-binds: remove /var in nativesdk builds Date: Wed, 17 Nov 2021 12:31:57 +0000 Message-Id: <20211117123201.111905-5-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211117123201.111905-1-luca.boccassi@gmail.com> References: <20211117123201.111905-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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 ; Wed, 17 Nov 2021 12:32:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/158388 From: Luca Boccassi Nothing picks it up, so it fails QA checks Signed-off-by: Luca Boccassi --- meta/recipes-core/volatile-binds/volatile-binds.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb b/meta/recipes-core/volatile-binds/volatile-binds.bb index d5c5538cd7..66e28f4fc9 100644 --- a/meta/recipes-core/volatile-binds/volatile-binds.bb +++ b/meta/recipes-core/volatile-binds/volatile-binds.bb @@ -79,3 +79,8 @@ do_install () { ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/home.conf } do_install[dirs] = "${WORKDIR}" + +# Nothing picks up /var in the nativesdk case +do_install_append_class-nativesdk () { + rm -rf ${D}/var +} From patchwork Wed Nov 17 12:31:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 197 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 791CCC433F5 for ; Wed, 17 Nov 2021 12:32:26 +0000 (UTC) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by mx.groups.io with SMTP id smtpd.web10.6284.1637152344995410183 for ; Wed, 17 Nov 2021 04:32:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=R9Xq2MBR; spf=pass (domain: gmail.com, ip: 209.85.208.43, mailfrom: luca.boccassi@gmail.com) Received: by mail-ed1-f43.google.com with SMTP id y12so10278119eda.12 for ; Wed, 17 Nov 2021 04:32:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pyzkaXBP/eWJQN5jFmoYaNHYtxCigdby3FVDSFZzywk=; b=R9Xq2MBRTOHerZZa/aV+WnKsk3TbviwjhxV8mipFgTnVIDYGj55/KXELRxwvIDdScN sBmYqxP+wXt+Ei3iRxgg6YjiJJGLAJ9FG6+tHZiwDMaMAGkLWioqmcZ+52PsClBGPtNM JeLNUXIR5TuxM+umwFljTwZF9nTu8B6Cgg+fHQwntwXU16fDVGNztDnQCWbNezeHI46b lXXWa8jVKZGHPWXeQ8Q2jnkxdN0BUfMHxAe7r9CI7bcKEPSBRLurwmbKLvkMLtf2cuqm DkUoK5Rn6386fAW4/rPoO32hK9YWYWh+N6zbpycvwbyP6PrACqdoaOAahSJMyxYhO2aF WC4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pyzkaXBP/eWJQN5jFmoYaNHYtxCigdby3FVDSFZzywk=; b=VJwxIAVJkMvSbCZecoVPjmi+E8oGSn9zvK54K5J9HDwM0Fval2Sm41bbIcxepanfg/ o3jLK6BqpCIfka0fFgWbSSwqdva7aOayNACwQ8ZcnVcaVqPu4QZLPH0uyVmTn1vOqEP3 nC+8Ss9EivJWsn7jfVKkUIkNBrMG94WfsdDh2QU6PFtyHOKNE+1A+By0JBEhv9MS1n7I rX/RT/O3Wc9mX+TWA5Asq2Yo3fXTWHBwECgs0WhOBwgF0Ed7F7B7+G4fU1exVo37KnGS RHpytZgA+zI5mDOMrI4aAcvlkDqnXporf2Q0Rad7hSQ2o8qMhjJiJeW8kYGirbCMje9w Tk6A== X-Gm-Message-State: AOAM531uWdNm+pxVLqYsgE2dHPNUUADtsG/uou4XptXcrjJZxYZQHY9p Lz6CEXvcNeU4wtTrX0YRxuHRgQcTlAckIg== X-Google-Smtp-Source: ABdhPJwtLuSq/ZVcvlORpetSsVzXnyDNy3gO/E4o191srEJnZNyf2z1p8kOP1gk/zezhTFZsXEqCDQ== X-Received: by 2002:aa7:c783:: with SMTP id n3mr21609311eds.121.1637152343181; Wed, 17 Nov 2021 04:32:23 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id e15sm7854144edq.46.2021.11.17.04.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 04:32:22 -0800 (PST) From: luca.boccassi@gmail.com To: openembedded-core@lists.openembedded.org Cc: paul.eggleton@microsoft.com Subject: [PATCH 5/8] volatile-binds: add nativesdk Date: Wed, 17 Nov 2021 12:31:58 +0000 Message-Id: <20211117123201.111905-6-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211117123201.111905-1-luca.boccassi@gmail.com> References: <20211117123201.111905-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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 ; Wed, 17 Nov 2021 12:32:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/158389 From: Luca Boccassi Signed-off-by: Luca Boccassi --- meta/recipes-core/volatile-binds/volatile-binds.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb b/meta/recipes-core/volatile-binds/volatile-binds.bb index 66e28f4fc9..0f27353031 100644 --- a/meta/recipes-core/volatile-binds/volatile-binds.bb +++ b/meta/recipes-core/volatile-binds/volatile-binds.bb @@ -84,3 +84,5 @@ do_install[dirs] = "${WORKDIR}" do_install_append_class-nativesdk () { rm -rf ${D}/var } + +BBCLASSEXTEND = "nativesdk" From patchwork Wed Nov 17 12:31:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 198 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 79E11C433FE for ; Wed, 17 Nov 2021 12:32:27 +0000 (UTC) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by mx.groups.io with SMTP id smtpd.web09.6415.1637152346005356891 for ; Wed, 17 Nov 2021 04:32:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iN7n6k9P; spf=pass (domain: gmail.com, ip: 209.85.208.44, mailfrom: luca.boccassi@gmail.com) Received: by mail-ed1-f44.google.com with SMTP id w1so10310542edd.10 for ; Wed, 17 Nov 2021 04:32:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jz/0wV9+/ORhjmbPirPzK2Psx99hFxjDy6rDr8HWssk=; b=iN7n6k9PQsePnx0iDdVVAMD2Uei+svTOd8nFmagTWV2lw4/NW13oesx5/lPQCZnR18 O4RUow+4DNAqtCcQR6oxBgcFoyjcBO8qIzSdNPpyksXiEb8/qB8BHARlrIw5GpToUsot G1jsyttmYwvYdpIls7yd4k+AljzNX0m0ibeaapnT8L8yg3iQXYAOv4vAmxOF/YYvYfnT J8/SKV03WiWCGicyqUZh06IJnK1skcKQtHQR1xbOYWj/06y8/uUU4sloRn7hw4iYU4fA BmgbV6LH7A4swzL0G3e/zrbp5ty/yR/Ea6nJBu/uy1C4EihjGjmShgYq52PHiuJO5/mb eayQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jz/0wV9+/ORhjmbPirPzK2Psx99hFxjDy6rDr8HWssk=; b=f3PttapnEsBK4TJ5AgS43BvnL8kUl7nAdib4zcLkNTZVK4IO3EmyHQfw9PvbM/Vg/a 9qQcx9+jeVsm4a7JhZ1RADRceu7QXYCEcr5JMvKsKM1iw+BnKwF/++gPgzBPyoX9+OQM AWg4zkS3UcM9OiJ991+hdcAwQtA8iiJ+YphG4FfxgV0LvauARD+NP6a5DoRxPFx0FHFj TEZ2wktgUdlAe8r+WSAMq+skbhsq8Bv6mxAiKgvlcFBHZiziSBw1H0JGt4t3L52JnjPU OKDebMLboDioScN9H+iAJPHeCMJhFX0XxXTBwcRsIF7TBWz7T/JeghJ4XrUlODkmU6Cc Unog== X-Gm-Message-State: AOAM531fcjyNVZptM6VXxA2IL3d9pEU0WrUvOQmQj4SZXLdNLhGiffLi SmCW0VI+CJmrnMdWEkMggIq3vJZ+VSr8NQ== X-Google-Smtp-Source: ABdhPJyL/HGmBBDGi5tsIUgODhmdyQBpMVVjnVe+37KVfkSb9bV+7Y+Dxs9IcH3I56TQ+gmHQmymrw== X-Received: by 2002:a17:907:60ca:: with SMTP id hv10mr21024412ejc.500.1637152344292; Wed, 17 Nov 2021 04:32:24 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id c7sm10068117ejd.91.2021.11.17.04.32.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 04:32:23 -0800 (PST) From: luca.boccassi@gmail.com To: openembedded-core@lists.openembedded.org Cc: paul.eggleton@microsoft.com Subject: [PATCH 6/8] kbd: add nativesdk Date: Wed, 17 Nov 2021 12:31:59 +0000 Message-Id: <20211117123201.111905-7-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211117123201.111905-1-luca.boccassi@gmail.com> References: <20211117123201.111905-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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 ; Wed, 17 Nov 2021 12:32:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/158390 From: Luca Boccassi Required to build systemd tools Signed-off-by: Luca Boccassi --- meta/recipes-core/kbd/kbd_2.4.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/kbd/kbd_2.4.0.bb b/meta/recipes-core/kbd/kbd_2.4.0.bb index 7cb45eff77..7efc7af312 100644 --- a/meta/recipes-core/kbd/kbd_2.4.0.bb +++ b/meta/recipes-core/kbd/kbd_2.4.0.bb @@ -43,4 +43,4 @@ ALTERNATIVE:${PN} = "chvt deallocvt fgconsole openvt showkey \ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'vlock','', d)}" ALTERNATIVE_PRIORITY = "100" -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" From patchwork Wed Nov 17 12:32:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 199 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 79823C433EF for ; Wed, 17 Nov 2021 12:32:28 +0000 (UTC) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by mx.groups.io with SMTP id smtpd.web09.6416.1637152347114282808 for ; Wed, 17 Nov 2021 04:32:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=QtXxW95p; spf=pass (domain: gmail.com, ip: 209.85.208.43, mailfrom: luca.boccassi@gmail.com) Received: by mail-ed1-f43.google.com with SMTP id x15so10497421edv.1 for ; Wed, 17 Nov 2021 04:32:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fwT3/TNMNT5syff5olxi0JDnqIHc3mXZiSoNUeojmcA=; b=QtXxW95pRKPsEFox8ngHk1TP1NcAxOw4LTB26Qft3k67KCQuwbQlMAsGHGKKqztqpC Mm6nPaqA68lqkAU0QuyiAY/B7c9BCaNy/F/nvxvVx37C1PM3BYyfiG22uu4O6n5uakTq xK9wULGxnl08qaqgL+8eLDuHrJySjsFbAehxbJledqlJ76LWa1d9SKxc6JFTU1yYhErQ q1XQmNG4PCxGfs3+Sps077H3Oo+d1PiQdhejmyPn7heKxU1x0Rg3MZFO7ZKhuGbxZzTY C3wLgSjmICrlfvi2AFz+IlWkgO9uwobx1MgRp8643QTPMnPLfO6YusuAnEgReltAKfCI UbGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fwT3/TNMNT5syff5olxi0JDnqIHc3mXZiSoNUeojmcA=; b=E/SxnwSAvnD8YRiXDRjvir4690DxJbKVaZ8WT7PfbAJZz1WcGn5BmqGwYESvI8cmUN zRZ/xCxH37c2VwYB9MXh5YG34ROyFjJNhG06ybrHDIEm9+ocN82mEHzlJ2kwZLkBejV/ P7f6rY1/ufxGYA2vcHwVudhH+bft9s94KtZZ7meQoy518ew/JZlf0npDwFiDQ5T5eIhs or8y2T0W12DHcldeLJRbmaaNk1Dwtle07q/tk/j3Im87tsNY++6GZvkXWpMgTbvXxc2W 2m3glYo6YeAQQfy+pONdgn+S5Ks7qj70//Hn0i08hzU/mjVNWGgESYsujgxuzi2LJ1pH EwYQ== X-Gm-Message-State: AOAM5338UjoGiicpTmDb9QVupJuaoxFp4dagH8NoWXLuzSyz6AmbtxmR 5HRXxAC3RLsVk0E5aMxhERNRmilewI6QNA== X-Google-Smtp-Source: ABdhPJx7N97Eo/1pDwsHEINfjmExJItkEbowpHnnJE0ELmS0H9deDvAyePk+42tMJ7bo262I6QdjEg== X-Received: by 2002:a05:6402:438a:: with SMTP id o10mr21586766edc.353.1637152345311; Wed, 17 Nov 2021 04:32:25 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id t5sm1096793edd.68.2021.11.17.04.32.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 04:32:24 -0800 (PST) From: luca.boccassi@gmail.com To: openembedded-core@lists.openembedded.org Cc: paul.eggleton@microsoft.com Subject: [PATCH 7/8] os-release: add nativesdk Date: Wed, 17 Nov 2021 12:32:00 +0000 Message-Id: <20211117123201.111905-8-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211117123201.111905-1-luca.boccassi@gmail.com> References: <20211117123201.111905-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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 ; Wed, 17 Nov 2021 12:32:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/158391 From: Luca Boccassi Required to build systemd tools Signed-off-by: Luca Boccassi --- meta/recipes-core/os-release/os-release.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb index 8847fe30c3..2f2aa66c46 100644 --- a/meta/recipes-core/os-release/os-release.bb +++ b/meta/recipes-core/os-release/os-release.bb @@ -51,3 +51,5 @@ do_install () { } FILES:${PN} += "${nonarch_libdir}/os-release" + +BBCLASSEXTEND = "nativesdk" From patchwork Wed Nov 17 12:32:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 200 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 7BA89C433F5 for ; Wed, 17 Nov 2021 12:32:37 +0000 (UTC) Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) by mx.groups.io with SMTP id smtpd.web11.6379.1637152348241043353 for ; Wed, 17 Nov 2021 04:32:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ap6n+K9Q; spf=pass (domain: gmail.com, ip: 209.85.208.49, mailfrom: luca.boccassi@gmail.com) Received: by mail-ed1-f49.google.com with SMTP id e3so10437309edu.4 for ; Wed, 17 Nov 2021 04:32:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FO/Qmb9jG2SEGcqS4LJ9y7R3DMJPZnFplJrAK7452Uc=; b=Ap6n+K9QuxwwMeZStbXpq5OK4rszZw2ExZH7ieG/veHL4gNX3TiqNHlAIrOW/sHSgf H/Uju9DYJjVTA3PzcyxwE7Q/FAc4dCE7O+z+LNUwGG4pf7mEbLf9HCn2xlM9iOEv1JRO d53g/shv+ejJVKxyKLGh1u1GAdo8oy8ZiuscouNTS11eisSm2EbNO7KyGB7wXCBIfohw Qea2bHBK+Lup4nS4a+wP28uTvQffhPz4m4c2ZMGJOCJZzEVxU501bB4JXvixkpwciZ6s N37vjAObVnBsSUY3gzZVGeIntXVMt6/DZ1oY9uD/vYmA4Tfzi5BWpkW8XdXCQ0So+pEa WeOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FO/Qmb9jG2SEGcqS4LJ9y7R3DMJPZnFplJrAK7452Uc=; b=nIG837I3BXMDPoyI9iRSUv/rQLUMZ4sODoyrm82KfSmRB/bYNje/NAeIl+jAsfBxSq XqpNZHOZYWa0RT7rewmINBm7FJDeupSwfVk2RbC9VGIxYdM+z/clSkdNsJPI36WYZSpy ZC+wq5VW9GfPL+l5+tWhM9ktcjm5NLM7Ifw90TQsvhuohFmYl1p8AfPgR3iBSYF5p+/J AkCeB0QgUVkEirzh09SlZMLqEF22qNFpvAf/K1VLNXxeDjqbehZRVu/OipQjKflczVZd MDNnivHuBlKHgbm/k95eUfb1ebydTvbCbv/mZEAQL2joAg/6DyCsvKfavMiIfBZ1BXsp Mebw== X-Gm-Message-State: AOAM531bbTvz4DNlL38egzLQ+zjua3imL3afUAer/PQfyKvkmU2rs6ZB LdOsBeP1WBmg5v/XdLDsQypOMJPBMAvmTw== X-Google-Smtp-Source: ABdhPJyuSHAb7/e+Z2OSsjcf7eQC7Bwf7JDZUt0yfTqQCOZQK74JLA/9R51oxjL/J2WbMbmXpeLNug== X-Received: by 2002:a05:6402:2930:: with SMTP id ee48mr22308267edb.295.1637152346355; Wed, 17 Nov 2021 04:32:26 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id t20sm4800329edv.81.2021.11.17.04.32.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 04:32:26 -0800 (PST) From: luca.boccassi@gmail.com To: openembedded-core@lists.openembedded.org Cc: paul.eggleton@microsoft.com Subject: [PATCH 8/8] systemd: add nativesdk Date: Wed, 17 Nov 2021 12:32:01 +0000 Message-Id: <20211117123201.111905-9-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211117123201.111905-1-luca.boccassi@gmail.com> References: <20211117123201.111905-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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 ; Wed, 17 Nov 2021 12:32:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/158392 From: Luca Boccassi Allows using tools like systemd-analyze at build time and in CI systems Signed-off-by: Luca Boccassi --- meta/recipes-core/systemd/systemd-conf_1.0.bb | 2 ++ meta/recipes-core/systemd/systemd-serialgetty.bb | 2 ++ meta/recipes-core/systemd/systemd_249.5.bb | 2 ++ 3 files changed, 6 insertions(+) diff --git a/meta/recipes-core/systemd/systemd-conf_1.0.bb b/meta/recipes-core/systemd/systemd-conf_1.0.bb index 61ce7939d3..84de4d17cf 100644 --- a/meta/recipes-core/systemd/systemd-conf_1.0.bb +++ b/meta/recipes-core/systemd/systemd-conf_1.0.bb @@ -41,3 +41,5 @@ FILES:${PN} = "\ ${systemd_unitdir}/system.conf.d/ \ ${systemd_unitdir}/network/ \ " + +BBCLASSEXTEND = "nativesdk" diff --git a/meta/recipes-core/systemd/systemd-serialgetty.bb b/meta/recipes-core/systemd/systemd-serialgetty.bb index 7ca951cdbd..f877e6ad18 100644 --- a/meta/recipes-core/systemd/systemd-serialgetty.bb +++ b/meta/recipes-core/systemd/systemd-serialgetty.bb @@ -50,3 +50,5 @@ FILES:${PN} = "${systemd_system_unitdir}/*.service ${sysconfdir}" PACKAGE_ARCH = "${MACHINE_ARCH}" ALLOW_EMPTY:${PN} = "1" + +BBCLASSEXTEND = "nativesdk" diff --git a/meta/recipes-core/systemd/systemd_249.5.bb b/meta/recipes-core/systemd/systemd_249.5.bb index 016058cd7f..8f5c737152 100644 --- a/meta/recipes-core/systemd/systemd_249.5.bb +++ b/meta/recipes-core/systemd/systemd_249.5.bb @@ -772,6 +772,8 @@ ALTERNATIVE_TARGET[runlevel] = "${base_bindir}/systemctl" ALTERNATIVE_LINK_NAME[runlevel] = "${base_sbindir}/runlevel" ALTERNATIVE_PRIORITY[runlevel] ?= "300" +BBCLASSEXTEND = "nativesdk" + # Nothing picks up /var in the nativesdk case do_install_append_class-nativesdk () { rm -rf ${D}/var