From patchwork Mon Nov 30 08:53:50 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marta Rybczynska X-Patchwork-Id: 106473 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.28820.1796028847051182744 for ; Mon, 30 Nov 2026 00:54:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=R2xCxSwy; spf=pass (domain: gmail.com, ip: 209.85.221.48, mailfrom: rybczynska@gmail.com) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-492690dd5daso7885671f8f.1 for ; Mon, 30 Nov 2026 00:54:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796028845; x=1796633645; darn=lists.yoctoproject.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:content-type; bh=AdrtYqk4wNoj7WH9wyObYMXH0Yhnb6VsH2U4btfpnCk=; b=R2xCxSwyGaPTbXs16iSZFwXJl/BXTt6ENuzfL9eiBWTeDJfuHyQU35V3ZNKmIITUcu gn6UAmwWuWRhkoU6QXlQQ081crVmbW8mwp3Ti1zrqugaSE28LtpYDgqxkZ4BXN5UTbJp /5RIHzflQiukO5SfEDExCX506mhy0x3SnEcZDLoai3V5pv7Q4JRhYaPsoLfyls3B5FaE FwJ6KL3TYoO2iGT7LXSw3r+GlENk8+znBPezfv612QuO3KCtvRUqYmfIZmkun7pnkDs7 LyBG5VTNkq0HKYKB1xYnYNmkpLJ5lDIcE+aL8eTb8ZSUxxvk0eYG29Gioyj7vk5m7bZv 8SDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796028845; x=1796633645; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=AdrtYqk4wNoj7WH9wyObYMXH0Yhnb6VsH2U4btfpnCk=; b=WS83oizLhrbj1Mr9bKpfGHmm/DoB6BbI88Ej/LyXKOCoLeZMxRTjAhCujeC2T2nZ42 1cH4ExGr3wYQc+pXEGZxMl+1Cco8Q0BDqMtvLxNAYi5CpYawz1m5YE5/cI7lFoHCOqHT VNmt7lIm5LESwhFaiImGbTNw0zV6/SFQrYqbxJirUtXX1dWzfAd+sk7HToojnpAYawfA EChuXYv0H01AUEfQDb++tHa2/XiyUb8Ci8oqob45H07ajJpDIp5GLxfmhuJyTkDAUhb4 CoQjgS8N3KSXO+cux136q7DWmagpqJgLuaciXq9jiBxuZlXLM8uY1oh1AU8DgeHHXi/0 L8mQ== X-Gm-Message-State: APuU4Z8tK7eRN43I3prXsne3CjrytmW3o5TXf1ZsYVEf77JmSivdgYvE Z8EXl4voE8Om8H42lDJVnA5ZRnIWCLMmCLQkdcOE3ndfKrDKGipJEGllhOCjBA== X-Gm-Gg: AZFdTZfhJzjS3IMbfCHIU2qGSFwoxHBrGX3ODLCg+dBKiONbJ70fCo9NApplttPsLed Sgx0obtA1FgSIWKzGGybzrIyEGGqIHsFxqNe0RRuPISPQuVJC6YOwjyS63oB2ZjNqSY6wTtw62o tbvDw7WtrG6fXsigJlqPCQ+n1TGDH1PVGtn4XGcE6SsBz+FsEkDAeV7NJrIQkkDQg+L+3IV5atZ AcBM/Q75H5ItuuuGbAn+Rql/0zdOz3MAoFH+LHrr0IESRcW8TwaU2RoIN9uktePpLlwWvyD2tvO e7tasPzdIqxCUHOJb5+VloXywNUwTOSQbcE7CN/UVIXGeTe7uNeMGb5FdxvTASdD05VTXemGgFy SDfIX25u1dkOlPnxPeCSarwXkJMa6R1qa6rocf72vZRGMb//qg/JZbKgLilq3oKyoSigv3VmwxN nAB2p6udcHY8PAwNxqvAOnyOWmd6iuqA+ihR7EDnT2omUhp9820bl/Kn6uAQ5b4anpag+Qus2S7 4iQnU6vLRiPjKZplLgiei/dPRSVnaPIWHWBYBr5z4iW8wazyE2ImskJStSJQLH5clmnS4BSUPkm iufoyTNoq537s1zLz9gn5I7cvpysp9CDx7udHvFvhhn0ThkHih6UJHkCcsqGlEQSbPPwUr5HhSN eA+sOBFOGakDLnXZ1RuBHdniYb2cS1xl7cM9GFpsOFwGELz2tCltfP4oddXqbxkA3BviNhU18I5 trDj0bH18Ti0Msn51ueGb2iWwG7I5ePQI= X-Received: by 2002:a05:6000:2c13:b0:4a7:9630:7b57 with SMTP id ffacd0b85a97d-4abb43dece6mr64451072f8f.44.1796028844967; Mon, 30 Nov 2026 00:54:04 -0800 (PST) Return-Path: Received: from host2.home (88-170-249-143.subs.proxad.net. [88.170.249.143]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6b110c50sm62236592f8f.37.2026.11.30.00.54.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 00:54:04 -0800 (PST) From: Marta Rybczynska X-Google-Original-From: Marta Rybczynska To: yocto-patches@lists.yoctoproject.org Cc: Marta Rybczynska Subject: [meta-security][PATCH 2/2] README.md: add markdown formatting Date: Mon, 30 Nov 2026 09:53:50 +0100 Message-ID: <20261130085350.20519-2-marta.rybczynska@ygreky.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261130085350.20519-1-marta.rybczynska@ygreky.com> References: <20261130085350.20519-1-marta.rybczynska@ygreky.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 08:54:15 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/5629 Update the README formatting to support markdown, so that it shows well in a web preview. Signed-off-by: Marta Rybczynska --- README.md | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index cacc4fd..774a179 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,10 @@ The bbappend files for some recipes (e.g. linux-yocto) in this layer need to have 'security' in DISTRO_FEATURES to have effect. To enable them, add in configuration file the following line. +``` DISTRO_FEATURES:append = " security" - +``` + If meta-security is included, but security is not enabled as a distro feature a warning is printed at parse time: @@ -20,8 +22,10 @@ distro feature a warning is printed at parse time: If you know what you are doing, this warning can be disabled by setting the following variable in your configuration: +``` SKIP_META_SECURITY_SANITY_CHECK = 1 - +``` + This layer provides security tools, hardening tools for Linux kernels and libraries for implementing security mechanisms. @@ -30,11 +34,9 @@ Dependencies This layer depends on: - URI: https://git.openembedded.org/openembedded-core - branch: [same one as checked out for this layer] +- URI: https://git.openembedded.org/openembedded-core - branch: [same one as checked out for this layer] - URI: https://git.openembedded.org/meta-openembedded - branch: [same one as checked out for this layer] +- URI: https://git.openembedded.org/meta-openembedded - branch: [same one as checked out for this layer] Adding the security layer to your build ======================================== @@ -47,24 +49,32 @@ yocto build tree, you can add it to the build system by adding the location of the security layer to bblayers.conf, along with any other layers needed. e.g.: +``` BBLAYERS ?= " \ /path/to/oe-core/meta \ /path/to/meta-openembedded/meta-oe \ /path/to/layer/meta-security " - +``` + Optional Dynamic layer dependancy ====================================== +Download layers using the following links: + URI: https://git.openembedded.org/meta-openembedded/meta-oe URI: https://git.openembedded.org/meta-openembedded/meta-perl URI: https://git.openembedded.org/meta-openembedded/meta-python +Then add layers to your configuration: + +``` BBLAYERS += "/path/to/layer/meta-openembedded/meta-oe" BBLAYERS += "/path/to/layer/meta-openembedded/meta-perl" BBLAYERS += "/path/to/layer/meta-openembedded/meta-python" - +``` + This will activate the dynamic-layer mechanism. @@ -75,20 +85,25 @@ Maintenance Send pull requests, patches, comments or questions to yocto-patches@lists.yoctoproject.org When sending single patches, please using something like: -'git send-email -1 --to yocto-patches@lists.yoctoproject.org --subject-prefix=meta-security][PATCH' +``` +git send-email -1 --to yocto-patches@lists.yoctoproject.org --subject-prefix=meta-security][PATCH +``` These values can be set as defaults for this repository: +``` $ git config sendemail.to yocto-patches@lists.yoctoproject.org $ git config format.subjectPrefix meta-security][PATCH +``` Now you can just do 'git send-email origin/master' to send all local patches. For pull requests, please use create-pull-request and send-pull-request. Maintainers: -Scott Murray -Marta Rybczynska + +- Scott Murray +- Marta Rybczynska License