From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7148049090165604352 X-Received: by 2002:a05:6808:f01:b0:34f:cabc:4c9a with SMTP id m1-20020a0568080f0100b0034fcabc4c9amr4587364oiw.26.1664376362054; Wed, 28 Sep 2022 07:46:02 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:e742:b0:131:8180:91a with SMTP id t2-20020a056870e74200b001318180091als1716684oak.8.-pod-prod-gmail; Wed, 28 Sep 2022 07:46:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6wD3oiQLwNcaBssr7LlvRdd8WoC2upPZuXhQzYn5vsrFyv/blT/ELbJCwQy6cYNduJhzQY X-Received: by 2002:a05:6871:783:b0:12d:4b84:352d with SMTP id o3-20020a056871078300b0012d4b84352dmr5496671oap.179.1664376361492; Wed, 28 Sep 2022 07:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664376361; cv=none; d=google.com; s=arc-20160816; b=VXt779s4nvIHk7Wg5JG3FjrZWgP8Z+dgn7DXDCFPbjeMWHO50+Xvhl2STPUFDy2rPU woas7K8bvqWkniD+o3IPOi0zZQ/tF5XNoSdJUzrmfBFO+Lvkc8JyUik5x6uE4Abubw9V ktVO1UVB5vV7w00mrJu0nK0XL9jrS2C1qdMZe6x8l4nE7oqkMMEQ/8hlLJW6N3zI47Cr YHBaQgoLwg6mdAVtEn1DFvxu1W7T55DD9ZYS8mDIyjgZJZ5/y3AE5xIiHOrAOQHDvawi JIBEtbNyQxGlXpBT8zIGY7giIZCoTBpsg23kQ+eOi4MiZ9yeBStXLVn2QqYyb5OuZ8Hw mu0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=BHvsUiHaYtySXHHvpwwVgF3is0f7XT+6uCqI1k74hjw=; b=PP2QdMlHXJenpmrJ3Xz30IlxfucPi1eYT4flmjMS4dKyS3w19EZ17YbHubvyHLS71B KjI//+jXEU4lWF7BMCLdVYtTdjKxjObn9nctPnggXtebqhasckTNlpVxXPv6Kk2Ja5j3 3KYyqb+E2h4uu1tFPJRzLqJYwBCvePuvkS5sCwqC5+ks51Qs9wmz/nEJ+Zt0KrO3kSgW EHz53lYVU8sSYUwDL8DVjqiQ+kk6wX8TqbILiSUSip473ozwPXRYsGvrTqBSCYnS/kXq jowpYlyawDBllZM5QIJv3U35kt8bXQJKoozFux3B2bCxc6xlNGmGFXeaUqAo/DW/TWiX x4gQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UZXuCBjO; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::133 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-il1-x133.google.com (mail-il1-x133.google.com. [2607:f8b0:4864:20::133]) by gmr-mx.google.com with ESMTPS id k26-20020a056870959a00b0013191afecb8si339472oao.2.2022.09.28.07.46.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Sep 2022 07:46:01 -0700 (PDT) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::133 as permitted sender) client-ip=2607:f8b0:4864:20::133; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UZXuCBjO; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::133 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-il1-x133.google.com with SMTP id d14so6737572ilf.2 for ; Wed, 28 Sep 2022 07:46:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=BHvsUiHaYtySXHHvpwwVgF3is0f7XT+6uCqI1k74hjw=; b=UZXuCBjOmqDSjwMx8mpq36tEXqoObhcZmro84/8GYztgH2UMYocGLchKsOlLLmk2VA N1LvFTFmw1Bfx0ohizGEfErw80PaxiOX8u1Iq/FYB2PsMtzTLjxpQmPDTNh4Baotggcf QUcyIPEZrMUkgDqlcy8HZvZADK9ooBquPv7GH5PQQ04c89dm6k7sWD0JmClemQk7kRwr wuq9lESMnmK2Yj2zWh5LAfwUomgGHz2DdlDEdc7igQaSAkXRmdMF0/KCc64JGKRRMQ8w nj3ys3ITQ2h5P7k0ngHxyA8RtgQmpPw87Q2TjouVxlJhC0LpeGcKUJdCvQ0WQGH0S30P dDjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=BHvsUiHaYtySXHHvpwwVgF3is0f7XT+6uCqI1k74hjw=; b=5JkWvTaNaXVhKz9g/WCrm2ONmuAi1U0AsYDamf9OiS2kj7jc8tvLE4RoK3OdpX+hJd 7JIa8F4qW75J/NC4Ck5AJGzrNhBgEmE3KdRt4hfwzkCGIs65UPJX7uXdUtu/pwKlGe5q 8prwE20EL/HHdcFUOaLqdpdEjzQseUxFFbizChxUXeHUeS3Ni0/eevttu8cskrIZaABj zdoBA6VjBskU8x90XNQ67Tk9sCt9ViOqccbO/28bdQ/MTjnRlfj/PdUd428FSYPWSTrK YK4NN4/c9wR1+ct7X7GucDjbgrG2u/QZAi/2AGBEo4PYBoqITZxmzypbBAWeoyoytuJT EiKA== X-Gm-Message-State: ACrzQf3AafdqggPTc3j7hQWnYvalQswQ4N/WL8qIjYvL4CM7AzqATxbx MbEvmUsdOl7/osmx6rcO3pEUSca/K1K8DynMQA== X-Received: by 2002:a92:cdae:0:b0:2f5:8aea:654d with SMTP id g14-20020a92cdae000000b002f58aea654dmr15684324ild.135.1664376361158; Wed, 28 Sep 2022 07:46:01 -0700 (PDT) MIME-Version: 1.0 References: <20220928113727.1e801ed8@md1za8fc.ad001.siemens.net> In-Reply-To: <20220928113727.1e801ed8@md1za8fc.ad001.siemens.net> From: "Roberto A. Foglietta" Date: Wed, 28 Sep 2022 16:45:39 +0200 Message-ID: Subject: Re: rules.tmpl how to exec a cmd as root To: Henning Schild Cc: isar-users@googlegroups.com Content-Type: multipart/alternative; boundary="000000000000c78f4405e9bdd12c" X-TUID: d8HbrIvkNNWO --000000000000c78f4405e9bdd12c Content-Type: text/plain; charset="UTF-8" Il Mer 28 Set 2022, 11:37 Henning Schild ha scritto: > > With this the Makefile of the out-of-tree module can now do all sorts > of fun stuff in "modules_install" and "install". And you patch the > sources of that module to contain a Makefile that does what you want. > > > Am Tue, 27 Sep 2022 15:20:57 +0200 > schrieb "Roberto A. Foglietta" : > > > Dear all, > > > > I found another corner case about compiling a 3rd party driver into > > ISAR and I need to execute a command at make level but as root. > Dear Henning, thanks for the reply. I confirm you that this approach do NOT work for the 3rd party modules I have to compile in ISAR against a standard debian kernel. I accept to be a newbie in ISAR but the only approach that demonstrated being working with this stuff is exorcism as root! LOL Best, R- > --000000000000c78f4405e9bdd12c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Il Mer 28 Set 2022, 11:37 Henning Schild <henning.schild@siemens.com> ha scritto:=

With this the Makefile of the out-of-tree module can now do all sorts
of fun stuff in "modules_install" and "install". And yo= u patch the
sources of that module to contain a Makefile that does what you want.

Am Tue, 27 Sep 2022 15:20:57 +0200
schrieb "Roberto A. Foglietta" <roberto.foglietta@gma= il.com>:

> Dear all,
>
>=C2=A0 I found another corner case about compiling a 3rd party driver i= nto
> ISAR and I need to execute a command at make level but as root.

Dear He= nning,

=C2=A0 thanks for= the reply. I confirm you that this approach do NOT work for the 3rd party = modules I have to compile in ISAR against a standard debian kernel. I accep= t to be a newbie in ISAR but the only approach that demonstrated being work= ing with this stuff is exorcism as root! LOL

=C2=A0Best, R-
--000000000000c78f4405e9bdd12c--