Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion base/comps/components.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ includes = ["**/*.comp.toml", "components-full.toml", "component-check-disableme
[components.gpm]
[components.grep]
[components.groff]
[components.grub2]
[components.grubby]
[components.gssproxy]
[components.gzip]
Expand Down
18 changes: 18 additions & 0 deletions base/comps/grub2/grub2.comp.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[components.grub2]

# Disable Xen module builds — not applicable to Azure Linux (Hyper-V/KVM).
# grub.macros enables with_xen_arch and with_xen_pvh_arch on x86_64 by default,
# producing grub2-xen-x64-modules and grub2-xen_pvh-i386-modules subpackages.
[[components.grub2.overlays]]
description = "Disable Xen module build (with_xen_arch) in grub.macros"
type = "file-search-replace"
file = "grub.macros"
regex = '%global with_xen_arch 1'
replacement = '%global with_xen_arch 0'

[[components.grub2.overlays]]
description = "Disable Xen PVH module build (with_xen_pvh_arch) in grub.macros"
type = "file-search-replace"
file = "grub.macros"
regex = '%global with_xen_pvh_arch 1'
replacement = '%global with_xen_pvh_arch 0'
Loading