Rationale for hardlink in kernel postinstall scriplet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hello,

I've got a question for the kernel rpm packager at RedHat (Dave?). What's
the idea behind this piece of code (postinstall scriptlet):

if [ -x /usr/sbin/hardlink ] ; then
pushd /lib/modules/2.6.10-1.741_FC3/build > /dev/null ; {
        cd /lib/modules/2.6.10-1.741_FC3/build
        find . -type f | while read f; do hardlink -c /lib/modules/*/build/$f $f ; done
}
popd > /dev/null
fi

The issue I've got with it is that it touches all /lib/modules/* thus
touching my own version of the kernel (happily changing files and
owner)...

Is this intended or just a bug?

Thanks for letting me know.

-- 
Mathieu Chouquet-Stringer
    "Le disparu, si l'on vénère sa mémoire, est plus présent et
                 plus puissant que le vivant".
           -- Antoine de Saint-Exupéry, Citadelle --


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux