From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754133Ab1A1H6Y (ORCPT ); Fri, 28 Jan 2011 02:58:24 -0500 Received: from lo.gmane.org ([80.91.229.12]:57656 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753472Ab1A1H6X (ORCPT ); Fri, 28 Jan 2011 02:58:23 -0500 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: WANG Cong Subject: Re: [Patch] make installkernel configurable from command line (was Re: how to avoid that install.sh goes mad, if I am not root?) Date: Fri, 28 Jan 2011 07:58:07 +0000 (UTC) Message-ID: References: <4D388A08.1010004@afaics.de> <19768.44428.482148.361069@pilspetsen.it.uu.se> <4D3A03CA.2060507@afaics.de> <20110124102159.GD5510@cr0.nay.redhat.com> <19773.26066.137666.718852@pilspetsen.it.uu.se> <20110125054800.GC13618@cr0.nay.redhat.com> <19775.61731.753606.576942@pilspetsen.it.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 60.247.97.98 User-Agent: Pan/0.133 (House of Butterflies) Cc: linux-kbuild@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Jan 2011 11:02:11 +0100, Mikael Pettersson wrote: > > Tested. This works as far as not overriding root's ~/bin/installkernel > if it exists, but it fails to give precedence to an explicit > command-line INSTALLKERNEL=... over the built-in fallbacks. I don't see > an easy way to fix that without first consolidating all archs' > INSTALLKERNEL handling into the top-level Makefile. Yes, exactly, I can expect this. > > Not using make install and just invoking your own install script > directly works, so I'm not sure this is worth the trouble (unless you > can unify all archs' INSTALLKERNEL handling as a side-effect / cleanup). Agreed, I will have a try. Thanks! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lo.gmane.org ([80.91.229.12]:36189 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755062Ab1A1IpJ (ORCPT ); Fri, 28 Jan 2011 03:45:09 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pijx2-0004ND-Ev for linux-kbuild@vger.kernel.org; Fri, 28 Jan 2011 09:45:04 +0100 Received: from 60.247.97.98 ([60.247.97.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Jan 2011 09:45:04 +0100 Received: from xiyou.wangcong by 60.247.97.98 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Jan 2011 09:45:04 +0100 From: WANG Cong Subject: Re: [Patch] make installkernel configurable from command line (was Re: how to avoid that install.sh goes mad, if I am not root?) Date: Fri, 28 Jan 2011 07:58:07 +0000 (UTC) Message-ID: References: <4D388A08.1010004@afaics.de> <19768.44428.482148.361069@pilspetsen.it.uu.se> <4D3A03CA.2060507@afaics.de> <20110124102159.GD5510@cr0.nay.redhat.com> <19773.26066.137666.718852@pilspetsen.it.uu.se> <20110125054800.GC13618@cr0.nay.redhat.com> <19775.61731.753606.576942@pilspetsen.it.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org On Wed, 26 Jan 2011 11:02:11 +0100, Mikael Pettersson wrote: > > Tested. This works as far as not overriding root's ~/bin/installkernel > if it exists, but it fails to give precedence to an explicit > command-line INSTALLKERNEL=... over the built-in fallbacks. I don't see > an easy way to fix that without first consolidating all archs' > INSTALLKERNEL handling into the top-level Makefile. Yes, exactly, I can expect this. > > Not using make install and just invoking your own install script > directly works, so I'm not sure this is worth the trouble (unless you > can unify all archs' INSTALLKERNEL handling as a side-effect / cleanup). Agreed, I will have a try. Thanks!