From patchwork Tue Jun 3 11:36:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 64158 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 32E6FC5AD49 for ; Tue, 3 Jun 2025 11:36:38 +0000 (UTC) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.groups.io with SMTP id smtpd.web11.9060.1748950588356751360 for ; Tue, 03 Jun 2025 04:36:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mL4Q7mm0; spf=pass (domain: gmail.com, ip: 209.85.221.54, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-3a50956e5d3so1763865f8f.1 for ; Tue, 03 Jun 2025 04:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748950587; x=1749555387; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KxvmG0uXJ33Tnc3vW3kleVS757GYyB4r0ST7PQhsCf8=; b=mL4Q7mm0V3NBa2CUXwua9AKtbs6zps/jE5zAjWfOfgDMfo3VSSlNrVOpSm7+jtFT4D Wp7VaayQ1Dr2qI4mZfQYRfdo3Epq8AmKmM4wDNpZzPiM0JRZ0WByz6xEEvHEE49gwsCt cSoRzngM2x/JRgAhNk/wZCRB9PfNnwzloICDJM7LTUmu7JnCc2uUnNpIrHxNErH61sRK opgkTZ18A6xLNaMwfg5b9n8uLIF5mEedI8MhdwlpCtZ0v2jJ9DSDe1SXdjZ8niz8J+l2 B8GP26uybzoM+Xi8DV5gIrev3YvTwKNhZeZcdnScjL29pMCusYwkiIS3neLZ+IeT5wv0 xxBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748950587; x=1749555387; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KxvmG0uXJ33Tnc3vW3kleVS757GYyB4r0ST7PQhsCf8=; b=petvVMqArN+xXtsnB2eC6MDCJfWI/00Iy9bdWSu6hb4B4Furel+EF5pX445vL8zkWY 3LLuHh8xV0vhj4MsAZlPHjYuEMIN3nzdFwR8kiecdyyNHRsMsQZ/aKGU2T8zwlqqlEz1 lXms5KX1OKG2uxKidhVFbMeJ4cpV5dlo5sOe81GflBcTRPlBlimUJMqDZf1mq7Vm7wXi qBiUnMIQ8lxrYjrHwIKt/4k1+QXkPXoywyb296/WA+hRkbLFPYsOsO+LJGK0H/zYvAea aNQcziRQ+0N8ExyOXESBtSQKnB3KJbHlWmd/NjcCOBola6Vj4U/2M9iwuSY8u00Ynh7Y nRyA== X-Gm-Message-State: AOJu0Yw0TMCw3JmW2ucvGDRRhYkmOjWF8eqxPsWxm0H8oydqQvCsApIS dSiembsij+z1IlXjxMeJtLC3YR20p7dFlyNVZtsWFzGnMW4UdqDYuOjF/EKfLQ== X-Gm-Gg: ASbGncuZygQPr7+wRGBh+VWsZNZb8CN6Lr4seDIfAS64UFp181MOyw2Xs7S0IueP9xP +0aJKgLThcJQaOhZ1OpbRsFJAXenaqTbqMp5Vf/SH8bOmYcSFWR6Mthw5Myzmf0yBjacXfwk/Ev lZdJ3A8a4dJ5j9+NWgTqxqM9aPV0n6ZNYQGfSjjg/m9nvcYHUxTKzZCTdtqzx/nSNOX9nWSzgeU pOuI3hZB3bTNCcoH00731bo0ncTy6H/sMbKgSt1vxdj+0B9nCeP2HEM1Lbf5s1P6kZ26zI8whRN JKUyoily0kdfgO3juW/UTnZzYKf5qdCCnWDyCznTyKfKIDiNEWzsBJOEgcaKcABWToYHBZKwMhz Zd8LPxIyFZCLW X-Google-Smtp-Source: AGHT+IGwQ/mgzD/3TZ5Erq5Audt+zVkyVH8MGlWePN0ibyrt2w9XGZhjNYEw+tjXtWazCQwbldpzCQ== X-Received: by 2002:a05:6000:2c12:b0:3a4:d0fe:428a with SMTP id ffacd0b85a97d-3a4f7a7cad6mr12707108f8f.28.1748950586611; Tue, 03 Jun 2025 04:36:26 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4efe73f22sm17728247f8f.43.2025.06.03.04.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jun 2025 04:36:26 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 1/4] meta/conf/templates: add a blank template Date: Tue, 3 Jun 2025 13:36:17 +0200 Message-Id: <20250603113620.3104900-1-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 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, 03 Jun 2025 11:36:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/217805 From: Alexander Kanavin The default oe-core/poky templates have a number of settings (such as distro and machine) and are thus unsuitable for building up configurations from fragments. This adds a template with an empty local.conf, so that it can be used as the starting point for fragment-driven configuration. There will also be a blank template in poky; the difference is that this one includes only oe-core and the poky one adds poky layers. Signed-off-by: Alexander Kanavin --- .../conf/templates/blank/bblayers.conf.sample | 10 ++++++++++ meta/conf/templates/blank/conf-notes.txt | 19 +++++++++++++++++++ meta/conf/templates/blank/conf-summary.txt | 1 + meta/conf/templates/blank/local.conf.sample | 10 ++++++++++ 4 files changed, 40 insertions(+) create mode 100644 meta/conf/templates/blank/bblayers.conf.sample create mode 100644 meta/conf/templates/blank/conf-notes.txt create mode 100644 meta/conf/templates/blank/conf-summary.txt create mode 100644 meta/conf/templates/blank/local.conf.sample diff --git a/meta/conf/templates/blank/bblayers.conf.sample b/meta/conf/templates/blank/bblayers.conf.sample new file mode 100644 index 00000000000..c985f4f2420 --- /dev/null +++ b/meta/conf/templates/blank/bblayers.conf.sample @@ -0,0 +1,10 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "7" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ##OEROOT##/meta \ + " diff --git a/meta/conf/templates/blank/conf-notes.txt b/meta/conf/templates/blank/conf-notes.txt new file mode 100644 index 00000000000..cfd1f1977bf --- /dev/null +++ b/meta/conf/templates/blank/conf-notes.txt @@ -0,0 +1,19 @@ + +### Shell environment set up for builds. ### + +You can now run 'bitbake ' + +Common targets are: + core-image-minimal + core-image-full-cmdline + core-image-sato + core-image-weston + meta-toolchain + meta-ide-support + +You can also run generated qemu images with a command like 'runqemu qemux86-64'. + +Other commonly useful commands are: + - 'devtool' and 'recipetool' handle common recipe tasks + - 'bitbake-layers' handles common layer tasks + - 'oe-pkgdata-util' handles common target package tasks diff --git a/meta/conf/templates/blank/conf-summary.txt b/meta/conf/templates/blank/conf-summary.txt new file mode 100644 index 00000000000..7528c297947 --- /dev/null +++ b/meta/conf/templates/blank/conf-summary.txt @@ -0,0 +1 @@ +This configuration is empty and is intended as a starting point for adding configuration fragments. diff --git a/meta/conf/templates/blank/local.conf.sample b/meta/conf/templates/blank/local.conf.sample new file mode 100644 index 00000000000..41eea8506df --- /dev/null +++ b/meta/conf/templates/blank/local.conf.sample @@ -0,0 +1,10 @@ +# +# This file is intended for local configuration tweaks. It is intentionally +# set up empty, so that configuration can be constructed from fragments +# using bitbake-config-build tool and by setting MACHINE and DISTRO here. +# +# If you would like to publish this file (for example as a bitbake +# configuration template), it is recommended to create fragments +# from changes made here; the only settings that can remain are +# MACHINE and DISTRO. +# From patchwork Tue Jun 3 11:36:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 64156 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 3A935C5AE59 for ; Tue, 3 Jun 2025 11:36:38 +0000 (UTC) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mx.groups.io with SMTP id smtpd.web10.8970.1748950589086632743 for ; Tue, 03 Jun 2025 04:36:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dD/g8Vh8; spf=pass (domain: gmail.com, ip: 209.85.221.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-3a4fd1ba177so2202544f8f.0 for ; Tue, 03 Jun 2025 04:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748950587; x=1749555387; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AcnvmtLmZd9g3NpYml9dxv+NmVaZGtpKzcf9znh1jfw=; b=dD/g8Vh85bxQI2odYCvY9nZ1BdFRbST4eTzC3WrPRPl+dI8dTYUhq2S0zqt2CIgOva nnK1OtkYoGd1aiR8vLCiRdQspxBnd/JRHkj37Ie+vmJALUDkpHYZRtyabUFE/3BQaPJw YT/+pv1jrj2SM/rDif2CdWnKTHIQsWXIc+NenMFhyjxueUUrKHQTNOXSsjwhaZi1Qj+v HC1mw0QXR9hsJLFW+DUJUur2j4qBpzt+xmllDByY/NViRpiEF9hIhmtDSRyCVfgtDlvv 3wG4rpwKK0LXQCcH0OiHxGRdpKf7ddsLjGITWJEakt/JLtVNSucSoJF+MEuo+0YEeDzZ isjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748950587; x=1749555387; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AcnvmtLmZd9g3NpYml9dxv+NmVaZGtpKzcf9znh1jfw=; b=aWG8qwK9fU01uNPDnIesCg4yjB/HQ+3XzxgFEJc9ziM5aj0OVU+IzhsMj1OwsIjO0j /K56L4GA3pK3xfluzBDB3X2POUNlqbuIUp5uTo0pzY/MMYFl6Z3pOAhxNnosS+HQuIb2 oOyyj1naDjcxIW+mqORWCHas0Rcgac7jb3DwybMfIfn+JbhPPlvnzw8PNVpqkEt8miVu R4i3NJv1siJ1pOjR1dF3US03DB8Ayl+GxAi1EwWon1AsHlZrODqNbWvcQM795H2QkMGf xClxHTBSAUambkFQVXfmijRHNykEJibT9KxoEJV50Mmu86L9MY+kx9NZmKMqRRr6tK24 QZLQ== X-Gm-Message-State: AOJu0YxDF+cbgzoQAp199whZVdRiAudKf+hqFxHasTFSortXo+HUEY5B ook8x9MNRoTQ7mdoUwqcK3A0dWTGakC6mGMNSvkOWXMiHAIEiV7Ts4DL04jZrw== X-Gm-Gg: ASbGncvWWEYAd7040cZgKICDhq9Og8vtQ4ndBHk4fCDvFHIjd/mD6iSZwrDnfjyKdF6 eWWr/B9iz/2x/aoURqL2ZeTOrLc5T8u/McJJc3CZQjNJDJP4QOD4rWC5q4XPOZ3TiEQTB1/SJh8 Nd9up9fK1oWCJUjGPmD8X7IPOjwAEIOA73M9x2n6BI+O7RkcicDrM7WtcVzqYK73fKLCXhS/PLW Y2sn61z8IZwTQn9MPWEqRyNzFDNAZNFX1QzcF7DqIiA2/SqB1CkPmixLYuECWHwTNvd18vzRS41 Bz10JDHljDHUnr6mZjs4Ed7+wkYarzkehKd/MDcZWCJnWrJ9ydIlDIZRdxtHnlFpPsMycHRlw6Q OB+ueq6z4jIp9 X-Google-Smtp-Source: AGHT+IFoqU4FT+wRO68MQxKiguXsc5iD/UErB+1yK7ZVg8UJm9SItvRXUfioO+oMT5UW9Jdy/FLvdg== X-Received: by 2002:a05:6000:250e:b0:3a4:d367:c586 with SMTP id ffacd0b85a97d-3a5144d5b3dmr1686866f8f.13.1748950587344; Tue, 03 Jun 2025 04:36:27 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4efe73f22sm17728247f8f.43.2025.06.03.04.36.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jun 2025 04:36:27 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 2/4] conf/fragments: add fragments for qemux86-64 and qemuarm64 Date: Tue, 3 Jun 2025 13:36:18 +0200 Message-Id: <20250603113620.3104900-2-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250603113620.3104900-1-alex.kanavin@gmail.com> References: <20250603113620.3104900-1-alex.kanavin@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, 03 Jun 2025 11:36:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/217806 From: Alexander Kanavin These will be used by official bitbake-setup configurations, and so let's start with them :) Plenty more fragments can be added over time. Signed-off-by: Alexander Kanavin --- meta/conf/fragments/machines/qemuarm64.conf | 5 +++++ meta/conf/fragments/machines/qemux86-64.conf | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 meta/conf/fragments/machines/qemuarm64.conf create mode 100644 meta/conf/fragments/machines/qemux86-64.conf diff --git a/meta/conf/fragments/machines/qemuarm64.conf b/meta/conf/fragments/machines/qemuarm64.conf new file mode 100644 index 00000000000..0fc164541d5 --- /dev/null +++ b/meta/conf/fragments/machines/qemuarm64.conf @@ -0,0 +1,5 @@ +BB_CONF_FRAGMENT_SUMMARY = "Use qemuarm64 as a target MACHINE, suitable for running in QEMU system emulator." +BB_CONF_FRAGMENT_DESCRIPTION = "Select qemuarm64 as the target machine. This is the best option for running the target system inside QEMU emulator on arm64 build hosts, \ +as it allows near-native performance with kvm acceleration. Also useful for testing arm64 specific assembly code or compiler output." + +MACHINE ?= "qemuarm64" diff --git a/meta/conf/fragments/machines/qemux86-64.conf b/meta/conf/fragments/machines/qemux86-64.conf new file mode 100644 index 00000000000..0fce37c4e2e --- /dev/null +++ b/meta/conf/fragments/machines/qemux86-64.conf @@ -0,0 +1,5 @@ +BB_CONF_FRAGMENT_SUMMARY = "Use qemux86-64 as a target MACHINE, suitable for running in QEMU system emulator." +BB_CONF_FRAGMENT_DESCRIPTION = "Select qemux86-64 as the target machine. This is the best option for running the target system inside QEMU emulator on x86-64 build hosts, \ +as it allows near-native performance with kvm acceleration. Also useful for testing x86-64 specific assembly code or compiler output." + +MACHINE ?= "qemux86-64" From patchwork Tue Jun 3 11:36:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 64157 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 3F997C61CE5 for ; Tue, 3 Jun 2025 11:36:38 +0000 (UTC) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.web10.8971.1748950589690730304 for ; Tue, 03 Jun 2025 04:36:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TVOC07eH; spf=pass (domain: gmail.com, ip: 209.85.221.51, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3a4fdc27c4aso1746049f8f.3 for ; Tue, 03 Jun 2025 04:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748950588; x=1749555388; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xsEackaOHg3TS1D8iTwOHTNi0cq3brSePmqidvRoAkQ=; b=TVOC07eHsW3mVRuaKbDfFQvfgI32hUZGI43ik0Dx0s70DbhJiJDNC4Q8BW+pG1P6n4 hHj4eQ5dDvQ6AKWZBTXyZBzDwJIT0QJLZdj0pn5lHATcwyQ/EgBCvj6ieH5/hwzSroyq QsxAqDgO4gMq8BJu7DZcLzxwaCMIrfLsHyHVCEPvqdXGeNjHaObOV/5zL7o/WbHEiFp7 xsBeE4ewVBEK3h75BIwWUnLmVecTSWLqykSs5YSUBaglG50j36ZwmNjkyqslsrX0qycz mcOyAHOGE2aF5IGLrFhWADSS3JHigKvalIRdwmubzHMmFVmWP/DgcNOzGJQJkRQbNrkc hpXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748950588; x=1749555388; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xsEackaOHg3TS1D8iTwOHTNi0cq3brSePmqidvRoAkQ=; b=ZOegwKUqUIqfym3vIsiM9MYANOtGPZUYJ9BvXrTv5MnQCVg3l2wpgsiW9fXwM4NqO6 iqtfagGynOrLfEJla0elzJptdIMfIc7Yie3SUEvI/ff2dATQwCTfaRPK3vt3VoyAKEdQ v3hXbBrWQJJgHkfgCW/gh+KddXpHvpZUi3D4WUlMtNtR33xtpyZjRwbMoaILK8oyqtiG VEo4QZtOzxoWA1A5CQhaWT+60RmZNZxjiddJuzZkYuLIuOTmmPUx08QLowAmnVHPoGBe Khwiu2lDrHVFPiXrTeM0mDjQ77L3gOe9vLLc+9/r9/+lTnkCdd6/LUWE3Y1nrBbkEF8E /e8Q== X-Gm-Message-State: AOJu0YwM21ToE7g6lAVZShlStZCi+UTj1N97EqEFikc0jCJaXEQxcWL9 DCz16F3UcCIhlJ3IayeOSC6Jf1NDccT9GLRZAoZ0IQ8dILcBPXMmussdVfzXfQ== X-Gm-Gg: ASbGncu6bJpX3WA28wqS9ezC4NJpzRpUm9tH980dsKDFJ0VoVM3/PEmy6lt+SElU9Jv GimKCZVcc/ZpcNCN0tgn+Rw71wOAn9UgiVTWCZUMVzo3Gy9+9NHri+MRtArUDkATQeGqcugrFHp 9zJGsit8e0V/9TJPPOtcOW3tPjy9t1WxlCA4LlkE6FyccJ9lGJJoo5F0Sebp+97HEkpVLrXI1LW /gQr4h/l/XV60qEYl+dxIjxvyxWO8YYffOq+kLgEmV5rE0K84DsxowYmEZzufCRq1H0gbA2Da3c 66VhsIdqc3Ijh2nJYLsw3VuCSMsEH8qbjWqQLb/AwBz97u6JAlT7x4nQXIDdnRkcDEw75E2nOM3 V9gZ6lINGqoBc X-Google-Smtp-Source: AGHT+IETc8qHJZygam834cPPtXvP0IyZm+0+qEbjP4FgzQ0a+HYSNZIZp4azqvvek7/c88kxzt9KDw== X-Received: by 2002:a05:6000:1a8a:b0:3a4:dfc2:b9e1 with SMTP id ffacd0b85a97d-3a4f89a7e71mr13519689f8f.2.1748950588038; Tue, 03 Jun 2025 04:36:28 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4efe73f22sm17728247f8f.43.2025.06.03.04.36.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jun 2025 04:36:27 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 3/4] conf/fragments: add a fragment for CDN sstate mirror Date: Tue, 3 Jun 2025 13:36:19 +0200 Message-Id: <20250603113620.3104900-3-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250603113620.3104900-1-alex.kanavin@gmail.com> References: <20250603113620.3104900-1-alex.kanavin@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, 03 Jun 2025 11:36:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/217807 From: Alexander Kanavin This will be used in bitbake-setup official configurations and it will be awesome. Signed-off-by: Alexander Kanavin --- meta/conf/fragments/yocto/sstate-mirror-cdn.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta/conf/fragments/yocto/sstate-mirror-cdn.conf diff --git a/meta/conf/fragments/yocto/sstate-mirror-cdn.conf b/meta/conf/fragments/yocto/sstate-mirror-cdn.conf new file mode 100644 index 00000000000..e204975ce3b --- /dev/null +++ b/meta/conf/fragments/yocto/sstate-mirror-cdn.conf @@ -0,0 +1,12 @@ +BB_CONF_FRAGMENT_SUMMARY = "Use prebuilt sstate artifacts for standard Yocto build configurations." +BB_CONF_FRAGMENT_DESCRIPTION = "The Yocto Project has prebuilt artefacts available for standard build configurations. \ +This fragment enables their use. This will mean the build will query the \ +the network to check for artefacts at the start of builds, which does slow it down \ +initially but it will then speed up the builds by not having to build things if they are \ +present in the cache. It assumes you can download something faster than you can build it \ +which will depend on your network. \ +Note: For this to work you also need hash-equivalence passthrough to the matching server \ +" + +BB_HASHSERVE_UPSTREAM = 'wss://hashserv.yoctoproject.org/ws' +SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH" From patchwork Tue Jun 3 11:36:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 64155 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 32EA5C5B555 for ; Tue, 3 Jun 2025 11:36:38 +0000 (UTC) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mx.groups.io with SMTP id smtpd.web10.8972.1748950590407788330 for ; Tue, 03 Jun 2025 04:36:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NI48fNCM; spf=pass (domain: gmail.com, ip: 209.85.128.50, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-442e9c00bf4so36021755e9.3 for ; Tue, 03 Jun 2025 04:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748950589; x=1749555389; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YPjn1yBQngbKyZLG/HZHAA5F+o2WTF0DrG1stIS6Fjs=; b=NI48fNCMttV5YDzD8qh816p1cxtK+qC1wkFQa/NDrBVd71tmM8rKyu5su0xEGjr3lm 2XEcWDzHs6MenRPGEAbszj8cWdcnsSdxW/kxwxLD/frELL3JKyoy0yA6YLpa1VbV4Ihe dpVJZ/vucSeHbP+3EXI+htVdHMXEJY36/sYCoaIQ7iYSTefPlE8YiCzHawMouMtMOU8X DMA+O8Knv8QRkWGwBHHsEzPsUyIPaQ8A7h5V0xhmemqRqeyIrXnzSB8AubUIZDCvYZyt 4IjQMIOvLQ2kFL8dz7ubsGM0qtDHOy1+pcQ1lJZZdwYa5k5if1vWmOx6IXApWikCUEro Lqsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748950589; x=1749555389; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YPjn1yBQngbKyZLG/HZHAA5F+o2WTF0DrG1stIS6Fjs=; b=gArDCA3hR5ufTsWDbjvzv6+FoQjciEdevokDb0IqutdcrXBM6Ay09djuDS9SYbENAY QXk0aEVJLzOvmQ82WLavbPoJrlJklYBdSo78pHSm+TGlZ4IQUm6ssMV+NbjnbHddOO5D 3c72rDHW0DDqq3pgyVmkt/1bOAMoFsJ7kw4QjKn5WyJKOBhjQl3jXUpIDkBvwpdAUShg Aqr5YZ33hBwc4Ertop/DNUe+9BS1kKk9beDzy+2Ask0FzMN+8uBHwMz8TmAU1lrWKwAp BBRkQokQ0T+DLZiGTIM+Dd6lD7j4/TSJ3+LjALMHKen1XfR5Od78Nd6jz+Xgh56ekTAy /ccA== X-Gm-Message-State: AOJu0Yy6zZuB91cOHakn6HgZ/fv9/czNqkZx+Zs+ytsXoJN3IExI5cUM 4AYBsLvcr2cFg1ZxIgAkrtdru5kCEskEeVq6KSMZYVZ7wU0IUt8yXXDPe8DWAA== X-Gm-Gg: ASbGncvcXAPesZZxrmB+i9g+NA16x6fmqO5jijl00JyGQJp12jO7UuMncSyaNWahrvk H+wQyVU1hyjbyLAzjx5yCfmzi9N5DwdJxvxPn2BZ36hY66eEPRbQrogtSus2ZgPypszfqwUuf+6 7T9ADz2B/nzReJjj/Pw1lXFj/ESni+87mnKtnP2BuQP4NXLwPNhKymIj/OdL7g0k98C8ktcQb7K 0DlJNtManMviPL7ZM+3Wx+Tp3DrCK/8aW3VdGd191dXZxgXBwVDYaPoYRek9728iTzKxFebLxAX Ynk1P4IQymfIuhbBrRuOZrlWgXFIYb2MxLzLgIh54kdoQS3u3BzqU3mlf1XKMQO9xR+Uy+1x+P+ t9Ya+mVXRKkxE X-Google-Smtp-Source: AGHT+IFaLOGIDyfC3VJ0fmJKaENLSnTQfmuyFzPmgbN/77CrU+TlPgN4NfEGzoPGGdL5JDLaki75eg== X-Received: by 2002:a05:6000:220b:b0:3a4:eec5:443d with SMTP id ffacd0b85a97d-3a4f89ddde0mr12254896f8f.29.1748950588698; Tue, 03 Jun 2025 04:36:28 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4efe73f22sm17728247f8f.43.2025.06.03.04.36.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jun 2025 04:36:28 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 4/4] fragments/qemu: add support for enabling sdl in qemu Date: Tue, 3 Jun 2025 13:36:20 +0200 Message-Id: <20250603113620.3104900-4-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250603113620.3104900-1-alex.kanavin@gmail.com> References: <20250603113620.3104900-1-alex.kanavin@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, 03 Jun 2025 11:36:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/217808 From: Alexander Kanavin This has been the default in poky's local.conf template for a long time, but it's not enabled directly in poky distro. To allow better sstate reuse and a better user experience on a typical laptop (qemu will pop up a graphical window directly), let's add this fragment and enable it in official bitbake-setup configurations. Signed-off-by: Alexander Kanavin --- meta/conf/fragments/qemu/enable-native-sdl.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta/conf/fragments/qemu/enable-native-sdl.conf diff --git a/meta/conf/fragments/qemu/enable-native-sdl.conf b/meta/conf/fragments/qemu/enable-native-sdl.conf new file mode 100644 index 00000000000..21c1298171e --- /dev/null +++ b/meta/conf/fragments/qemu/enable-native-sdl.conf @@ -0,0 +1,8 @@ +BB_CONF_FRAGMENT_SUMMARY = "Enable SDL support for direct graphical output on the build host." +BB_CONF_FRAGMENT_DESCRIPTION = "By default qemu is built with a internal VNC server \ +support. To see graphical output from the guest system, one can use a VNC client to \ +connect to it. This fragment enables Simple Directmedia Layer support, which allows \ +seeing the graphical output from guest directly in a X/Wayland session on the build host machine. \ +" + +PACKAGECONFIG:append:pn-qemu-system-native = " sdl"