]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kbuild: Do not package /boot and /lib in make tar-pkg
authorMichal Marek <mmarek@suse.cz>
Tue, 25 Sep 2012 14:03:03 +0000 (16:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:50:16 +0000 (05:50 +0900)
commit4bb50fa92f02d4b05067501919b280b44c6f4659
tree93429c8c34fb5a18b37a5b7ec981a0c5cd9cc93c
parent1d9465b68211c801acadde7dc3520eaba5e176c5
kbuild: Do not package /boot and /lib in make tar-pkg

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 <andi@firstfloor.org>
Suggested-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/Makefile
scripts/Makefile.fwinst
scripts/package/buildtar