mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: "David R. Bild" <drbild@umich.edu>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	trivial@kernel.org
Subject: Re: [PATCH] kbuild: clear KBUILD_SRC when calling 'make' in RPM spec
Date: Fri, 22 Feb 2013 10:57:54 +0100	[thread overview]
Message-ID: <20130222095754.GB12402@pobox.suse.cz> (raw)
In-Reply-To: <1358003959-5533-1-git-send-email-drbild@umich.edu>

On Sat, Jan 12, 2013 at 10:19:19AM -0500, David R. Bild wrote:
> From: "David R. Bild" <drbild@umich.edu>
> 
> 'make rpm-pkg' and 'make binrpm-pkg' fail when the kernel source is
> read-only.  Specifically, when the RPM spec generated by
> scripts/package/mkspec is run, KBUILD_SRC happens to be set to the
> source location and thus the invocation of 'make headers_install'
> fails when an internal call to 'filechk' tries to write a file into
> the source tree.
> 
> The fix is to clear KBUILD_SRC for the 'make headers_install'
> invocation in the spec file, as is already done for the 'make
> modules_install' invocation.
> 
> Signed-off-by: David R. Bild <drbild@umich.edu>

Applied to kbuild.git#misc, thanks.

Michal

      reply	other threads:[~2013-02-22  9:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-12 15:19 David R. Bild
2013-02-22  9:57 ` Michal Marek [this message]

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=20130222095754.GB12402@pobox.suse.cz \
    --to=mmarek@suse.cz \
    --cc=drbild@umich.edu \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@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

all inboxes | Powered by JetHome®