From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6950932295632027648 X-Received: by 2002:a05:6512:3a93:: with SMTP id q19mr10902518lfu.88.1618390040019; Wed, 14 Apr 2021 01:47:20 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:c22:: with SMTP id z34ls1438107lfu.2.gmail; Wed, 14 Apr 2021 01:47:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynUSOAUbfM/IeIhrxL+32Y8vx3HK7O+yt4Z68luPj6xvxSLFKOLX0kGE9wMF1Wy1LkT4Nj X-Received: by 2002:a19:7d89:: with SMTP id y131mr14693977lfc.394.1618390039043; Wed, 14 Apr 2021 01:47:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618390039; cv=none; d=google.com; s=arc-20160816; b=sj+wgkZfmQ1c2hOnDOpjCEnQXIMVnVabOKIih/eLJUXAqoF4gM1F4JKu8+r4tl+VWx B+M8KZ7RbT6uqsoZfHMPUHsofhvRfdlHLFx7JyGVJnr87E1KwDToqYdK4Qq1EKZzRTJW Q8ZpWUqVROUkUfuOvoLPz+/IZflpz0EAaSi73MpwWb02q3FHiR/COqIG63nK57ugvPob /F8bNa/KK9soUH6bh4LOh/zvHjy2TMGgWglzvstZZhnuQrB6BmBHTNNMZGfunKevxuz6 e9lCrP/jdkmQh2cLUxdpa2N6hp/h2P+o+MJtqAgsKRjGSbclcNa7y1acYeBjMnSNvGGX 1goQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=jDCmbSRJU4EX5gP5t4uQXWJxtg1zVpyFXG/vk5Z9eMU=; b=HyGp1SWxg0jlf723y8tUl/y9kNtRjp+CaQGe/VL15+axcE1uMUssK+wZ1RtRJNb5BL +MAMjEScQOwz65klyCDKAJpqbK0QU/NQstwI2xHVLxKVObbcyttLxT9i4dJuRExEhJ0o GLCxUTur68lNlMHFnsBOq8DIOhphp7oeYSW4Fc5ZIItOIP8DDHJQQot9RNq3P9KmCZML bmHEUeGGF8zQbY8dL32zpb6+iNF39JVARM7xU2s+GWgvqjiLf+Nel4PN4r22RymBw3MP 4uEf7j3qeUTfOR+cF1d6foOpRQyVKyJ6tFD5+H7YRWFicXBR0+02Q33JLoG7z527/tA1 DPqQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id n13si1099856lfi.5.2021.04.14.01.47.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Apr 2021 01:47:18 -0700 (PDT) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 13E8lIOo016691 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 14 Apr 2021 10:47:18 +0200 Received: from MD1T0KAC-VM.ad001.siemens.net (md1t0kac.ad001.siemens.net [139.25.0.7]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 13E8aPei023005; Wed, 14 Apr 2021 10:36:25 +0200 From: Felix Moessbauer To: isar-users@googlegroups.com Cc: henning.schild@siemens.com, jan.kiszka@siemens.com, Felix Moessbauer Subject: [PATCH 0/1] Add support to build binary version of DKMS kernel Date: Wed, 14 Apr 2021 10:36:16 +0200 Message-Id: <20210414083617.20940-1-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: FgnYXyd7Bo2H DKMS kernel modules provide a way to deliver the sources of a kernel module along with a machine readable specification of how to build the module for the currently active kernel. Debian already ships a lot of kernel modules as DKMS packages. For embedded images, these DKMS modules are not really an option, as it would require the image to provide a compiler and build system as well. For this use-case, DKMS provides a way to pre-build a binary version of the module for a specific kernel and ship that as a debian package. Note, that this support is not implemented as part of the debhelpers, but by DKMS itself. This series adds support for the described use-case in ISAR. By that, upstream DKMS modules can be fetched and build for the image's kernel in ISAR. The generated binary package can then be installed onto the target image. To show how to use that, an example is provided in meta-isar. Best regards, Felix Moessbauer Felix Moessbauer (1): Add support to build binary version of DKMS kernel modules .../example-dkms-module/igb-uio_20.11.bb | 14 ++++ meta/classes/dkms-module.bbclass | 68 +++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 meta-isar/recipes-kernel/example-dkms-module/igb-uio_20.11.bb create mode 100644 meta/classes/dkms-module.bbclass -- 2.20.1