The file was created in chroot_prepare(), but the configuration directory was being cleaned in chroot_sync_repodata(). This commit moves the configuration to after the directories are created. Fixes #25534
The file was created in chroot_prepare(), but the configuration directory was being cleaned in chroot_sync_repodata(). This commit moves the configuration to after the directories are created. Fixes #25534