lkml.org 
[lkml]   [2012]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: make tar*-pkg considered dangerous
    On 09/12/2012 05:16 AM, Andi Kleen wrote:
    >
    > 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
    >

    I dont use the dpkg/rpm variants myself, but unpack with -h should be
    enough?

    HTH, Z.


    \
     
     \ /
      Last update: 2012-09-12 19:21    [W:3.740 / U:0.340 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site