From patchwork Mon Mar 7 10:45:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Kujau X-Patchwork-Id: 615381 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p27Ak91W029207 for ; Mon, 7 Mar 2011 10:46:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755883Ab1CGKpf (ORCPT ); Mon, 7 Mar 2011 05:45:35 -0500 Received: from trent.utfs.org ([194.246.123.103]:54841 "EHLO trent.utfs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755940Ab1CGKpd (ORCPT ); Mon, 7 Mar 2011 05:45:33 -0500 Received: by trent.utfs.org (Postfix, from userid 8) id 225803DD43; Mon, 7 Mar 2011 11:45:30 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on trent.utfs.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.5 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.1 Received: from trent.utfs.org (localhost [127.0.0.1]) by trent.utfs.org (Postfix) with ESMTP id E38173DB88; Mon, 7 Mar 2011 11:45:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by trent.utfs.org (Postfix) with ESMTP id CEC743DB7A; Mon, 7 Mar 2011 11:45:27 +0100 (CET) Date: Mon, 7 Mar 2011 02:45:27 -0800 (PST) From: Christian Kujau To: =?UTF-8?Q?Am=C3=A9rico_Wang?= cc: LKML , nicolas.2p.debian@free.fr, mmarek@suse.cz, max@stro.at, linux-kbuild@vger.kernel.org Subject: Re: cannot create include/linux/version.h.tmp: Read-only file system In-Reply-To: <20110307070510.GA1166@cr0.redhat.com> Message-ID: References: <20110307070510.GA1166@cr0.redhat.com> User-Agent: Alpine 2.01 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-AV-Checked: ClamAV using ClamSMTP (127.0.0.1) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 07 Mar 2011 10:46:09 +0000 (UTC) --- linux-2.6-git/scripts/package/Makefile.patched 2011-03-07 00:21:44.000000000 -0800 +++ linux-2.6-git/scripts/package/Makefile 2011-03-07 02:18:02.000000000 -0800 @@ -45,7 +45,8 @@ rpm-pkg rpm: $(objtree)/kernel.spec FORC $(MAKE) clean $(PREV) ln -sf $(srctree) $(KERNELPATH) $(CONFIG_SHELL) $(srctree)/scripts/setlocalversion --save-scmversion - $(PREV) tar -cz $(RCS_TAR_IGNORE) -f $(KERNELPATH).tar.gz $(KERNELPATH)/. + $(PREV) tar -cz $(RCS_TAR_IGNORE) -f $(KERNELPATH).tar.gz \ + $(KERNELPATH)/. $(objtree)/kernel.spec $(PREV) rm $(KERNELPATH) rm -f $(objtree)/.scmversion set -e; \ @@ -53,8 +54,8 @@ rpm-pkg rpm: $(objtree)/kernel.spec FORC set -e; \ mv -f $(objtree)/.tmp_version $(objtree)/.version - $(RPM) $(RPMOPTS) --target $(UTS_MACHINE) -ta ../$(KERNELPATH).tar.gz - rm ../$(KERNELPATH).tar.gz + $(RPM) $(RPMOPTS) --target $(UTS_MACHINE) -ta $(KERNELPATH).tar.gz + rm $(KERNELPATH).tar.gz clean-files := $(objtree)/kernel.spec