SPECS (LINUX_2_6): kernel.spec - killed creating arch/{i386, x86_64...

Elan Ruusamäe glen at pld-linux.org
Tue Apr 22 13:20:53 CEST 2008


On Tuesday 22 April 2008 09:45:33 Marcin Krol wrote:
> > "before 2.6.24" is also questionable.
>
> Do you mean that we should make triggers to act on something that never
> existed in distro, but in CVS only? Its insane idea and if such policy
> will occur I'm leaving this train.
from what you are writing it is clear you don't know what i'm talking about, and seems not even attempting.

triggers are not always used to make something backwards compatible.
the triggers are invoked and create the symlinks ONLY when both packages are installed.
(and same for the removal)

and if you look the version components of the trigger, 
it's rather always current than something from past or the future

> > it is properly solved in 2.6.22 branch
> > (so the links appear only and only if both packages are installed)
>
> Problem exists on package build stage not during installation. With this
> %ghost entries directory deps like
> /home/users/builder/rpm/BUILD/linux-2.6.24 are added to main kernel
> package and there is no other way to install it than using --nodeps. My
> change fixed it for me. If you know better way to fix it feel free to
> revert.

that is still package install stage, not package build time.
there is no such thing as directory deps are added to package. these are verified at package installation stage.

echo "/home/users/builder/rpm/BUILD/linux-2.6.24" >> /etc/rpm/sysinfo/Filelinktos
to solve broken packaging

as i said, add the triggers and package as %ghost files (not as symlinks as then filelinktos will apply)

-- 
glen


More information about the pld-devel-en mailing list