linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* make tar*-pkg considered dangerous
@ 2012-09-12  3:16 Andi Kleen
  2012-09-12 16:43 ` Zdenek Kaspar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andi Kleen @ 2012-09-12  3:16 UTC (permalink / raw)
  To: linux-kernel, linux-kbuild


Hi,

We've had some incidents with people destroying Fedore 17 installs
(to the point of reinstall) by installing a kernel tarball generated with 
make tar*-pkg

The problem is that the tarball includes /lib/{modules,firmware},
but on FC17 /lib is a symlink. tar when it unpacks the tarball
replaces the symlink with the directory. So they end up
with a /lib which only contains the new kernel files, but nothing else,

And then the system doesn't boot anymore.

I'm not sure there is a good fix for this. I don't know of a way to
convince tar to not do that. And putting everything into /usr 
would be very incompatible.

Disable these make targets or add warnings?  If disabling people should
use rpms or dpkgs instead?

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-26 16:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-12  3:16 make tar*-pkg considered dangerous Andi Kleen
2012-09-12 16:43 ` Zdenek Kaspar
     [not found] ` <20120912161154.GB3289@khazad-dum.debian.net>
2012-09-12 20:39   ` (fwd) " Ben Hutchings
2012-09-19 11:58   ` Thorsten Glaser
2012-09-25 22:17 ` [PATCH] kbuild: Do not package /boot and /lib in make tar-pkg Michal Marek
2012-09-26 16:08   ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).