From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
To: isar-users@googlegroups.com
Subject: rules.tmpl how to exec a cmd as root
Date: Tue, 27 Sep 2022 15:20:57 +0200 [thread overview]
Message-ID: <CAJGKYO4_HdVGVWmuq3_2t3Gu5crf=TPwdbx4FnB1Afdkrt-E6w@mail.gmail.com> (raw)
In-Reply-To: <AM0PR10MB20205FF67C22F88DC3BE525BAA559@AM0PR10MB2020.EURPRD10.PROD.OUTLOOK.COM>
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
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. Unfortunately su
cannot authenticate seamlessly and without the root permission the command
fails. Suggestions?
override_dh_auto_build:
sudo cp -arf /usr/lib/modules/*/source/* /usr/lib/modules/*/build/
cp -arf /usr/lib/modules/*/source/* /usr/lib/modules/*/build/
$(MAKE) -n modules ${PARALLEL_MAKE}
Thanks, R-
[-- Attachment #2: Type: text/html, Size: 712 bytes --]
next parent reply other threads:[~2022-09-27 13:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AM0PR10MB20205FF67C22F88DC3BE525BAA559@AM0PR10MB2020.EURPRD10.PROD.OUTLOOK.COM>
2022-09-27 13:20 ` Roberto A. Foglietta [this message]
2022-09-27 14:59 ` Roberto A. Foglietta
2022-09-27 21:13 ` Roberto A. Foglietta
2022-09-27 22:03 ` Roberto A. Foglietta
2022-09-28 9:37 ` Henning Schild
2022-09-28 14:45 ` Roberto A. Foglietta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJGKYO4_HdVGVWmuq3_2t3Gu5crf=TPwdbx4FnB1Afdkrt-E6w@mail.gmail.com' \
--to=roberto.foglietta@gmail.com \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox