Skip to content

Commit c10ef12

Browse files
committed
remove not required host dependency
1 parent 70a7ab3 commit c10ef12

3 files changed

Lines changed: 21 additions & 24 deletions

File tree

internal/provider/azl/azl.go

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,13 @@ func (p *AzureLinux) PostProcess(template *config.ImageTemplate, err error) erro
226226

227227
func (p *AzureLinux) installHostDependency() error {
228228
var dependencyInfo = map[string]string{
229-
"rpm": "rpm", // For the chroot env build RPM pkg installation
230-
"mkfs.fat": "dosfstools", // For the FAT32 boot partition creation
231-
"qemu-img": "qemu-utils", // For image file format conversion
232-
"mformat": "mtools", // For writing files to FAT32 partition
233-
"xorriso": "xorriso", // For ISO image creation
234-
"grub-mkimage": "grub-common", // For ISO image UEFI Grub binary creation
235-
"sbsign": "sbsigntool", // For the UKI image creation
236-
"createrepo_c": "createrepo_c", // For RPM repository metadata creation
229+
"rpm": "rpm", // For the chroot env build RPM pkg installation
230+
"mkfs.fat": "dosfstools", // For the FAT32 boot partition creation
231+
"qemu-img": "qemu-utils", // For image file format conversion
232+
"mformat": "mtools", // For writing files to FAT32 partition
233+
"xorriso": "xorriso", // For ISO image creation
234+
"grub-mkimage": "grub-common", // For ISO image UEFI Grub binary creation
235+
"sbsign": "sbsigntool", // For the UKI image creation
237236
}
238237
hostPkgManager, err := system.GetHostOsPkgManager()
239238
if err != nil {

internal/provider/emt/emt.go

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,13 @@ func (p *Emt) PostProcess(template *config.ImageTemplate, err error) error {
228228

229229
func (p *Emt) installHostDependency() error {
230230
var dependencyInfo = map[string]string{
231-
"rpm": "rpm", // For the chroot env build RPM pkg installation
232-
"mkfs.fat": "dosfstools", // For the FAT32 boot partition creation
233-
"qemu-img": "qemu-utils", // For image file format conversion
234-
"mformat": "mtools", // For writing files to FAT32 partition
235-
"xorriso": "xorriso", // For ISO image creation
236-
"grub-mkimage": "grub-common", // For ISO image UEFI Grub binary creation
237-
"sbsign": "sbsigntool", // For the UKI image creation
238-
"createrepo_c": "createrepo_c", // For RPM repository metadata creation
231+
"rpm": "rpm", // For the chroot env build RPM pkg installation
232+
"mkfs.fat": "dosfstools", // For the FAT32 boot partition creation
233+
"qemu-img": "qemu-utils", // For image file format conversion
234+
"mformat": "mtools", // For writing files to FAT32 partition
235+
"xorriso": "xorriso", // For ISO image creation
236+
"grub-mkimage": "grub-common", // For ISO image UEFI Grub binary creation
237+
"sbsign": "sbsigntool", // For the UKI image creation
239238
}
240239
hostPkgManager, err := system.GetHostOsPkgManager()
241240
if err != nil {

internal/provider/rcd/rcd.go

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,13 @@ func (p *RCD) PostProcess(template *config.ImageTemplate, err error) error {
226226

227227
func (p *RCD) installHostDependency() error {
228228
var dependencyInfo = map[string]string{
229-
"rpm": "rpm", // For the chroot env build RPM pkg installation
230-
"mkfs.fat": "dosfstools", // For the FAT32 boot partition creation
231-
"qemu-img": "qemu-utils", // For image file format conversion
232-
"mformat": "mtools", // For writing files to FAT32 partition
233-
"xorriso": "xorriso", // For ISO image creation
234-
"grub-mkimage": "grub-common", // For ISO image UEFI Grub binary creation
235-
"sbsign": "sbsigntool", // For the UKI image creation
236-
"createrepo_c": "createrepo_c", // For RPM repository metadata creation
229+
"rpm": "rpm", // For the chroot env build RPM pkg installation
230+
"mkfs.fat": "dosfstools", // For the FAT32 boot partition creation
231+
"qemu-img": "qemu-utils", // For image file format conversion
232+
"mformat": "mtools", // For writing files to FAT32 partition
233+
"xorriso": "xorriso", // For ISO image creation
234+
"grub-mkimage": "grub-common", // For ISO image UEFI Grub binary creation
235+
"sbsign": "sbsigntool", // For the UKI image creation
237236
}
238237
hostPkgManager, err := system.GetHostOsPkgManager()
239238
if err != nil {

0 commit comments

Comments
 (0)