[openwrt/openwrt] image: also show GRUB options for EROFS

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 26 09:04:11 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e805d8bac94d0d52221a3cf328ecc2078ca5cfbd

commit e805d8bac94d0d52221a3cf328ecc2078ca5cfbd
Author: Til Kaiser <mail at tk154.de>
AuthorDate: Wed Jul 23 10:08:38 2025 +0200

    image: also show GRUB options for EROFS
    
    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 at tk154.de>
    Link: https://github.com/openwrt/openwrt/pull/19501
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 config/Config-images.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/Config-images.in b/config/Config-images.in
index 05476dac77..208c4838d1 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -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




More information about the lede-commits mailing list