mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthias Lederhofer <matled@gmx.net>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [BUG/PATCH] make deb-pkg: optionally use fakeroot
Date: Fri, 8 Sep 2006 20:53:16 +0200	[thread overview]
Message-ID: <20060908185316.GA20352@moooo.ath.cx> (raw)

Problem: deb-pkg needs root privileges or fakeroot but git-diff-index
does not work correctly with fakeroot.  Perhaps this variable should
have another name and be added to the other package targets too.

---
 scripts/package/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index 7c434e0..d77e21a 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -72,7 +72,7 @@ # Deb target
 # ---------------------------------------------------------------------------
 deb-pkg: FORCE
 	$(MAKE) KBUILD_SRC=
-	$(CONFIG_SHELL) $(srctree)/scripts/package/builddeb
+	$(FAKEROOT) $(CONFIG_SHELL) $(srctree)/scripts/package/builddeb
 
 clean-dirs += $(objtree)/debian/
 
-- 
1.4.2.g0ea2


             reply	other threads:[~2006-09-08 18:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08 18:53 Matthias Lederhofer [this message]
2006-09-09  8:16 ` Jan Engelhardt
2006-09-09 22:15 ` Matthias Lederhofer

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=20060908185316.GA20352@moooo.ath.cx \
    --to=matled@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome