From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6576101197771440128 X-Received: by 2002:a19:a419:: with SMTP id q25-v6mr362498lfc.10.1531125098053; Mon, 09 Jul 2018 01:31:38 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:9251:: with SMTP id v17-v6ls268499ljg.7.gmail; Mon, 09 Jul 2018 01:31:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe3aZHlVBeNMZ9J0WmV45H29z6GQ7vSGyQNEuGsGcopyUT5izS1eD9iMY1ykxe946nWyMS+ X-Received: by 2002:a2e:870b:: with SMTP id m11-v6mr798242lji.27.1531125097557; Mon, 09 Jul 2018 01:31:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531125097; cv=none; d=google.com; s=arc-20160816; b=OT9w7xNI4YAneDifbludSPfjdxgn5L8bLCYFLOg9aIyFdk2Tn1OO92lYSg9QVj9UfF FaRhPGn7/TJRRDRZBTEnfFuBgynwsplbopoO2NhDMKLxd3hD3RU95SENHhiSIkftTlA8 2+uifXC/gRyJdmxHs3Ki6oktDkyq3S7MHNGvP4LgKn0PlvyWBVeechd790CLsoUTkqzS Q8Jo8ozXTElvnsuRthpHupUVaSUjEfSbWBJp9Rj3TeIBsMZnZF7K/ibJH47n++rdwY+k LY7oI9vUkan41QRcVyALIObFsPdLQUnxxueoMS9fqPjzOMmnhA+vXtbwoo60pDjBr4sI qfyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=HEggrPu0Gf/ujL0xedCVc9XNwJ/6BubEwpLHQ5osnD8=; b=xOPIRVmVxD+3CBkd53iI2qcKLfTcOSuHzMTiCnEMSESUG2rpgh6c5hE5yraS4Kf0Pp zrvjgWctv23Xtlsyb9+TPMr5HkOaxk8apLi2YuEsnCSkV+5lpxuz9HGU/KhzZFe2VH8o jZW2RhS7rG2JtL5//X4ftlO7oiIVAQeJSooEAgIz75RGUpUcZQNXKZ+MbQfZlkw7bmSg 5DQy4X2118K7opIotGmPytgqGrNMsdXXUPvzUidDoyltHPBSJY6aW24O/jBHG4zrcC0V tHLZjRhB5ID2VtdjpnxNkrlzWmNW+8ztYD9LqsUPXjwTjZH2expN+k9VBAgJGVt7eaMz a/ag== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id z16-v6si663291lfe.5.2018.07.09.01.31.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 01:31:37 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w698Vave008207 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 9 Jul 2018 10:31:36 +0200 Received: from md1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w698VaJg021733; Mon, 9 Jul 2018 10:31:36 +0200 Date: Mon, 9 Jul 2018 10:31:36 +0200 From: Henning Schild To: "[ext] Jan Kiszka" Cc: isar-users Subject: Re: [PATCH v2] meta: Run depmod after kernel module installation Message-ID: <20180709103136.64ce9c90@md1pvb1c.ad001.siemens.net> In-Reply-To: <0df12500-6467-0ab1-d385-7a6300686675@siemens.com> References: <0df12500-6467-0ab1-d385-7a6300686675@siemens.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: NmnPsmWzrGsl Am Mon, 9 Jul 2018 10:06:43 +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 > --- > > Change in v2: > - mark postinst executable > > meta/recipes-kernel/linux-module/files/debian/postinst | 4 ++++ > 1 file changed, 4 insertions(+) > create mode 100755 > 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 100755 index 0000000..baabf5d > --- /dev/null > +++ b/meta/recipes-kernel/linux-module/files/debian/postinst > @@ -0,0 +1,4 @@ > +#!/bin/sh > +set -e > + > +depmod -a And now remove the chmod in the AUTOLOAD, not needed anymore. Henning