From: Michael Hofmann on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2719
Currently, it is possible to only build the base variant by specifying `--without debug`. The same is not true if one wants to only build the debug variant.
Using `--with dbgonly` will disable base variants, but will also disable a variety of other subpackages.
Keeping the design pattern introduced by `--without debug`, add a `--without base`. Rework `--with dbgonly` to be a superset of this.
Convert `.gitlab-ci.yml` to use `--without debug` and --without base` to select kernel variants.
This requires https://gitlab.com/cki-project/pipeline- definition/-/merge_requests/1836 to be merged first. This ensures debug kernels automatically get a `--without base`.
Signed-off-by: Michael Hofmann mhofmann@redhat.com
--- redhat/kernel.spec.template | 13 ++++++++----- .gitlab-ci.yml | 16 ++++++++-------- 2 files changed, 16 insertions(+), 13 deletions(-)