On 17.05.2006 02:06, Derek Atkins wrote:
Alexander Bergolth <[EMAIL PROTECTED]> writes:
Yes, using a boolean will probably be better. (I thought about using the
returned-string of e.g. kernel-i686 directly in the Requires-line but I
don't know if this works and a boolean will certainly be cleaner.)

Okay, I've done that now in my personal sources, so this change
should be in the 1.4.2 packages.

Thanks!
Another important thing to consider is what to do with those old
distributions whose kernels don't provide "kernel-<arch>".

Axel Thimm pointed out on atrpms-devel that it might be better not to fall back to "Requires: kernel". First because this won't match exactly and second because it is prone to upgrade errors, which, as far as I understood, may be caused by implicit obsoletes that are created by rpm. See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130352

Instead of using "Requires: kernel" we could use a file dependency on /boot/vmlinuz-<version> on that platforms, as suggested by Jeff Johnson, the RPM-maintainer: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112825

This will always work, so maybe this could be a general solution?

Cheers,
--leo
--
-----------------------------------------------------------------------
[EMAIL PROTECTED]                Fax: +43-1-31336-906050
Zentrum fuer Informatikdienste - Wirtschaftsuniversitaet Wien - Austria


_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to