[openwrt/openwrt] uml: make use of 'rootfs-part' feature

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 23 12:22:23 PST 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8a324fb7591518b423b63772fe811f289f0bde4f

commit 8a324fb7591518b423b63772fe811f289f0bde4f
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Jan 22 00:26:52 2022 +0000

    uml: make use of 'rootfs-part' feature
    
    Use 'rootfs-part' feature instead of referencing the TARGET_uml in
    Config-images.in.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 config/Config-images.in   | 2 +-
 target/linux/uml/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/Config-images.in b/config/Config-images.in
index 7f118030f2..dcd7575c3e 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -296,7 +296,7 @@ menu "Target Images"
 
 	config TARGET_ROOTFS_PARTSIZE
 		int "Root filesystem partition size (in MiB)"
-		depends on USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_uml
+		depends on USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS
 		default 104
 		help
 		  Select the root filesystem partition size.
diff --git a/target/linux/uml/Makefile b/target/linux/uml/Makefile
index ec662989ec..5c884fb9a0 100644
--- a/target/linux/uml/Makefile
+++ b/target/linux/uml/Makefile
@@ -11,7 +11,7 @@ ifeq ($(HOST_OS),Linux)
 ARCH:=x86_64
 BOARD:=uml
 BOARDNAME:=User Mode Linux
-FEATURES:=squashfs ext4 audio
+FEATURES:=audio ext4 rootfs-part squashfs
 
 KERNEL_PATCHVER:=5.10
 



More information about the lede-commits mailing list