diff options
author | Michal Marek <mmarek@suse.cz> | 2012-09-25 16:03:03 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-09-27 16:26:19 +0200 |
commit | fe04ddf7c2910362f3817c8156e41cbd6c0ee35d (patch) | |
tree | c760dd345cdc0ac7add2b541ae642b1ef496c0f5 /arch/x86/Makefile | |
parent | x86/kbuild: archscripts depends on scripts_basic (diff) | |
download | linux-fe04ddf7c2910362f3817c8156e41cbd6c0ee35d.tar.xz linux-fe04ddf7c2910362f3817c8156e41cbd6c0ee35d.zip |
kbuild: Do not package /boot and /lib in make tar-pkg
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 <andi@firstfloor.org>
Suggested-by: Ben Hutchings <ben@decadent.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r-- | arch/x86/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index c098ca4671de..b0c5276861ec 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -138,7 +138,7 @@ KBUILD_CFLAGS += $(call cc-option,-mno-avx,) KBUILD_CFLAGS += $(mflags-y) KBUILD_AFLAGS += $(mflags-y) -archscripts: scripts_basic +archscripts: $(Q)$(MAKE) $(build)=arch/x86/tools relocs ### |