public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH v2 00/15] Fedora on Debian
@ 2025-10-29 12:40 Daniel Gomez
  2025-10-29 12:40 ` [PATCH v2 01/15] base_image: restore locales-all installation for Debian Trixie Daniel Gomez
                   ` (16 more replies)
  0 siblings, 17 replies; 28+ messages in thread
From: Daniel Gomez @ 2025-10-29 12:40 UTC (permalink / raw)
  To: Luis Chamberlain, Chuck Lever; +Cc: kdevops, Daniel Gomez

This series enables testing Fedora guest VMs on Debian host systems,
addressing cross-distribution compatibility issues in guestfs workflow
and adding manual CI workflow support for multi-distro testing.

The key technical challenge solved is SELinux context handling
when building Fedora images on non-SELinux hosts like Debian, where
libguestfs cannot persist security.selinux extended attributes. The
series also fixes Ansible variable scope issues in 9P builds and adds
configuration infrastructure to support distribution-specific guest
selection.

The GitHub Actions workflow gains manual guest OS selection to validate
distro-specific fixes across both Debian and Fedora environments.

kdevops-ci blktests_nvme validation test using Fedora on Debian:
https://github.com/linux-kdevops/kdevops/actions/runs/18883031353

Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
---
Changes in v2:
- Update patch 9p os detection and leverage Kconfig distro variables as
Chuck's suggestion
- Drop include/import grub changes as unnecessary
- Fix same issue in selftests install-deps step
- CI tests :
1. Fedora on Debian
https://github.com/linux-kdevops/kdevops/actions/runs/18903303694
2. Debian on Debian
https://github.com/linux-kdevops/kdevops/actions/runs/18903311654
- Link to v1: https://lore.kernel.org/r/20251028-fedora-on-debian-v1-0-1802ab2f993a@samsung.com

---
Daniel Gomez (15):
      base_image: restore locales-all installation for Debian Trixie
      guestfs: fix Kconfig indentation style
      guestfs: remove unused bringup debug Kconfig options
      guestfs: fix spelling errors and Debian capitalization
      base_image: set selinux to permissive for fedora on debian hosts
      ansible_provisioning: fix help text indentation style
      devconfig: fix undefined custom repos/packages variables
      devconfig: fix Ansible boolean conditional for custom repos
      bootlinux: fix os detection for 9p build dependency installation
      selftests: fix os detection for 9p build dependency installation
      guestfs: generate fedora distribution-specific hostname prefixes
      defconfigs: add fedora-41 fragment for guestfs
      defconfigs: add debian-13 fragment for guestfs
      github: add guest OS selection for CI testing
      guestfs: increase SSH config timeout for Fedora on Debian hosts

 .github/actions/configure/action.yml               | 22 ++++++-
 .github/workflows/kdevops.yml                      | 10 ++++
 Makefile                                           |  7 ---
 defconfigs/configs/guestfs-debian-13.config        |  2 +
 defconfigs/configs/guestfs-fedora-41.config        |  2 +
 kconfigs/Kconfig.ansible_provisioning              | 58 +++++++++---------
 kconfigs/Kconfig.guestfs                           | 68 +++++++++-------------
 kconfigs/Kconfig.kdevops                           |  1 +
 playbooks/roles/base_image/tasks/base-image.yml    | 34 +++++++++++
 .../roles/base_image/templates/virt-builder.j2     |  1 +
 playbooks/roles/bootlinux/defaults/main.yml        |  6 ++
 playbooks/roles/bootlinux/tasks/build/9p.yml       |  2 +-
 .../roles/bootlinux/tasks/install-deps/main.yml    |  6 +-
 .../bootlinux/tasks/install-deps/redhat/main.yml   |  4 +-
 playbooks/roles/devconfig/defaults/main.yml        |  4 ++
 .../redhat/main.yml                                |  2 -
 playbooks/roles/guestfs/tasks/bringup/main.yml     |  4 ++
 playbooks/roles/selftests/defaults/main.yml        |  6 ++
 .../tasks/install-deps/main-localhost.yml          | 10 ++++
 playbooks/roles/selftests/tasks/main.yml           |  2 +-
 scripts/update_ssh_config_guestfs.py               |  8 ++-
 21 files changed, 172 insertions(+), 87 deletions(-)
---
base-commit: 8d223755643d5017562a632ea7f0aaa79f2f5563
change-id: 20251028-fedora-on-debian-73ed90d0fbd8

Best regards,
--  
Daniel Gomez <da.gomez@samsung.com>


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2025-11-08 20:56 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-29 12:40 [PATCH v2 00/15] Fedora on Debian Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 01/15] base_image: restore locales-all installation for Debian Trixie Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 02/15] guestfs: fix Kconfig indentation style Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 03/15] guestfs: remove unused bringup debug Kconfig options Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 04/15] guestfs: fix spelling errors and Debian capitalization Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 05/15] base_image: set selinux to permissive for fedora on debian hosts Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 06/15] ansible_provisioning: fix help text indentation style Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 07/15] devconfig: fix undefined custom repos/packages variables Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 08/15] devconfig: fix Ansible boolean conditional for custom repos Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 09/15] bootlinux: fix os detection for 9p build dependency installation Daniel Gomez
2025-11-07 19:22   ` Chuck Lever
2025-11-07 20:00     ` Daniel Gomez
2025-11-07 20:17       ` Chuck Lever
2025-11-07 20:47         ` Daniel Gomez
2025-11-07 20:53           ` Chuck Lever
2025-11-07 23:20             ` Daniel Gomez
2025-11-07 23:24               ` Daniel Gomez
2025-11-08 16:11               ` Chuck Lever
2025-11-08 20:12                 ` Daniel Gomez
2025-11-08 20:56                   ` Chuck Lever
2025-10-29 12:40 ` [PATCH v2 10/15] selftests: " Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 11/15] guestfs: generate fedora distribution-specific hostname prefixes Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 12/15] defconfigs: add fedora-41 fragment for guestfs Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 13/15] defconfigs: add debian-13 " Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 14/15] github: add guest OS selection for CI testing Daniel Gomez
2025-10-29 12:40 ` [PATCH v2 15/15] guestfs: increase SSH config timeout for Fedora on Debian hosts Daniel Gomez
2025-10-29 13:49 ` [PATCH v2 00/15] Fedora on Debian Chuck Lever
2025-10-29 14:16 ` Daniel Gomez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox