Open jdrch opened 1 year ago
You could test by running the command this script does, with and without --category optional
and see, but admittedly I only ever used this (besides testing back when I wrote this) without specifying category. https://github.com/losuler/zypper-automatic/blob/a8a6b4e8a83a0b460a12423b84852e485b873724/main.py#L64
Based on the man page, it says that specifying --category
will "List only patches with this category"^1. I think maybe what you're after is what --with-optional
provides:
Note that the patch command does not apply optional patches (category optional or feature) by default. If you actually want to consider all optional patches as being needed, say patch --with-optional.
Thanks very much. I'm gonna try yast2
's online update config and see how that works out.
Hi, just wondering the above. It would seem from reading the
zypper
docs linked to thatpatch_categories = optional
would do the trick, but I just want to make sure.