Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932380Ab2JQQZQ (ORCPT ); Wed, 17 Oct 2012 12:25:16 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:47958 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756407Ab2JQQZO (ORCPT ); Wed, 17 Oct 2012 12:25:14 -0400 Date: Wed, 17 Oct 2012 17:25:07 +0100 From: Ben Hutchings To: Herton Ronaldo Krzesinski Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Michal Marek , Andi Kleen Message-ID: <20121017162507.GX13292@decadent.org.uk> References: <20121014143533.742627615@decadent.org.uk> <20121014143543.836365515@decadent.org.uk> <20121017162210.GC2954@herton-Z68MA-D2H-B3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121017162210.GC2954@herton-Z68MA-D2H-B3> User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ben@decadent.org.uk Subject: Re: [ 074/147] kbuild: Do not package /boot and /lib in make tar-pkg X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000) X-SA-Exim-Scanned: Yes (on shadbolt.decadent.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2422 Lines: 57 On Wed, Oct 17, 2012 at 01:22:11PM -0300, Herton Ronaldo Krzesinski wrote: > On Sun, Oct 14, 2012 at 03:36:47PM +0100, Ben Hutchings wrote: > > 3.2-stable review patch. If anyone has any objections, please let me know. > > > > ------------------ > > > > From: Michal Marek > > > > commit fe04ddf7c2910362f3817c8156e41cbd6c0ee35d upstream. > > > > There were reports of users destroying their Fedora installs by a kernel > > tarball that replaces the /lib -> /usr/lib symlink. Let's remove the > > toplevel directories from the tarball to prevent this from happening. > > > > Reported-by: Andi Kleen > > Suggested-by: Ben Hutchings > > Signed-off-by: Michal Marek > > [bwh: Backported to 3.2: drop redundant changes] > > Signed-off-by: Ben Hutchings > > --- > > scripts/Makefile.fwinst | 4 ++-- > > scripts/package/buildtar | 2 +- > > 3 files changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/scripts/Makefile.fwinst b/scripts/Makefile.fwinst > > index 4d908d1..c3f69ae 100644 > > --- a/scripts/Makefile.fwinst > > +++ b/scripts/Makefile.fwinst > > @@ -42,7 +42,7 @@ quiet_cmd_install = INSTALL $(subst $(srctree)/,,$@) > > $(installed-fw-dirs): > > $(call cmd,mkdir) > > > > -$(installed-fw): $(INSTALL_FW_PATH)/%: $(obj)/% | $(INSTALL_FW_PATH)/$$(dir %) > > +$(installed-fw): $(INSTALL_FW_PATH)/%: $(obj)/% | $$(dir $(INSTALL_FW_PATH)/%) > > $(call cmd,install) > > Pulling Linus tree today, I noticed commit > 3ce9e53e788881da0d5f3912f80e0dd6b501f304 ("kbuild: Fix accidental revert > in commit fe04ddf"). This change to Makefile.fwinst is unrelated and > shouldn't be applied. This hunk was suspicious, could be dropped if not > too late. Otherwise, just picking 3ce9e53e7 later would be fine as well. I saw that on the list and folded it into the version that went into in 3.2.32. (Which is tagged in my own repo, but Greg hasn't yet pulled and released it.) Ben. -- Ben Hutchings We get into the habit of living before acquiring the habit of thinking. - Albert Camus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/