[OpenAFS-devel] Re: openafs spec-file kernel-detection
Derek Atkins
warlord@MIT.EDU
Mon, 22 May 2006 10:04:34 -0400
Alexander Bergolth <leo@strike.wu-wien.ac.at> writes:
> The only problem I see when using (only) file dependencies, is that some
> rpm-repositories don't have dependencies on files included in their
> index. E.g. it's an option to "genbasedir" when creating an apt-repository:
>
> -------------------- snip! --------------------
> --bloat Do not strip the package file list, needed for some
> distributions that use non-automatically generated
> file dependencies
> -------------------- snip! --------------------
>
> So when trying to install the kernel-module using apt without having the
> corresponding kernel installed, apt won't be able to suggest the
> appropriate kernel. (If the kernel is part of a repository that was
> built without the --bloat option.)
What about yum repositories? (Or is that the same thing?)
> But this is not a big problem, I guess.
> And since using a requires dependency that works on all platforms will
> simplify the spec-file, I'd tend towards making /boot/config... the only
> kernel-dependency. But I don't really have a preference.
I have no strong opinion. Simpler is better, but in this case the
complexity is already in there. It would be more work for me to
remove it right now.. So I say just leave it for now and then see
how it goes down the road.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available