[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130222095754.GB12402@pobox.suse.cz>
Date: Fri, 22 Feb 2013 10:57:54 +0100
From: Michal Marek <mmarek@...e.cz>
To: "David R. Bild" <drbild@...ch.edu>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
trivial@...nel.org
Subject: Re: [PATCH] kbuild: clear KBUILD_SRC when calling 'make' in RPM
spec
On Sat, Jan 12, 2013 at 10:19:19AM -0500, David R. Bild wrote:
> From: "David R. Bild" <drbild@...ch.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@...ch.edu>
Applied to kbuild.git#misc, thanks.
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists