From patchwork Tue Feb 21 20:44:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19959 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 90CB7C678D5 for ; Tue, 21 Feb 2023 20:45:09 +0000 (UTC) Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) by mx.groups.io with SMTP id smtpd.web10.53784.1677012305944332522 for ; Tue, 21 Feb 2023 12:45:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=k11uKKtk; spf=pass (domain: gmail.com, ip: 209.85.166.171, mailfrom: twoerner@gmail.com) Received: by mail-il1-f171.google.com with SMTP id y3so2468099ilb.6 for ; Tue, 21 Feb 2023 12:45:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=dAMCJz2sInxbFUnXBEnWr77gMGYslYSYZrx/3cRDwjo=; b=k11uKKtkH8LasqXK3ZsZzW8eG+iVgSIyFBF2j4/aK6cpUWDIg+8DaFeviw3liAC1lO OHaQHryI567u1AUlXvr5fEU+TwtBsAw5MlRM9ZWv8RXylYv3oXoFp22nV/JztZPmXWk0 hUIB+VK2/BjRA5d5LyouTis5/PiCPgh+4S18gjDhdONed86nr3D823/DJJcvhvSUonaa SQZm0/mfLIP0+gwIcgCYKl16BXVbZvvBLItbFEMFJIf1Lz5sZG82gOejXCaUGLPxwJOR EcBfu/YRrQl6TFijL8QVOCElt3K6kbjhKfxZ8S6XbNCoUV1kpGYV35YqJUHeHN5kSM5I Ow5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dAMCJz2sInxbFUnXBEnWr77gMGYslYSYZrx/3cRDwjo=; b=TeA50vDq2DTc2PZlOgFKJ3+CHABNd4qXwDuOjHtLVGp/a1zXaJwRHDogeweTOkAmiI 4YvE8ZPGZpuiiONUG7XF5vKn+zNe5NV/q1IZROyLNhA2ADnMCzmBeyxH2uvVku9Lm9+S 0IPXELKf8oEWOLjr4J2DMGXhGUuC1xvxe9efg0IddofCs8jmHm4aBUiuhcwZFqHUR0AD KJJxXpHjuM3wENIkUs4kWQI4o9kDOhJKRlT1Sn0qUXxqSs0Pm/jWDecmn6C6uJIITeZx 3Frobxbc9EzlWib/XKZP0eOFqBM/JTFNupLiKJkjzOSWHFKt6+KZ86hNH/rcdhAIp52r qZiQ== X-Gm-Message-State: AO0yUKUBHeVYrFLht3WPIPgIcmQ0kPawYfG8+Ky6V0OLPDfNDmtQu2ce FVkDZjhA8qyz1edFeF/5s8zKELFF5bk= X-Google-Smtp-Source: AK7set8EZh8yaWVsISkwW5feKBHB1dH0cttylrjLAgkMdcsv2RFM6nBwsujjyeWQTO5HKRmKGf0fyw== X-Received: by 2002:a92:ca0c:0:b0:315:796e:af21 with SMTP id j12-20020a92ca0c000000b00315796eaf21mr6886184ils.2.1677012304997; Tue, 21 Feb 2023 12:45:04 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:04 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 01/11] packagegroup-self-hosted: alphabetize Date: Tue, 21 Feb 2023 15:44:35 -0500 Message-Id: <20230221204445.23931-2-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177539 Several of the lists of packages are alphabetized, but the alphabetization was lost in a couple areas. Signed-off-by: Trevor Woerner --- .../packagegroups/packagegroup-self-hosted.bb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb index a1b0ee288362..529d4c5c5c6b 100644 --- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb @@ -127,7 +127,6 @@ RDEPENDS:packagegroup-self-hosted-extended = "\ grep \ groff \ gzip \ - settings-daemon \ libaio \ libusb1 \ libxml2 \ @@ -160,6 +159,7 @@ RDEPENDS:packagegroup-self-hosted-extended = "\ readline \ rpm \ setserial \ + settings-daemon \ socat \ subversion \ sudo \ @@ -173,22 +173,22 @@ RDEPENDS:packagegroup-self-hosted-extended = "\ wget \ which \ xinetd \ + xz \ zip \ zlib \ - xz \ " RDEPENDS:packagegroup-self-hosted-graphics = "\ + adwaita-icon-theme \ builder \ + l3afpad \ libgl \ libgl-dev \ libglu \ libglu-dev \ libx11-dev \ - adwaita-icon-theme \ - xdg-utils \ - l3afpad \ pcmanfm \ vte \ + xdg-utils \ " From patchwork Tue Feb 21 20:44:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19958 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 7C731C636D7 for ; Tue, 21 Feb 2023 20:45:09 +0000 (UTC) Received: from mail-il1-f174.google.com (mail-il1-f174.google.com [209.85.166.174]) by mx.groups.io with SMTP id smtpd.web10.53785.1677012307082502837 for ; Tue, 21 Feb 2023 12:45:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BurkRPxZ; spf=pass (domain: gmail.com, ip: 209.85.166.174, mailfrom: twoerner@gmail.com) Received: by mail-il1-f174.google.com with SMTP id e9so2445814ile.8 for ; Tue, 21 Feb 2023 12:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=c6g8qlzAZ+mPyMoxHhqWoNrg8N464n/Om5CzlONFjQc=; b=BurkRPxZBfC6gy/pKdiWf21BkXDERhzIgBYjEjxt89V1MWeWScJZU46186bRJYQev7 3eKHN+T5s/7mSHil6EKXh0ADjxDFRCVQVhta+HRnzCIAjvln530xfmkpgfiWvpC9hf5U U7YONzyI6Ju+fFYMbm2Zy5/TasOJgmKtlMJNvhUZlpTjKHLCbXYljuc7DbAnwnJlnUxd VIPDILxVdVicfgA2sPNFE9kffxpCiW27MARo33YPYOFlJtNnO9P8Aqxc/XefkWcgmGpL SU28G34tRaM1kW/TFRrhYpvX86K+GQkHdaGpjEQ6Y4Uagu6gVuphtIf80S1OD0EMacgu dR1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c6g8qlzAZ+mPyMoxHhqWoNrg8N464n/Om5CzlONFjQc=; b=JF8+2IaHd3B2hk1EyBoTe2eKIaEPDizk/jEzaGqcos7zd+5CL4tKBLQl7TvEtyNyu8 nNK/rzGIVF4DMiiOoZwS3PzffJ40jRlsthhuUd2CwzD2x9BE0Ejg6zQqAgJozYbtcoEy 92CwFuXNWaHoo1Rpoy2Wn2nbMggbA3fzztotn5PVI79e444mGUOpESiwVgmrPxymmOGd RI9+7/TDMHCyJj23m2YbyKmOYqq2ANKkUDPe5gZmnboC9U5up9tgu41HpIZfvZNATnWr M8V0ZSv/e18sVC8pLjM87akJaD3saP3sQHAKQi8eLEcowIFUbLjd5nAxBBBOQOaBUBek iuuQ== X-Gm-Message-State: AO0yUKWe2j/cUg3b6t9FAIqcxgvfCy3aoUbMdn8etsex/VUN7P1XKfMX qUo8A/4q4dPTbUY6uARfVZ9Ym13WnPA= X-Google-Smtp-Source: AK7set/xFQGR3e1WZ/uFvcCrqIxJvB7H7CCESiHi1CZRc798UoWRIukj5+8f6CTr3+s9wB0GZ96unw== X-Received: by 2002:a05:6e02:219b:b0:316:d855:fd25 with SMTP id j27-20020a056e02219b00b00316d855fd25mr3673704ila.21.1677012305960; Tue, 21 Feb 2023 12:45:05 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:05 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 02/11] packagegroup-self-hosted: add zstd Date: Tue, 21 Feb 2023 15:44:36 -0500 Message-Id: <20230221204445.23931-3-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177540 Add missing tools necessary on the host for a build. Signed-off-by: Trevor Woerner --- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb index 529d4c5c5c6b..dd000fda49d1 100644 --- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb @@ -176,6 +176,7 @@ RDEPENDS:packagegroup-self-hosted-extended = "\ xz \ zip \ zlib \ + zstd \ " From patchwork Tue Feb 21 20:44:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19957 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 7FFD0C64ED6 for ; Tue, 21 Feb 2023 20:45:09 +0000 (UTC) Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) by mx.groups.io with SMTP id smtpd.web11.54499.1677012307885918393 for ; Tue, 21 Feb 2023 12:45:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VzRn50Sx; spf=pass (domain: gmail.com, ip: 209.85.166.177, mailfrom: twoerner@gmail.com) Received: by mail-il1-f177.google.com with SMTP id e10so2350980ilu.4 for ; Tue, 21 Feb 2023 12:45:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=A/xlMbUDo+hPILYuVbdLGIAJQRqEfTKJOorJt4tSXjI=; b=VzRn50SxMsyVoO7XFCDGi9D/3z38NA21hcw0quVdkZpzb4tlpD+fp5Jg1kyC+Ab1ON +sq337Ntu1t+pJYaH7FKwWtGOylRmByC9s/VnVEgiwKZSxTEnN7T6fTLNpKf9t+Fw67U v4Y8VIE4KCucCOPQpn/EytHueqU+bu4ziaklp0QkXD13bS2CwKrslx9+1VqKcAsEzXIS 2a9P9ixp6vdRot+txDYAqbZ2ZcK/pi3T8Cvp8ErJbqXNrToO1Iy013ohgGZBjlIRdtBW /87x4wSjIDcgebrjhiBWp5Ih8dgOjJGDoW9W8nbRwpZo70LakhoOuUz+DjQyLxYvHGl6 Koag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A/xlMbUDo+hPILYuVbdLGIAJQRqEfTKJOorJt4tSXjI=; b=cTAdB32bEOhHGzAybXclA/NOjLqd1+g1HkirTZ4FZZa/SuLjrBbor0jUDEHKHWWC80 gMKR4VxlJYpvBZQ3o5EX7xveeQY5yieqKjLZOK/tB6bCj4s7fiOtCSd7rgCvl40/bmys B59ygs028qN0bOiwq2pg+LTTEIAlFTYodi/so/wNMN8K+CS4KE6JMGeuPAF04e5R1TXT OMhg91vXPrW2CPv8Ebou1dXQhdj6FktIFCUPc8U+eHw3nCCZQ01Vfu6h66rpuqMafYI9 LdYCp7FeG8BF4I1q4pinPucGOMeHuCiEQzDpCzDzRCPfBn2JvwjWq2d3Uu7akH5isq4h Fd+g== X-Gm-Message-State: AO0yUKU1JvWs38XH+7sRMA2FhbWZ1ugS9BdkxFqCXnaiCKFuTQZl1TAP xsLK9Uf9G08w/F69DHtMQlYOphiuyRo= X-Google-Smtp-Source: AK7set9h9e1lwayI/N4nGfA/XiEhvHeQh3sczCbdDzqWRotNROKrDsX5d1Gfw+OKgzg+mpr5AeNdKA== X-Received: by 2002:a05:6e02:1a6f:b0:313:c32b:de26 with SMTP id w15-20020a056e021a6f00b00313c32bde26mr3652647ilv.9.1677012306930; Tue, 21 Feb 2023 12:45:06 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:06 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 03/11] build-appliance-image: add support for qemu Date: Tue, 21 Feb 2023 15:44:37 -0500 Message-Id: <20230221204445.23931-4-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177541 Add ext4 explicitly to the list of IMAGE_FSTYPES so the build appliance can be run with runqemu. Signed-off-by: Trevor Woerner --- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index 064e7a1ed82f..e28096758b9b 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -1,5 +1,5 @@ SUMMARY = "An image containing the build system itself" -DESCRIPTION = "An image containing the build system that you can boot and run using either VirtualBox, VMware Player or VMware Workstation." +DESCRIPTION = "An image containing the build system that you can boot and run using any of qemu, VirtualBox, VMware Player or VMware Workstation." HOMEPAGE = "http://www.yoctoproject.org/documentation/build-appliance" LICENSE = "MIT" @@ -20,7 +20,7 @@ IMAGE_ROOTFS_EXTRA_SPACE = "41943040" APPEND += "rootfstype=ext4 quiet" DEPENDS = "zip-native python3-pip-native" -IMAGE_FSTYPES = "wic.vmdk wic.vhd wic.vhdx" +IMAGE_FSTYPES = "ext4 wic.vmdk wic.vhd wic.vhdx" inherit core-image setuptools3 From patchwork Tue Feb 21 20:44:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19960 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 8E846C61DA3 for ; Tue, 21 Feb 2023 20:45:09 +0000 (UTC) Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) by mx.groups.io with SMTP id smtpd.web10.53786.1677012308880608840 for ; Tue, 21 Feb 2023 12:45:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SKjsxqQy; spf=pass (domain: gmail.com, ip: 209.85.166.180, mailfrom: twoerner@gmail.com) Received: by mail-il1-f180.google.com with SMTP id s8so2212960ilv.10 for ; Tue, 21 Feb 2023 12:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=N7MED7gFtmaGESHhUta/LQbigMrXWF2eKmyeZ/NrGSA=; b=SKjsxqQyHdnxAWBRiiUgZl5+jz7kM7Lv1mGiWajgV3teAYyufF9z6TWaTqoM8vlEHJ RzIeONoBkWVJq0vVF22lcfUmYENPEEpHdO4LfGgrXdixRWJgabmiCaLR498hZJ0fJ6ey ZbeoLkU+CmwWNJVqDUnEzv5Er2VNnD2fN3Ok/Pfu8GC5u7v/lQHqjn+78h/9scllhfGT 8nKmI3y5AxlAgTTjd8TBYHkW4Vu5DAYe+FI3BhN9Av/sozUU1x6tDbjKbH3adsfJ16rx /aYVxtkd8tFw6whhfqcvPLVLG/kTn0rZpKqqFUidUaat4SuTz8flDYwTndp/H0T5C91U 4O0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N7MED7gFtmaGESHhUta/LQbigMrXWF2eKmyeZ/NrGSA=; b=8LFliYGWbnPXqqCj33n0WkMoKgm1Xap2aWUSWKYMfHpGlmX5A20b0ZuLPCKwOJf7sv SA9lyWLIW9ey5FgSVhbP01HoOgIL1TGNmthLXg2VoB9SNrz5qu/QyOP6drMhqGsf0Bz6 xDdFoDOm7qosGQlsNoqOXzDNZ+kRTBLGwwGeXQkZ/dw5fwsoHblIyIcST+wZhAol6Gk/ wZG0g4YFL1z2y5ZTTvGbZ1l6OO65uEY3qmGn4zQze0vrPqcD9j6jepFLwfGU73mFCKYf Ieejblm8+Bzmy+1L8sl84WDlu6nQTIjaFsE9Q9yr02u++h+CS3HxSiGO4X2PTdK3APTp YTAA== X-Gm-Message-State: AO0yUKV4i8bprGJ8TG/8yvaPrtGElo20aLZGCgCrmGqvMxzcDSWtIU+W RMGRZrTIDPY0K3cUUnFu5NhcyEoVI50= X-Google-Smtp-Source: AK7set9lOAiDnF6HEGHuuwy4Ocw2/1BppZYAU+Yy2sD/1vcY/dHBw+fQfPxiLmzieBn5zrO64Dhu1g== X-Received: by 2002:a92:a04f:0:b0:314:5aa:94c6 with SMTP id b15-20020a92a04f000000b0031405aa94c6mr5028748ilm.17.1677012307859; Tue, 21 Feb 2023 12:45:07 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:07 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 04/11] build-appliance-image: set TERM Date: Tue, 21 Feb 2023 15:44:38 -0500 Message-Id: <20230221204445.23931-5-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177542 Choose a nicer terminal for the build appliance so that build warnings and errors show up in colour instead of: $<50>Setscene tasks: 2844 of 2844 $<50>WARNING: mesa-2_22.3.3-r0 do_fetch: Failed to fetch URL https://mesa.freedesktop.org/archive/mesa-22.3.3.tar.xz, attempting MIRRORS if available $<50>WARNING: glslang-native-1_1.3.236.0-r0 do_fetch: Failed to fetch URL git://github.com/KhronosGroup/glslang.git;protocol=https;branch=master, attempting MIRRORS if available Signed-off-by: Trevor Woerner --- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index e28096758b9b..b000ea0c4d70 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -63,6 +63,7 @@ fakeroot do_populate_poky_src () { echo "INHERIT += \"rm_work\"" >> ${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf echo "export LC_ALL=en_US.utf8" >> ${IMAGE_ROOTFS}/home/builder/.bashrc + echo "export TERM=xterm-color" >> ${IMAGE_ROOTFS}/home/builder/.bashrc # Also save (for reference only) the actual SRCREV used to create this image echo "export BA_SRCREV=${SRCREV}" >> ${IMAGE_ROOTFS}/home/builder/.bashrc From patchwork Tue Feb 21 20:44:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19964 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 5BF95C64ED6 for ; Tue, 21 Feb 2023 20:45:19 +0000 (UTC) Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) by mx.groups.io with SMTP id smtpd.web10.53788.1677012309770535473 for ; Tue, 21 Feb 2023 12:45:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=baFEr0e6; spf=pass (domain: gmail.com, ip: 209.85.166.176, mailfrom: twoerner@gmail.com) Received: by mail-il1-f176.google.com with SMTP id m18so2410296iln.2 for ; Tue, 21 Feb 2023 12:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=kguseQdZpmI/3v6qjyGYZ04Kp6D6dBjxqYAsw0vzuv0=; b=baFEr0e68SE6hui2Blyp0/M6kovrANjGr+hYnYsV2guyChnnvXMfUnsmeA2YB7zsNC zOeA+PXr96p7KdgEFziqobcj6GeWXB4Na9MX63Zrf+S7RlfsMbds/dpQix+67mkV2Ki1 1M602ToWd2k8Z7JOuqm3zxnxJ7kDh+/vfxZkMzhxpxc9XOmNp2ezEMNjhIhOtI4lzoT2 rarfpjyqBw1QJI78C8UT7/Ft0RBVUBi1Ck45zYpnf4TiodHxV6JXYKlbQ3ZpKPyxx1Ic Q1HbOFhP/lfHNOTMUpK/6rULeTnVvC3EqyRLCktP80Uh0r0xdqCq0v7ludH5DCXzK2x1 +QDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kguseQdZpmI/3v6qjyGYZ04Kp6D6dBjxqYAsw0vzuv0=; b=d9ZaV3TH06OBtQk2HwrfvLyejZpM09KVYxDZmHnqg6cWwQiorPNu8vL5T6vSRZ3SaS pg+cn3OUYi3HKgD0PRf+C7Yc7igxShM2hKHVG/rg50ragOobbEhjukKUVcLDuSG0JsgH FC1fx5EW5TflNuCsHgsFTd4XI7H/EB23QEu1uJF+Fu0T+IhAM23Qjqk0CU/Ze5XXoRl8 qYGZ2j4hmLYrMCFj5R/QiWbpz37iUqtMtyAVG/LDJFHSoQaRB+GSdAHit0CYN1cJ9cUI DCXKMSxRcTYoq1veKcLgHfLIzxbiEMHGiPg0WToGy7euzgA5JhTNNHey9hiL1rBEv2cG Vfkw== X-Gm-Message-State: AO0yUKX45qvmbBJIryJCirK4k6OkneCz+iKVkoy6OIOHI5fXBT6Fbj8m mvZivzPmZ0ajJKU01gm1BG2H7maw9pY= X-Google-Smtp-Source: AK7set85nMZt4jLfDpbNBn6ynvsqXC2QOrjDcAuQeSQQfYEB5HNYAqmEMFZ6rjADPJhFhSSfwkyENQ== X-Received: by 2002:a05:6e02:1a6f:b0:313:c32b:de26 with SMTP id w15-20020a056e021a6f00b00313c32bde26mr3652690ilv.9.1677012308787; Tue, 21 Feb 2023 12:45:08 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:08 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 05/11] build-appliance-image kernel: linux-yocto: qemuall: add taskstats Date: Tue, 21 Feb 2023 15:44:39 -0500 Message-Id: <20230221204445.23931-6-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177543 Add the taskstats configuration to any kernel built for qemuall for bitbake's benefit: WARNING: The Linux kernel on your build host was not configured to provide process I/O statistics. (CONFIG_TASK_IO_ACCOUNTING is not set) Signed-off-by: Trevor Woerner --- meta/recipes-kernel/linux/linux-yocto.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index 091003ed8299..93eef9e94684 100644 --- a/meta/recipes-kernel/linux/linux-yocto.inc +++ b/meta/recipes-kernel/linux/linux-yocto.inc @@ -31,7 +31,7 @@ DEPENDS:append:arc = " libgcc" KERNEL_CC:append:arc = " ${TOOLCHAIN_OPTIONS}" KERNEL_LD:append:arc = " ${TOOLCHAIN_OPTIONS}" -KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc" +KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc features/taskstats/taskstats.scc" KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'cfg/efi.scc', '', d)}" KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" From patchwork Tue Feb 21 20:44:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19966 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 842F9C678D5 for ; Tue, 21 Feb 2023 20:45:19 +0000 (UTC) Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by mx.groups.io with SMTP id smtpd.web11.54501.1677012311325267146 for ; Tue, 21 Feb 2023 12:45:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KfywE8Hm; spf=pass (domain: gmail.com, ip: 209.85.166.172, mailfrom: twoerner@gmail.com) Received: by mail-il1-f172.google.com with SMTP id x6so2512623ilm.11 for ; Tue, 21 Feb 2023 12:45:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=E4CH/9yqTyhCoyJ84BE3+DIVBA/nWsZ6Oau+10TEriM=; b=KfywE8Hm02aR498lVopNIgGPPgU/vr98XVJF44Cs+wu91rJh2iL5G05DDiqHV57/uc qkul6pASgjAR2myJh6/fA9W3QDD4NOLqyMTRZ6wzlH5tOUThkd+ozJmVIPB4ojMS+8SJ 7HFtvr1cjypBniCO7TdgJ4TMsOt1jey/5YVP3aHS4SQXggYdo/oTwazmVcSWvvdNvzDH tELoPqDppRR4ofI8xR0RsiiWA4mjEIWsOAAnYG2p737aIIF6k4+GIxPVjViOzC+xZwhQ BCPSmVzMKNe833/DMtGIUsfu+V6DC2fQibRAK3CfCllE35I96YPDqOyY5cnBb75Ay35T jSLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E4CH/9yqTyhCoyJ84BE3+DIVBA/nWsZ6Oau+10TEriM=; b=ssE+0AZr1XiR63nSaYwBlCKAPtLR61JvHrceZLyZIny2avpb0SRbXJ5D8FhAY4/yB2 MUDz0AVOmrdy8K1FoocXiMCKUI2d5s8aX7xlBrkSxgSogy45zOjsYiMQY0S5tckH6ZZA 2AVQhtOYCgks14OnXNYYCni6YPYYllG55GkWErkhYyVp/y6H4DcWUnOyEGfrjAjG+J1N mlh1GvTp2Pat4TxAl7VfE7NsBSw/y1DaCEG1aGrc1ToiY/da4Q/wmeS9oWTtf/aSJpNA g4gKx2SGcX5HP/0U97DNEBZSlVW3SAxE2tAmPPqoveq3CN9Ox0EUPpiehFZJK5TTW1Tr Ns0A== X-Gm-Message-State: AO0yUKXKzvfSBoKqDrcL0M8SMLMUBsnPmFQRCh55EP9umMN0z9kZK1pT cwOFd7/IMEtsF6OgwDPA+qoFIqnWr0k= X-Google-Smtp-Source: AK7set9+Dh5tWDQadBH94khq3IoL9ikTlDG5nkn+FxxFnfjxN95j1h09vs7jSyGeeH/ySEOTktZRJw== X-Received: by 2002:a05:6e02:144f:b0:315:3036:4da with SMTP id p15-20020a056e02144f00b00315303604damr6979750ilo.30.1677012310248; Tue, 21 Feb 2023 12:45:10 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:09 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 06/11] build-appliance-image: fix HOMEPAGE Date: Tue, 21 Feb 2023 15:44:40 -0500 Message-Id: <20230221204445.23931-7-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177544 Update the HOMEPAGE metadata. Signed-off-by: Trevor Woerner --- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index b000ea0c4d70..ad5ea92b3eda 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -1,6 +1,6 @@ SUMMARY = "An image containing the build system itself" DESCRIPTION = "An image containing the build system that you can boot and run using any of qemu, VirtualBox, VMware Player or VMware Workstation." -HOMEPAGE = "http://www.yoctoproject.org/documentation/build-appliance" +HOMEPAGE = "https://docs.yoctoproject.org/overview-manual/yp-intro.html#archived-components" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" From patchwork Tue Feb 21 20:44:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19961 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 59E73C636D7 for ; Tue, 21 Feb 2023 20:45:19 +0000 (UTC) Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) by mx.groups.io with SMTP id smtpd.web10.53793.1677012313009278929 for ; Tue, 21 Feb 2023 12:45:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kJ/r9Ng8; spf=pass (domain: gmail.com, ip: 209.85.166.181, mailfrom: twoerner@gmail.com) Received: by mail-il1-f181.google.com with SMTP id i4so886343ils.1 for ; Tue, 21 Feb 2023 12:45:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=LqCXGzvdga7LI+WivlK9jdxVB+/cxmnzOZ5PaBI04YQ=; b=kJ/r9Ng8JyWKRILGnzW88Ydmz22sAlL0fVKf5/lPkuqYlVZ5rAiL7Qw9ahjFc4ZemD r32m2GOyf8D5ThvWEumpIap6ie/drzyh3N03AwEDivinIpzUSlS3Tk518h3tDsjIk5H6 u05gd/ytl3ERmTaSP0XKpspxLvjpmnRHcYMQ41EBd7F7pGyb2/PDq9Cq7z11w+IuXc5O ATMceDzmqRJCrobzOSy0LB7RcgaJLTsl+fpTvj0JJywlr6WVNU3fBUsQDsofnMWiCcYe UOJGwk7LRN84oet8W2Mt1ewBUT2v8ZwWamoNTDOoGAES82Eu7HRRANAwVmRNuLyZy9yX VJwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LqCXGzvdga7LI+WivlK9jdxVB+/cxmnzOZ5PaBI04YQ=; b=nryMkAHNCTzyBVRbcqSXdqiXl2OzMOsxR3EDDIaULkXxx3msCT79/XhpCwe0D0MOOs gdu4h7ehFsZj3aLeW4ZQnP2cbOSIJlNjjt3B8SFStommFpQ4XPF5uXRyk5PUpICV0KsF FJ6yCnzY7JeuvpcdhanZBhIBddOuNai+P5Fioz73VXN8kdAUT3xQH4BgMxu3R/zQWY38 F0XxJkUR9kInq2XmsTwVhHbmh2KFKw/60ZxwM1A2wGF5XECPg72lWJRx7+vRtLxhnMMm vYc0vTUZ0S9+gBgJ2521x/LaDXeiAXmDKCFk3FN2c80hWGSbSRCEpbNdl0d8UVO0gK9i TLCw== X-Gm-Message-State: AO0yUKVmi7JjN+boqN8bcRs1uOVVuoRcSbuI62lgY1ecd8vTKwzu3R/p IXKyg/UQ522fglY9tXOwPcwknGhJ9+A= X-Google-Smtp-Source: AK7set9IkESWkwNJ8pozcStJCJyuoZw37V1uYZ1KeY9KbpKBxjqzPF/f6F4yHJc1J/uk22wyEB/fiQ== X-Received: by 2002:a05:6e02:20ef:b0:311:e5:5d11 with SMTP id q15-20020a056e0220ef00b0031100e55d11mr7173056ilv.9.1677012311881; Tue, 21 Feb 2023 12:45:11 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:11 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 07/11] build-appliance-image: add /lib64 symlink Date: Tue, 21 Feb 2023 15:44:41 -0500 Message-Id: <20230221204445.23931-8-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177545 Add a /lib64 -> /lib symlink in case the build appliance is 64-bit. Building rust-native requires cargo to be run. The native cargo is linked to look for /lib64/ld-linux-x86-64.so.2 and can't be run without it. The build produces the following error, even though that file does exist: FileNotFoundError: [Errno 2] No such file or directory: '/home/builder/poky/build/tmp/work/x86_64-linux/rust-native/1.66.1-r0/rust-snapshot/bin/cargo' Trying to run this binary on its own gives: qemux86-64:~/poky/build$ tmp/work/x86_64-linux/rust-native/1.66.1-r0/rust-snapshot/bin/cargo -sh: tmp/work/x86_64-linux/rust-native/1.66.1-r0/rust-snapshot/bin/cargo: cannot execute: required file not found Signed-off-by: Trevor Woerner --- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index ad5ea92b3eda..3a84de0a2b43 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -109,7 +109,13 @@ fakeroot do_populate_poky_src () { chown -R builder:builder ${IMAGE_ROOTFS}/home/builder/.cache } -IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " +fakeroot do_tweak_image () { + # add a /lib64 symlink + # this is needed for building rust-native on a 64-bit build appliance + ln -rs ${IMAGE_ROOTFS}/lib ${IMAGE_ROOTFS}/lib64 +} + +IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; do_tweak_image; " # For pip usage above do_image[network] = "1" From patchwork Tue Feb 21 20:44:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19963 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 5B372C64EC4 for ; Tue, 21 Feb 2023 20:45:19 +0000 (UTC) Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by mx.groups.io with SMTP id smtpd.web11.54501.1677012311325267146 for ; Tue, 21 Feb 2023 12:45:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qT96ej1V; spf=pass (domain: gmail.com, ip: 209.85.166.172, mailfrom: twoerner@gmail.com) Received: by mail-il1-f172.google.com with SMTP id x6so2512685ilm.11 for ; Tue, 21 Feb 2023 12:45:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=rtiOGJw+jESiIsmF/Aks8A3AUeXSVbMQQyzF0ncVObQ=; b=qT96ej1VO37+y7VSJe7p3UEWC8XJwqjqHgZT+x73z9KCMbe6yHrqDStSdCb1gjkmWN 6IN1smtxvNW1DWz13fFf5huVQ3hLsfHIJdgch51KeXBcNvo/miqJi3+U77cTqGTna90f 7lYK9XO+yvmlb87WrEoJJV4Pm3Yj3st0TmofIIBaiSCXnoP1BeMFw1IKFa7tzfRxu0El iOU82SbideMnjSb6Gn03dqbULft3javTazt2qCMuDNlfFmeAJ55a29j4kDPGX0TDgaM9 QN0lHI0ZxEF/+F2l9UBy8A5vEMxnWItHrxBHeWwOBZnPxqS+PhqjW384udIfU77vtx+Y r47A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rtiOGJw+jESiIsmF/Aks8A3AUeXSVbMQQyzF0ncVObQ=; b=M9ZWNssUwYPLjhDx5u1ic0qnxBhLduG00V+h/qI5eYGLhV6HrzojPO3PC30qka1v8R CR8CuZcF+oraVIQrqMz3daWqKO6SDilnMiA+IC+7sPEe94aWtGIHS7uBen8qYBQ+mUUk Mwv9pKh9SLyjB6x+9hX2fuzKUBtZliO4XSyAITxc5rjzQnVYKYOpLj58Z/DXgO1OPwVn 56zvPWc5NrEBN7Cq5aU+VFnpOSD90R7nUYTvz9hUvJshbdywGqKxDUHcUkjvVevhVIhB zeKpkcmAc6qbcqWYUQRu3EZHxqeILhR0O1xO4grEZK2s3NWSnu/VJ6ORLgOPMPiPZMyq Fv7g== X-Gm-Message-State: AO0yUKU9vp5C5CtKiYbybq/7RZRutfLnwjnmrC4wwNqeSZscBlhDcAea A4vzFQaMUL8PxLFsT3yaUl9tJxZrrC8= X-Google-Smtp-Source: AK7set8Zek/OYoSQd4kHs/lxOJhUKIvw9I7vpr4oBPHbGBD/+TP0sOwPb5Ge8Y/yTKfsqLqBOg+iqA== X-Received: by 2002:a05:6e02:1a27:b0:316:e033:86ba with SMTP id g7-20020a056e021a2700b00316e03386bamr2051979ile.31.1677012312916; Tue, 21 Feb 2023 12:45:12 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:12 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 08/11] build-appliance-image: use a real /tmp Date: Tue, 21 Feb 2023 15:44:42 -0500 Message-Id: <20230221204445.23931-9-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177546 Make /tmp a real directory in the root filesystem and not a link to an in-memory tmpfs. Otherwise bitbake will run out of inodes on /tmp very quickly and stop any build. Signed-off-by: Trevor Woerner --- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index 3a84de0a2b43..1f7b96a9fcf4 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -113,6 +113,12 @@ fakeroot do_tweak_image () { # add a /lib64 symlink # this is needed for building rust-native on a 64-bit build appliance ln -rs ${IMAGE_ROOTFS}/lib ${IMAGE_ROOTFS}/lib64 + + # make /tmp a real directory and not a link to an in-memory tmpfs + # otherwise /tmp will run out of inodes very quickly when bitbaking + sed -i -e 's#l root root 1777 /tmp /var/tmp#d root root 1777 /tmp none#' ${IMAGE_ROOTFS}/etc/default/volatiles/00_core + mkdir -p ${IMAGE_ROOTFS}/tmp + chmod 1777 ${IMAGE_ROOTFS}/tmp } IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; do_tweak_image; " From patchwork Tue Feb 21 20:44:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19962 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 6B97AC61DA3 for ; Tue, 21 Feb 2023 20:45:19 +0000 (UTC) Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) by mx.groups.io with SMTP id smtpd.web11.54503.1677012314972301851 for ; Tue, 21 Feb 2023 12:45:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=G1LoYpvq; spf=pass (domain: gmail.com, ip: 209.85.166.180, mailfrom: twoerner@gmail.com) Received: by mail-il1-f180.google.com with SMTP id m8so2311872ilh.5 for ; Tue, 21 Feb 2023 12:45:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=H1uCrQguv7U9iGkXgRCzolwMPoKYGeMjRfOZlfScQX8=; b=G1LoYpvqG4ZjzM/+lmSVKbBz0nCHGXzisBwyDnc5sUlPodIyibS15/IUbRYQVzSZSl 2lodSqvBsZhNbvADY2rfdXilUEkBktEbfiKIuXM5QkMLTAO5je4IJ6WyWFIuvebMp+rf myJa+buf1VXTxzCNrJRzUdWZWN2Nm5DFfaaU8ZLl+ERDvadzBKwbZ78yNIXF87LACJUZ sfitlnsXIbF6zrgZoQ9CMvuS5bTFXyDfCVtDItTALkN6iAvXUDE+cCLN+PIPzPg/BKbO g461SzsCtlntC6wRoOXS4I9QCmVUpXSFGEvnGnhaTs6Y45WrQJdDwJImm+3CCFXtN8dO odYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H1uCrQguv7U9iGkXgRCzolwMPoKYGeMjRfOZlfScQX8=; b=NAbozPHGE7ebk8QR51E/gKBPRs2LYYX7U4G745NcWHjpy2MT2WNSctpJ9RJbSIlQhw mRp1goeFx7ZCnK6OX2hbPSj1jMJCWrG9+QBC8roOc/UuCyTZqZCCkt/I6djuKKqCCrjU gHrr5MJDP918dFhy8GCKZ6v8Z9BIF0933HdR+EwQ7lYaCQHXvdVFfbwaoxPEH2BBPTmD EjsSo8mQM1Rvvk4QYYxeqF8GJJPgUGxC0BEXEzAqPiBMGePsglPkcJw93b0nHWTLlRnV eVi1Tr7moouQ0a/BDKGkB+2smJiQuXWyJGMWo0sPIUPBOQN6oD4Esm67skvNlhnzAySB JK9Q== X-Gm-Message-State: AO0yUKVp4f/WEJvpK8s0YWpcvmuixUrChKRHefXgGe1rW4bFaeeJ/k4r bmvPLHwP5Cje7GALwA1UmcDfwA7wX+E= X-Google-Smtp-Source: AK7set+CuW5a2ELsyvbV1m3fPF0/z0mlcRYC3jtcBYAE7tNgBAUzGgbEq9/BU6SxbLLNekOdfFot1w== X-Received: by 2002:a05:6e02:198e:b0:316:dc3a:fdc1 with SMTP id g14-20020a056e02198e00b00316dc3afdc1mr3152859ilf.19.1677012313807; Tue, 21 Feb 2023 12:45:13 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:13 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 09/11] build-appliance-image: QB_MEM: allow user config Date: Tue, 21 Feb 2023 15:44:43 -0500 Message-Id: <20230221204445.23931-10-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177547 Allow the user to specify a QB_MEM value of their choosing, otherwise set it to a default value. Signed-off-by: Trevor Woerner --- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index 1f7b96a9fcf4..aa1e87763d57 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -11,7 +11,7 @@ IMAGE_INSTALL = "packagegroup-core-boot packagegroup-core-ssh-openssh packagegro IMAGE_FEATURES += "x11-base package-management splash" -QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}' +QB_MEM ?= '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}' # Ensure there's enough space to do a core-image-sato build, with rm_work enabled IMAGE_ROOTFS_EXTRA_SPACE = "41943040" From patchwork Tue Feb 21 20:44:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19965 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 6D976C677F1 for ; Tue, 21 Feb 2023 20:45:19 +0000 (UTC) Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) by mx.groups.io with SMTP id smtpd.web10.53796.1677012316895960071 for ; Tue, 21 Feb 2023 12:45:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bgg07NeJ; spf=pass (domain: gmail.com, ip: 209.85.166.176, mailfrom: twoerner@gmail.com) Received: by mail-il1-f176.google.com with SMTP id a1so2388063iln.9 for ; Tue, 21 Feb 2023 12:45:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=EuNVXSYBydz1kD3+hvzkwAcCkIrsP94aomqX3w20rBQ=; b=bgg07NeJ4GJEvrHVQbmb/l0YvztVdGmtGH6fKfN2oBGq/G09kkflTxMGxBlqcj7q6c hanT+0i4DJipgdqRy07lErCnEph0mmneGX89WNAAiFnQgSWp9Wzc6uxahxtQRWdnqHyQ Zd5/Dpw5Mywy/kK+MisDQUjEdzOGkM0l7irgr/HQUaIBuMgHwzSdY7xEeX33wDKfFgEc ehrtz0v1CCG2eJTM6YKXo7CXSl15FWtjr/0Bhg3AOuMCQCt/B9GffcKnD7WSao9gFMdw J6/3tyGkQGGsIJSA0WtjbRI9OLm4In7HbmiZbzrPfsmkaTPyXt/JSrUc64wUPmOKn2tr JgIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EuNVXSYBydz1kD3+hvzkwAcCkIrsP94aomqX3w20rBQ=; b=7pKZRGBfkhhpSzoTpVvX/6d6476sl+mX872DRndUA2u3Bn79jAI7leaImKDLWxXJyU u2gGvS4UBJFjTI8HAo85YObNwJ63YkoP/9iFDd6g6TYgcp1lq/cot5Acy0SQq0Icd0og nwxEb1hJGhGGQe1hZ38sbJeFNT9Ql6u6LeDokkit7FOwJDOEc8QVr2fkuVb02OyJjSVE T5uUmJHj/irf+4krvargPgT17BbHeP4wq8l5R+vmF6q08NreERiHZN5Nnmgk5BDNw+Ts wlR3VQWgP/iCoyYvDqSz+6/F7vr+ybtYPIt+kayEaBtvxGNK3NjZyk6B5pAu45zYTERh xKxA== X-Gm-Message-State: AO0yUKUj610Z4op5pBeZBVdS6xWrwFmLz3I7gM33F0BIb5nctW5+gnHf A9rMivfPPyuUJGWjg1knQsUz256Sa24= X-Google-Smtp-Source: AK7set8rOeSnIh0OtwRJ1UBzZKow4kKiYKrWfI7JIeANN1CwbZksjuthkz3VXFSuD41wBts0jR/HXw== X-Received: by 2002:a05:6e02:1c22:b0:313:e6ae:3490 with SMTP id m2-20020a056e021c2200b00313e6ae3490mr4243090ilh.14.1677012315938; Tue, 21 Feb 2023 12:45:15 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:14 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 10/11] QB_SMP: allow user modification Date: Tue, 21 Feb 2023 15:44:44 -0500 Message-Id: <20230221204445.23931-11-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177548 Allow a user to override the QM_SMP value giving them the opportunity to select for themselves the number of CPUs to use in qemu. Signed-off-by: Trevor Woerner --- meta/conf/machine/include/riscv/qemuriscv.inc | 2 +- meta/conf/machine/include/x86/qemuboot-x86.inc | 2 +- meta/conf/machine/qemuarm.conf | 2 +- meta/conf/machine/qemuarm64.conf | 2 +- meta/conf/machine/qemuppc64.conf | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc b/meta/conf/machine/include/riscv/qemuriscv.inc index 1d32b4a58209..c977a266ca21 100644 --- a/meta/conf/machine/include/riscv/qemuriscv.inc +++ b/meta/conf/machine/include/riscv/qemuriscv.inc @@ -26,7 +26,7 @@ UBOOT_ENTRYPOINT:riscv32 = "0x80400000" UBOOT_ENTRYPOINT:riscv64 = "0x80200000" # qemuboot options -QB_SMP = "-smp 4" +QB_SMP ?= "-smp 4" QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi" QB_MACHINE = "-machine virt" QB_DEFAULT_BIOS = "fw_jump.elf" diff --git a/meta/conf/machine/include/x86/qemuboot-x86.inc b/meta/conf/machine/include/x86/qemuboot-x86.inc index 3953679366d9..dd7e7c938413 100644 --- a/meta/conf/machine/include/x86/qemuboot-x86.inc +++ b/meta/conf/machine/include/x86/qemuboot-x86.inc @@ -1,6 +1,6 @@ # For runqemu IMAGE_CLASSES += "qemuboot" -QB_SMP = "-smp 4" +QB_SMP ?= "-smp 4" QB_CPU:x86 = "-cpu IvyBridge -machine q35,i8042=off" QB_CPU_KVM:x86 = "-cpu IvyBridge -machine q35,i8042=off" diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf index 1bd4e3e154fc..c5234231e2e5 100644 --- a/meta/conf/machine/qemuarm.conf +++ b/meta/conf/machine/qemuarm.conf @@ -16,7 +16,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" QB_SYSTEM_NAME = "qemu-system-arm" QB_MACHINE = "-machine virt,highmem=off" QB_CPU = "-cpu cortex-a15" -QB_SMP = "-smp 4" +QB_SMP ?= "-smp 4" # Standard Serial console QB_KERNEL_CMDLINE_APPEND = "vmalloc=256" # For graphics to work we need to define the VGA device as well as the necessary USB devices diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf index ffc51c803fa7..2f0f0e4f842f 100644 --- a/meta/conf/machine/qemuarm64.conf +++ b/meta/conf/machine/qemuarm64.conf @@ -16,7 +16,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" QB_SYSTEM_NAME = "qemu-system-aarch64" QB_MACHINE = "-machine virt" QB_CPU = "-cpu cortex-a57" -QB_SMP = "-smp 4" +QB_SMP ?= "-smp 4" QB_CPU_KVM = "-cpu host -machine gic-version=3" # For graphics to work we need to define the VGA device as well as the necessary USB devices QB_GRAPHICS = "-device virtio-gpu-pci" diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf index 770933931324..2fbd26a6f997 100644 --- a/meta/conf/machine/qemuppc64.conf +++ b/meta/conf/machine/qemuppc64.conf @@ -13,7 +13,7 @@ SERIAL_CONSOLES ?= "115200;hvc0" QB_SYSTEM_NAME = "qemu-system-ppc64" QB_MACHINE = "-machine pseries" QB_CPU = "-cpu POWER9" -QB_SMP = "-smp 2" +QB_SMP ?= "-smp 2" QB_NFSROOTFS_EXTRA_OPT = "wsize=524288,rsize=524288" QB_KERNEL_CMDLINE_APPEND = "console=hvc0 nohugevmalloc" From patchwork Tue Feb 21 20:44:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 19967 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 6DFD9C678DB for ; Tue, 21 Feb 2023 20:45:19 +0000 (UTC) Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) by mx.groups.io with SMTP id smtpd.web10.53788.1677012309770535473 for ; Tue, 21 Feb 2023 12:45:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=We/qTFdo; spf=pass (domain: gmail.com, ip: 209.85.166.176, mailfrom: twoerner@gmail.com) Received: by mail-il1-f176.google.com with SMTP id m18so2410489iln.2 for ; Tue, 21 Feb 2023 12:45:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=viFycpahJUM4wqloGmKkKuzWqihfT82yK4VFLvTbEv4=; b=We/qTFdoKivutL6oUuIq47lKbJbRvONrZ3+42PzsYn3fcX8Cul2qylCecIf13RunwH UOOgR5g/bG7fjtnStQpgqabSBKkxAmQh1LhTmWqeYQhSYYQ8regtn2Vh+wHN9DVQZFDB z16hxhnxIdd5bHeJUjSYgha3MB8Nf+JiwfERKs+tIaSygtC30MT5C531/Zjla9xekIJ9 sSoD4IZXIGcQxswSjIXSo9MBod16PGhX1in90+adbsB7sHm00ISNaa1yqjawyea+Abv/ ku1oChdbYv2v6+zDZt7EgH3EejWv92KgSdqK7Ua+h4DEdhQtSdhvgMwFk3PrICxcowvu H/6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=viFycpahJUM4wqloGmKkKuzWqihfT82yK4VFLvTbEv4=; b=4VNHM/SJVNj5EhSJsvlGcu/FQMHjA4R/slqmx8r1t0QPceLtKTjwIpFhx/aul8BLov 2LksYwlubrNZVfuwBm2C1MbzJFAjgiaxcO74aQOuvqm+0llFAFsiw2G7VGbeIw8OJpZ4 Pq2lyoXGrbD8zj4HtQukbg0mX4yiA1JsV6H1lOOLtBbXAdWoCzQQ1gPVGRnoNQQXry8A mqmorIR0KxsU165khIQMWbZzbJROJN5/QPvu+oJnD3zwYc+hlzXBG2ua2paTTDOt0HXK TKY+tVwIm0uFFokisS17ldBS4GBuldQF07HrGUkP2sNBlvOfYeQiATJClYWM+aUTasoG E+zQ== X-Gm-Message-State: AO0yUKXqYWI7lkXZcKP0u3+71yVe3lrznFyxnZYzxvHcWyjaxTa+vL5+ Yc1ooEv40wA5hvcN9zFU0rQllENm9GA= X-Google-Smtp-Source: AK7set+Y/l1J3FtUhbLYmMIE3fefg34dGjfIlBXJXXwZ0yGP+5g6XlI3jbEbbEevXk8YRnLfApBWPA== X-Received: by 2002:a05:6e02:16cd:b0:315:8ecc:9c8e with SMTP id 13-20020a056e0216cd00b003158ecc9c8emr6675496ilx.21.1677012316858; Tue, 21 Feb 2023 12:45:16 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id e11-20020a02a50b000000b003a58ae912aasm414347jam.28.2023.02.21.12.45.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 12:45:16 -0800 (PST) From: Trevor Woerner To: openembedded-core@lists.openembedded.org Subject: [PATCH 11/11] build-appliance-image: check for xattr feature Date: Tue, 21 Feb 2023 15:44:45 -0500 Message-Id: <20230221204445.23931-12-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230221204445.23931-1-twoerner@gmail.com> References: <20230221204445.23931-1-twoerner@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 ; Tue, 21 Feb 2023 20:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177549 The xattr DISTRO_FEATURE is required otherwise a bitbake build will fail due to a failure with the 'cp' utility: Subprocess output: cp: cannot preserve extended attributes, cp is built without xattr support ERROR: Logfile of failure stored in: /home/builder/poky/build/tmp/work/qemux86_64-poky-linux/packagegroup-base/1.0-r83/temp/log.do_populate_lic.1001 ERROR: Task (/home/builder/poky/meta/recipes-core/packagegroups/packagegroup-base.bb:do_populate_lic) failed with exit code '1' Signed-off-by: Trevor Woerner --- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index aa1e87763d57..2321d3a51a24 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -22,7 +22,9 @@ APPEND += "rootfstype=ext4 quiet" DEPENDS = "zip-native python3-pip-native" IMAGE_FSTYPES = "ext4 wic.vmdk wic.vhd wic.vhdx" -inherit core-image setuptools3 +inherit core-image setuptools3 features_check + +REQUIRED_DISTRO_FEATURES += "xattr" SRCREV ?= "a5507f383cdab99806df131bf4aef191799c5153" SRC_URI = "git://git.yoctoproject.org/poky;branch=master \