From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6529810911033556992 X-Received: by 10.46.99.83 with SMTP id x80mr1403457ljb.38.1520408345212; Tue, 06 Mar 2018 23:39:05 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:ef12:: with SMTP id n18-v6ls108297lfh.7.gmail; Tue, 06 Mar 2018 23:39:04 -0800 (PST) X-Google-Smtp-Source: AG47ELtG+w4Kv9DSUQIpTjUppubLLaG5UWgxUAsxUObMXf9bGk/FH8HxG+lk8XyaU9/a3g95oY2Q X-Received: by 10.25.150.71 with SMTP id y68mr1517135lfd.42.1520408344467; Tue, 06 Mar 2018 23:39:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520408344; cv=none; d=google.com; s=arc-20160816; b=jP4vAdLmPzMfz2z59l51WwDjoQU7xaztjYwpL21INAK6I3kdctBIl4B90xbFl1CPd/ JSGHwaU9Ucix9CDuhwSCTQsxJd8Rf/crPJ85LBj0rk2KIZbMoS89hXXNFSSDpCg3r+6e tMOSRymKWC4Nt9rWyCf84H8BWt38bX56ExNs/Zz/Ju/dtnjunUIKrIEZeSwLyOURN5cH 2Bz04m6Z/DU1ZSDxmwuCXmNVJ995NpLkE/F9iBWn8tdFhgDIyqyQiEtwykknpqrbDqPQ 5XE88Gf8Iv0IJGpZmJw+5107TxOiqYzzNq+MEeUG4GjYgMxIIf3L2aNAIjGbSXlxgMh/ PtRg== 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:to:subject :arc-authentication-results; bh=SVTe1HyEsONq5D8ACDjxt6von2KWYigAOJE8KmFu6ck=; b=fXRtdVi/GzzA+frru4VXhG+RAQqaXSGX6kju/XUX/C7yA+eKYvfNXW9CQHCU+KUojw 2nR5NArdCSA4pTl6NnRcU+2cj6WCVKQ3rfgDlRcej3O/fJGLc3Y8eQUUP+VACSRLYEVd wxEqsNqKNGbp2BszQPXZafxIqm2bXRChiuJW3v0+zITeIGgZRS3/nqmzx0PBQEiy5VEg rJMyxY7MNAp2P9yY1JWg43ZWWP5THnQO0Wze/TeQpoyHPoNC971VBfKQ2S6fVI9nR3U3 VoFaJMegiFWycej5soR7yPGjtQaNz1KRrjFzxi4/Ubo0U0XRb4lzrAlsD/X80T6sI1+R TVkw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id m18si636306lfj.0.2018.03.06.23.39.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 23:39:04 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@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 jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w277d3Uh031180 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 7 Mar 2018 08:39:03 +0100 Received: from [167.87.11.133] ([167.87.11.133]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id w277d2Q7032204; Wed, 7 Mar 2018 08:39:03 +0100 Subject: Re: [PATCH 1/4] kernel/module: Add AUTOLOAD option To: Alexander Smirnov , isar-users@googlegroups.com References: <20180306124055.15990-1-asmirnov@ilbers.de> <20180306124055.15990-2-asmirnov@ilbers.de> From: Jan Kiszka Message-ID: Date: Wed, 7 Mar 2018 08:39:01 +0100 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: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: UstKMnt3dmXl On 2018-03-07 08:36, Alexander Smirnov wrote: > > > On 03/07/2018 10:19 AM, Jan Kiszka wrote: >> On 2018-03-06 13:40, Alexander Smirnov wrote: >>> Add possibility to set kernel module to be autoloaded. >>> Also add run dependency from 'systemd' because this package owns the >>> content of '/etc/modules-load.d'. >>> >>> Signed-off-by: Alexander Smirnov >>> --- >>>   meta/recipes-kernel/linux-module/files/debian/control | 2 +- >>>   meta/recipes-kernel/linux-module/module.inc           | 7 +++++++ >>>   2 files changed, 8 insertions(+), 1 deletion(-) >>> >>> diff --git a/meta/recipes-kernel/linux-module/files/debian/control >>> b/meta/recipes-kernel/linux-module/files/debian/control >>> index 707f857..0eae9a4 100644 >>> --- a/meta/recipes-kernel/linux-module/files/debian/control >>> +++ b/meta/recipes-kernel/linux-module/files/debian/control >>> @@ -7,5 +7,5 @@ Maintainer: ISAR project >>>     Package: @PN@ >>>   Architecture: any >>> -Depends: linux-image-@KERNEL_NAME@ >>> +Depends: linux-image-@KERNEL_NAME@, systemd >> >> Why this, BTW? > > See comment to the patch: > > 8<-- > Also add run dependency from 'systemd' because this package owns the > content of '/etc/modules-load.d'. > 8<-- > > So if this dependency is not set, the module.postinst script could be > run *before* '/etc/modules*' infrastructure is created. ...and that means? Also, is systemd now the only provider of this infrastructure in Debian? Jan