]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
image: also show GRUB options for EROFS 19501/head
authorTil Kaiser <mail@tk154.de>
Wed, 23 Jul 2025 08:08:38 +0000 (10:08 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 26 Jul 2025 16:02:31 +0000 (18:02 +0200)
f7fa414d3b4d967a7e40b162977f48e1be430c1c added support for
EROFS image generation. Generating combined GRUB images for
EROFS is possible, but currently hidden if neither ext4,
jffs2, or squashfs is selected.

This commit adds EROFS as a dependency to the GRUB options.

Signed-off-by: Til Kaiser <mail@tk154.de>
Link: https://github.com/openwrt/openwrt/pull/19501
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
config/Config-images.in

index 05476dac77edb6e239c90daa7af8d61ba07508ba..208c4838d19464bb63d1837d8e57f79e9c037750 100644 (file)
@@ -231,7 +231,7 @@ menu "Target Images"
        config GRUB_IMAGES
                bool "Build GRUB images (Linux x86 or x86_64 host only)"
                depends on TARGET_x86
-               depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
+               depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS || TARGET_ROOTFS_EROFS
                select PACKAGE_grub2
                select PACKAGE_grub2-bios-setup
                default y
@@ -239,7 +239,7 @@ menu "Target Images"
        config GRUB_EFI_IMAGES
                bool "Build GRUB EFI images"
                depends on TARGET_x86 || TARGET_armsr || TARGET_loongarch64
-               depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
+               depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS || TARGET_ROOTFS_EROFS
                select PACKAGE_grub2 if TARGET_x86
                select PACKAGE_grub2-efi if TARGET_x86
                select PACKAGE_grub2-bios-setup if TARGET_x86