From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6576101197771440128 X-Received: by 2002:a2e:870b:: with SMTP id m11-v6mr795501lji.27.1531123527623; Mon, 09 Jul 2018 01:05:27 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:d8e5:: with SMTP id r98-v6ls1361974lfi.10.gmail; Mon, 09 Jul 2018 01:05:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe34bA/Wu8mbfKD/+PHsaiQ7bvs71HE2SZxN4NrLMNH+re9aa6Hp0BzbpahpRkg1b2H+E1x X-Received: by 2002:a19:6a15:: with SMTP id u21-v6mr1047193lfu.9.1531123526996; Mon, 09 Jul 2018 01:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531123526; cv=none; d=google.com; s=arc-20160816; b=1FZv4tUugQ6Devt1NqoouJrrl67r+Ck4xH3nN3j5zho0AbHvFTCjLxv/dUIylzG/ho j7SXL1qfVjFzdlrLftK28REvBMQuNQEJlzJSnizOESlDcxdWR13ZE30FWwG6ODwdd33O iAvFP/aNH+YvDjwde4VyuXSkZC70F5DCo4Tg/BWU7B5E39NSt0PzTwyKNlYn8tb3Sib6 35ofnewOqBOwtFZThFLWJBZL5iUujUVg7KTMZM+cnkEBqr8474Am68x8rRU4Xtf4fJlx 8oXyUJW8jDGFLI799KJV7EK55YXDaQ7i9FaPEwc4E5e8pKREJVC/0gEWlhuHIG/vogWh 7tgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :arc-authentication-results; bh=ReCELAwRzofiMEic6r3XH+E9oXO3TJMre5VwX2gu5TM=; b=G/Hd9hP1yVoDZf8/4xyRvzVWVDM3W6xZ+p9jvSQ5YIOp8D4bNdxb6mK5a4RV+gtpAq IujpXkQvy0+dyP74W0QhH9q9aR5aQIJ7exHBoNlDmonL5JTwvVwwZNobf8YqBjpNdanS S1Yb33wNpEHvg2ZY0D+JcT7uZ6TS7H3iylwmwGszs6Tdu8nw/P9rSIOI9Bm59xlRxjI0 5qIFVhux9QGhxBiaFIX1HEOuvHHVM7DmhT94XwXOldWNkY63a3LOJnql2uht51ssUseQ +AfxfJq2aXyWFlHi7IYQMXUMRJIb6Yv1NkKIaI1wu2vAe2zkVaJXTX8VspxalZ7+QYcO m+1Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id q17-v6si338329lfc.4.2018.07.09.01.05.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 01:05:26 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@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 jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id w6985Q4k000515 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 9 Jul 2018 10:05:26 +0200 Received: from [167.87.6.104] ([167.87.6.104]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w6985Pm9001620; Mon, 9 Jul 2018 10:05:26 +0200 Subject: Re: [PATCH] meta: Run depmod after kernel module installation To: Henning Schild Cc: isar-users References: <36145474-46aa-eea9-3c41-360d37ad524d@siemens.com> <20180709094821.0ebc78d5@md1pvb1c.ad001.siemens.net> From: Jan Kiszka Message-ID: <28e2c43a-adea-4d09-3a32-e9529e6e073a@siemens.com> Date: Mon, 9 Jul 2018 10:05:25 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <20180709094821.0ebc78d5@md1pvb1c.ad001.siemens.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: CIkFVCVhnhYp On 2018-07-09 09:48, Henning Schild wrote: > Am Mon, 9 Jul 2018 08:31:12 +0200 > schrieb "[ext] Jan Kiszka" : > >> Otherwise the module may not be found if the module package is >> installed on its own, i.e. without the kernel package performing the >> depmod run. >> >> Signed-off-by: Jan Kiszka >> --- >> meta/recipes-kernel/linux-module/files/debian/postinst | 4 ++++ >> 1 file changed, 4 insertions(+) >> create mode 100644 >> meta/recipes-kernel/linux-module/files/debian/postinst >> >> diff --git a/meta/recipes-kernel/linux-module/files/debian/postinst >> b/meta/recipes-kernel/linux-module/files/debian/postinst new file >> mode 100644 index 0000000..baabf5d >> --- /dev/null >> +++ b/meta/recipes-kernel/linux-module/files/debian/postinst >> @@ -0,0 +1,4 @@ >> +#!/bin/sh >> +set -e >> + >> +depmod -a > > That being 644 and the chmod in comnbination with AUTOLOAD do not seem > to match. Either debian will take care of +x and the chmod is not > required at all, or it needs to be 755 and the chmod needs to go away. > Right, it's probably needed. At least all non-dpkg-raw hooks I found have +x, and dpkg-raw does an install -m 755. Jan