From patchwork Thu Jun 22 08:44:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Quaresma X-Patchwork-Id: 26164 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 A24B3EB64DC for ; Thu, 22 Jun 2023 08:48:35 +0000 (UTC) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) by mx.groups.io with SMTP id smtpd.web10.6942.1687423706285483860 for ; Thu, 22 Jun 2023 01:48:26 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=JKrbZxYi; spf=pass (domain: gmail.com, ip: 209.85.208.181, mailfrom: quaresma.jose@gmail.com) Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2b46bfa66d2so75279551fa.2 for ; Thu, 22 Jun 2023 01:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687423704; x=1690015704; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cRvDF0cQyzoo7aOVxlFXNlPpuTow9I3RWIjOrO55Qcc=; b=JKrbZxYiARsQ8c9zrB3ZNLgFdJR1jsDiC/0So2NHvnVi3XVLn7ZMo2K+7gZzio61F0 PkNPoxbC0KjcxQHyczSJKDZhBIZNUifTEYDMLzuxKlDPITJqeKebKDZR1TGqvFENFbtB EljntxbJY0O3WYVZO7nunIZiD4ZUGcV0P9dkcm7byiN3ovZJkEgslst+NaxGRSGMs/7V b4YNIwEACR/sucZmJy89MBBpKmJT1+m686fGyPYAKcF+mCjDRfo2HVDaDIAcmYRlmuPe NEDDv0qMbyxdmD7XBVrkITp8GsGxAXcqlFOqB8BwMs107hrThrT82MmEqNgzSg9FYeQF X0Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687423704; x=1690015704; 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=cRvDF0cQyzoo7aOVxlFXNlPpuTow9I3RWIjOrO55Qcc=; b=Punuk+28OWpsSYSP6BpDgkR/8+y+vqPCK2sUFVuEsc73V1yVSk6HgwGfZJb6Lwitu9 AwKiJtKp3ygUD9OZ1DIk94l4v/eS5zMkMJVeins3DxbsLKief/h70TKsazdyUIO7N29D GNNPfG7i6MSb+ALanVb6tMBJd6mW5kc5vxUl8OY8yOhjfMzYO0xAizZaAyaHnaUQsZqx 77jVeBsNuIUU/AZjafnpZ2Jxmx8MxqoFEUFPQWuxSlx7uKj6xaqiinr4QxhFHeizsTcm aunB2hRUPSgMS9JF0PSp6ajUNDZKEILuHTOXop68XARQDNsvziK5HhCFq14yANzD8p+F IAXA== X-Gm-Message-State: AC+VfDz207VofBMgOIBw97FVNWaM07EeRt7a4Cm9jLt4YelgoWapa9/5 MdBVu68kHDVOxvbZKc3/dAt59VnBsQ93Tg== X-Google-Smtp-Source: ACHHUZ6+3fSkw/uu7Ja1UGkK7AsmrVzeAIHXBwcdMya9ij+5D3MMB2vRmvV5kmE2+P9HZuXsg7vB3w== X-Received: by 2002:a2e:81c5:0:b0:2b4:8487:5f65 with SMTP id s5-20020a2e81c5000000b002b484875f65mr6246434ljg.39.1687423703820; Thu, 22 Jun 2023 01:48:23 -0700 (PDT) Received: from og-worker-dev-01.infra.foundries.io.net (51-159-19-113.rev.poneytelecom.eu. [51.159.19.113]) by smtp.gmail.com with ESMTPSA id az27-20020a05600c601b00b003f9bb026e5fsm2018295wmb.0.2023.06.22.01.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 01:48:23 -0700 (PDT) From: Jose Quaresma X-Google-Original-From: Jose Quaresma To: openembedded-core@lists.openembedded.org Cc: Jose Quaresma , Ola x Nilsson , Peter Kjellerstedt Subject: [PATCH V4 1/3] kernel-module-split: make autoload and probeconf distribution specific Date: Thu, 22 Jun 2023 08:44:51 +0000 Message-Id: <20230622084452.2026849-1-jose.quaresma@foundries.io> X-Mailer: git-send-email 2.34.1 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 ; Thu, 22 Jun 2023 08:48:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183229 Also take the oportunity to only add configuration files to FILES and CONFFILES when they exist and are used. The modules-load.d [1] - Configure kernel modules to load at boot should install their configuration files in /usr/lib/modules-load.d. The modprobe.d [2] - Configuration directory for modprobe should install their configuration files in /lib/modprobe.d [1] https://www.freedesktop.org/software/systemd/man/modules-load.d.html [2] https://www.man7.org/linux/man-pages//man5/modprobe.d.5.html [YOCTO #12212] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12212 CC: Ola x Nilsson CC: Peter Kjellerstedt Signed-off-by: Jose Quaresma --- v4: also remove the sysconfdir when systemd is not used as it causes QA Issue: linux-yocto: Files/directories were installed but not shipped in any package v3: fix v2 build issue and only add configuration files to FILES and CONFFILES when they exist and are used. v2: use the same location as before on the class and define the new location just for systemd. .../kernel-module-split.bbclass | 38 ++++++++++--------- .../distro/include/init-manager-systemd.inc | 4 ++ 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/meta/classes-recipe/kernel-module-split.bbclass b/meta/classes-recipe/kernel-module-split.bbclass index 50882c31a7..1d5e39b44d 100644 --- a/meta/classes-recipe/kernel-module-split.bbclass +++ b/meta/classes-recipe/kernel-module-split.bbclass @@ -30,8 +30,11 @@ fi PACKAGE_WRITE_DEPS += "kmod-native depmodwrapper-cross" +modulesloaddir ??= "${sysconfdir}/modules-load.d" +modprobedir ??= "${sysconfdir}/modprobe.d" + do_install:append() { - install -d ${D}${sysconfdir}/modules-load.d/ ${D}${sysconfdir}/modprobe.d/ + install -d ${D}${modulesloaddir} ${D}${modprobedir} } KERNEL_SPLIT_MODULES ?= "1" @@ -93,8 +96,9 @@ python split_kernel_module_packages () { dvar = d.getVar('PKGD') - # If autoloading is requested, output /etc/modules-load.d/.conf and append + # If autoloading is requested, output ${modulesloaddir}/.conf and append # appropriate modprobe commands to the postinst + autoloadpath = '%s/%s.conf' % (d.getVar('modulesloaddir'), basename) autoloadlist = (d.getVar("KERNEL_MODULE_AUTOLOAD") or "").split() autoload = d.getVar('module_autoload_%s' % basename) if autoload and autoload == basename: @@ -102,14 +106,16 @@ python split_kernel_module_packages () { if autoload and basename not in autoloadlist: bb.warn("module_autoload_%s is defined but '%s' isn't included in KERNEL_MODULE_AUTOLOAD, please add it there" % (basename, basename)) if basename in autoloadlist: - name = '%s/etc/modules-load.d/%s.conf' % (dvar, basename) - f = open(name, 'w') + f = open("%s%s" % (dvar, autoloadpath), 'w') if autoload: for m in autoload.split(): f.write('%s\n' % m) else: f.write('%s\n' % basename) f.close() + autoloadpath2append = ' %s' % autoloadpath + d.appendVar('FILES:%s' % pkg, autoloadpath2append) + d.appendVar('CONFFILES:%s' % pkg, autoloadpath2append) postinst = d.getVar('pkg_postinst:%s' % pkg) if not postinst: bb.fatal("pkg_postinst:%s not defined" % pkg) @@ -117,24 +123,19 @@ python split_kernel_module_packages () { d.setVar('pkg_postinst:%s' % pkg, postinst) # Write out any modconf fragment + modconfpath = '%s/%s.conf' % (d.getVar('modprobedir'), basename) modconflist = (d.getVar("KERNEL_MODULE_PROBECONF") or "").split() modconf = d.getVar('module_conf_%s' % basename) if modconf and basename in modconflist: - name = '%s/etc/modprobe.d/%s.conf' % (dvar, basename) - f = open(name, 'w') + f = open("%s%s" % (dvar, modconfpath), 'w') f.write("%s\n" % modconf) f.close() + modconfpath2append = ' %s' % modconfpath + d.appendVar('FILES:%s' % pkg, modconfpath2append) + d.appendVar('CONFFILES:%s' % pkg, modconfpath2append) elif modconf: bb.error("Please ensure module %s is listed in KERNEL_MODULE_PROBECONF since module_conf_%s is set" % (basename, basename)) - files = d.getVar('FILES:%s' % pkg) - files = "%s /etc/modules-load.d/%s.conf /etc/modprobe.d/%s.conf" % (files, basename, basename) - d.setVar('FILES:%s' % pkg, files) - - conffiles = d.getVar('CONFFILES:%s' % pkg) - conffiles = "%s /etc/modules-load.d/%s.conf /etc/modprobe.d/%s.conf" % (conffiles, basename, basename) - d.setVar('CONFFILES:%s' % pkg, conffiles) - if "description" in vals: old_desc = d.getVar('DESCRIPTION:' + pkg) or "" d.setVar('DESCRIPTION:' + pkg, old_desc + "; " + vals["description"]) @@ -167,10 +168,11 @@ python split_kernel_module_packages () { splitmods = d.getVar('KERNEL_SPLIT_MODULES') postinst = d.getVar('pkg_postinst:modules') postrm = d.getVar('pkg_postrm:modules') + modulesloaddir = d.getVar('modulesloaddir') + modprobedir = d.getVar('modprobedir') if splitmods != '1': - etcdir = d.getVar('sysconfdir') - d.appendVar('FILES:' + metapkg, '%s/modules-load.d/ %s/modprobe.d/ %s/modules/' % (etcdir, etcdir, d.getVar("nonarch_base_libdir"))) + d.appendVar('FILES:' + metapkg, '%s %s %s/modules' % (modulesloaddir, modprobedir, d.getVar("nonarch_base_libdir"))) d.appendVar('pkg_postinst:%s' % metapkg, postinst) d.prependVar('pkg_postrm:%s' % metapkg, postrm); return @@ -189,8 +191,8 @@ python split_kernel_module_packages () { # avoid warnings. removedirs only raises an OSError if an empty # directory cannot be removed. dvar = d.getVar('PKGD') - for dir in ["%s/etc/modprobe.d" % (dvar), "%s/etc/modules-load.d" % (dvar), "%s/etc" % (dvar)]: - if len(os.listdir(dir)) == 0: + for dir in ["%s%s" % (dvar, modprobedir), "%s%s" % (dvar, modulesloaddir), "%s%s" % (dvar, d.getVar('sysconfdir'))]: + if os.path.isdir(dir) and len(os.listdir(dir)) == 0: os.rmdir(dir) } diff --git a/meta/conf/distro/include/init-manager-systemd.inc b/meta/conf/distro/include/init-manager-systemd.inc index 7867d90028..fc13089764 100644 --- a/meta/conf/distro/include/init-manager-systemd.inc +++ b/meta/conf/distro/include/init-manager-systemd.inc @@ -5,3 +5,7 @@ VIRTUAL-RUNTIME_init_manager ??= "systemd" VIRTUAL-RUNTIME_initscripts ??= "systemd-compat-units" VIRTUAL-RUNTIME_login_manager ??= "shadow-base" VIRTUAL-RUNTIME_dev_manager ??= "systemd" + +# use autoload and probeconf distribution specific +modulesloaddir ?= "${libdir}/modules-load.d" +modprobedir ?= "${nonarch_base_libdir}/modprobe.d" From patchwork Thu Jun 22 08:44:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jose Quaresma X-Patchwork-Id: 26163 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 8BAB6EB64D8 for ; Thu, 22 Jun 2023 08:48:35 +0000 (UTC) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mx.groups.io with SMTP id smtpd.web10.6943.1687423706371073617 for ; Thu, 22 Jun 2023 01:48:26 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=HYO3YN6b; spf=pass (domain: gmail.com, ip: 209.85.128.53, mailfrom: quaresma.jose@gmail.com) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-3f9c532f9e3so15081005e9.1 for ; Thu, 22 Jun 2023 01:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687423704; x=1690015704; 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=CQUbO3Dg7IDuIU9H4guQAvTfA4Sdr/8JWCDMqyUDQqo=; b=HYO3YN6bPuntegdQBdZa6uEEdwfTkzphVoI4/izQmdZg6BQNrK6wAY9XGjTV4HR68D OkXb83ZQTZI6Git6/Rt9D/kO22eS8bOsT4e5wmqJa37zywj5dRK5Jh6OX6I3EnAKaOIW mvWVf656jzZuk9/Y0f5/OVlQALCU1PI/Q0SmGOMtpn6GBX0wsJi9wdAj2OeWrYqWe6fv vVE/Waz0T12yGRRvEe+1F4gdjY1PwxDiaQZePaTnvtghJom3aGglRO+UGhsgdwk+M/LL jTct9uxIu+DmLcbu/5WIDBib/ZDBZ5JuimkuDS0zwHoCt6I6pUNW61un06daO71EeKDh G+Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687423704; x=1690015704; 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=CQUbO3Dg7IDuIU9H4guQAvTfA4Sdr/8JWCDMqyUDQqo=; b=OwE5dMw97IbtLYvvFz74NHxrmYOPo/ikq06cV0Mx3fvY9q7zWJu/hThWCrg5BUUyZf HZkwFEm41kqK2tfZ8xvOjKcjJKi3Kj96Iym/7YkqQaVs/SMfueoVwpCw31W4MCsBvGQX JpT324VnmF5RzsefIzmToBSUwWoSqOTOJmQ4VlX2IMV+DjMKgCJ+64IdAlLLRxBQZTu4 99SoS/vhrwFaECEsm1kiMhLEGGTdlHFr/W88mlbCMyz267um4N46n+nIhfohDsMFg0YS sy6lGCF0hFW/U7QmsR5sFnIrXTC8847F5pO+jqhC8hltF8SlQ8UY2kj1rCI40xuvxuQU fxNA== X-Gm-Message-State: AC+VfDwiILOB3N/IO6tyl/7aAIxUukRH+AWCDG0Hva+4XsPfUnSjbLyK BE+GuAKk2D7E5njiy3QiGnC6KZWDgp4FVw== X-Google-Smtp-Source: ACHHUZ7U5c313pAaB2BIztLJ8WPUdgvlhBXH2ywo4HE0cn7MVDmC1sFKsJ1daiaH0ypdrsCdhjSFyg== X-Received: by 2002:a7b:ce87:0:b0:3f9:b35:bf7f with SMTP id q7-20020a7bce87000000b003f90b35bf7fmr10234337wmj.41.1687423704353; Thu, 22 Jun 2023 01:48:24 -0700 (PDT) Received: from og-worker-dev-01.infra.foundries.io.net (51-159-19-113.rev.poneytelecom.eu. [51.159.19.113]) by smtp.gmail.com with ESMTPSA id az27-20020a05600c601b00b003f9bb026e5fsm2018295wmb.0.2023.06.22.01.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 01:48:24 -0700 (PDT) From: Jose Quaresma X-Google-Original-From: Jose Quaresma To: openembedded-core@lists.openembedded.org Cc: Jose Quaresma Subject: [PATCH V4 2/3] kernel-module-split: use context manager to open files Date: Thu, 22 Jun 2023 08:44:52 +0000 Message-Id: <20230622084452.2026849-2-jose.quaresma@foundries.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230622084452.2026849-1-jose.quaresma@foundries.io> References: <20230622084452.2026849-1-jose.quaresma@foundries.io> 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 ; Thu, 22 Jun 2023 08:48:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183228 Signed-off-by: Jose Quaresma --- .../kernel-module-split.bbclass | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/meta/classes-recipe/kernel-module-split.bbclass b/meta/classes-recipe/kernel-module-split.bbclass index 1d5e39b44d..e19ad8e3c5 100644 --- a/meta/classes-recipe/kernel-module-split.bbclass +++ b/meta/classes-recipe/kernel-module-split.bbclass @@ -76,9 +76,8 @@ python split_kernel_module_packages () { cmd = "%sobjcopy -j .modinfo -O binary %s %s" % (d.getVar("HOST_PREFIX") or "", file, tmpfile) subprocess.check_call(cmd, shell=True) # errors='replace': Some old kernel versions contain invalid utf-8 characters in mod descriptions (like 0xf6, 'รถ') - f = open(tmpfile, errors='replace') - l = f.read().split("\000") - f.close() + with open(tmpfile, errors='replace') as f: + l = f.read().split("\000") os.close(tf[0]) os.unlink(tmpfile) if compressed: @@ -106,13 +105,12 @@ python split_kernel_module_packages () { if autoload and basename not in autoloadlist: bb.warn("module_autoload_%s is defined but '%s' isn't included in KERNEL_MODULE_AUTOLOAD, please add it there" % (basename, basename)) if basename in autoloadlist: - f = open("%s%s" % (dvar, autoloadpath), 'w') - if autoload: - for m in autoload.split(): - f.write('%s\n' % m) - else: - f.write('%s\n' % basename) - f.close() + with open("%s%s" % (dvar, autoloadpath), 'w') as f: + if autoload: + for m in autoload.split(): + f.write('%s\n' % m) + else: + f.write('%s\n' % basename) autoloadpath2append = ' %s' % autoloadpath d.appendVar('FILES:%s' % pkg, autoloadpath2append) d.appendVar('CONFFILES:%s' % pkg, autoloadpath2append) @@ -127,9 +125,8 @@ python split_kernel_module_packages () { modconflist = (d.getVar("KERNEL_MODULE_PROBECONF") or "").split() modconf = d.getVar('module_conf_%s' % basename) if modconf and basename in modconflist: - f = open("%s%s" % (dvar, modconfpath), 'w') - f.write("%s\n" % modconf) - f.close() + with open("%s%s" % (dvar, modconfpath), 'w') as f: + f.write("%s\n" % modconf) modconfpath2append = ' %s' % modconfpath d.appendVar('FILES:%s' % pkg, modconfpath2append) d.appendVar('CONFFILES:%s' % pkg, modconfpath2append) From patchwork Thu Jun 22 08:44:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Quaresma X-Patchwork-Id: 26162 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 8CCBCEB64DA for ; Thu, 22 Jun 2023 08:48:35 +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.web11.6923.1687423707077981410 for ; Thu, 22 Jun 2023 01:48:27 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=KFusjXkE; spf=pass (domain: gmail.com, ip: 209.85.128.50, mailfrom: quaresma.jose@gmail.com) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-3f9bece8d1bso17061155e9.0 for ; Thu, 22 Jun 2023 01:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687423705; x=1690015705; 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=DMB3EBLBIbSKlwgYwqJpqVk2W6FtPO1XAs882AP0OzE=; b=KFusjXkEe5QpzZZ4SlcRot95EeUmvqJ3qJ2Nfmbr2QDY/YnSzJPClWJCSNUWgD2PlP fOxKnQ3dCW0hwH2SOPvG2x3omxIja6lX3UDnDG6oTxoBV4zUrkfadFjBjlB5YVjLK66+ ZPy0GYq6X9anqAJeDW3ayjGM+2i8aRAutr3x8LtHCmrFgrgaVqsIA0dKJqMwZKXB3tuQ iJ1B3GTDWOgBK4sLST2PGxDzws3KXF5CdguFQznts67AZL+sh16IKJsveGNii9qH4dCB NRq/CDCjcPO8ho65PWm2KLGoK8w+4CHMeNMZ8QmSeOTJF3bS2vMbfU49QECLRzMNvMAb gluw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687423705; x=1690015705; 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=DMB3EBLBIbSKlwgYwqJpqVk2W6FtPO1XAs882AP0OzE=; b=OINaAcoM3L20BFND9A6InuHOQd7u9r0FSXnzyT2cgsPGxm0TAka7dOTUIDtNSAjkd+ P6KSRLKDzyPerN43WTeyJ/CNy+j2wiuTSm7YwJd+2lYGxeC5G94+P4HAyqym7D8h321X HBYpBGlyfU1xxYIgw5G0g4E66IAkniafAuI4DN3rRTsRNcNS43GefRU4BjCjmfxfwPgt dLBMtgcYXXhGeg8KWYClebgO95VLTSAjtTSL95vgUQyrW0qF5sOxxgH4RliZRGlS/WAS xLWgoPttrbpS56RI//9JIlnsq6FuQaG6StdAEcJKVkD3J3T6MEe6e11AKOfG3x8ONZ12 Ddyw== X-Gm-Message-State: AC+VfDxiMASXZlS1ILFN1BIwTOsxEnno02aybwAuz3lo32b0iMLGwG0e +o8WeM+YhCCM0zuUGDpfcAZtR1lwyPmqvQ== X-Google-Smtp-Source: ACHHUZ4hdnVBg4MJ7H0WVMlu8DfHAmt+H37dPIBtk39TfOuWGGH2E979o6scX3WZSjFOIJWJdWmy1g== X-Received: by 2002:a05:600c:21c5:b0:3fa:1af8:6ebf with SMTP id x5-20020a05600c21c500b003fa1af86ebfmr1369893wmj.0.1687423704834; Thu, 22 Jun 2023 01:48:24 -0700 (PDT) Received: from og-worker-dev-01.infra.foundries.io.net (51-159-19-113.rev.poneytelecom.eu. [51.159.19.113]) by smtp.gmail.com with ESMTPSA id az27-20020a05600c601b00b003f9bb026e5fsm2018295wmb.0.2023.06.22.01.48.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 01:48:24 -0700 (PDT) From: Jose Quaresma X-Google-Original-From: Jose Quaresma To: openembedded-core@lists.openembedded.org Cc: Jose Quaresma Subject: [PATCH V4 3/3] kernel: autoload and probeconf are handled by kernel-module-split Date: Thu, 22 Jun 2023 08:44:53 +0000 Message-Id: <20230622084452.2026849-3-jose.quaresma@foundries.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230622084452.2026849-1-jose.quaresma@foundries.io> References: <20230622084452.2026849-1-jose.quaresma@foundries.io> 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 ; Thu, 22 Jun 2023 08:48:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183230 Signed-off-by: Jose Quaresma --- meta/classes-recipe/kernel.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index e82b696d1a..855c784149 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass @@ -483,8 +483,6 @@ kernel_do_install() { install -m 0644 .config ${D}/${KERNEL_IMAGEDEST}/config-${KERNEL_VERSION} install -m 0644 vmlinux ${D}/${KERNEL_IMAGEDEST}/vmlinux-${KERNEL_VERSION} [ -e Module.symvers ] && install -m 0644 Module.symvers ${D}/${KERNEL_IMAGEDEST}/Module.symvers-${KERNEL_VERSION} - install -d ${D}${sysconfdir}/modules-load.d - install -d ${D}${sysconfdir}/modprobe.d } # Must be ran no earlier than after do_kernel_checkout or else Makefile won't be in ${S}/Makefile