diff --git a/patches/0085-ipq53xx-increase-rootfs-size-to-500M.patch b/patches-24.10/0037-fstools-increase-rootfs-size-to-500M.patch old mode 100755 new mode 100644 similarity index 60% rename from patches/0085-ipq53xx-increase-rootfs-size-to-500M.patch rename to patches-24.10/0037-fstools-increase-rootfs-size-to-500M.patch index 8cc2ce870..42a68e8f4 --- a/patches/0085-ipq53xx-increase-rootfs-size-to-500M.patch +++ b/patches-24.10/0037-fstools-increase-rootfs-size-to-500M.patch @@ -1,42 +1,33 @@ -From 78f51448bd3d09ccb6c3559bae299a8d2edde21c Mon Sep 17 00:00:00 2001 +From e842f8f710fbfc721c4ebf5c2a4cbe27feac1a05 Mon Sep 17 00:00:00 2001 From: "wingate.chi" Date: Tue, 4 Feb 2025 06:32:17 +0000 -Subject: [PATCH] ipq53xx: increase rootfs size to 500M +Subject: [PATCH 37/55] fstools: increase rootfs size to 500M + +Increases F2FS minimum filesystem size to 500M to accommodate larger firmware images and package installations. Signed-off-by: wingate.chi --- - .../0001-change-rootfs-size-to-500m.patch | 22 +++++++++++++++++++ - 1 file changed, 22 insertions(+) + .../patches/0001-change-rootfs-size-to-500m.patch | 11 +++++++++++ + 1 file changed, 11 insertions(+) create mode 100644 package/system/fstools/patches/0001-change-rootfs-size-to-500m.patch diff --git a/package/system/fstools/patches/0001-change-rootfs-size-to-500m.patch b/package/system/fstools/patches/0001-change-rootfs-size-to-500m.patch new file mode 100644 -index 0000000000..3aa16258d2 +index 0000000000..f03adc5854 --- /dev/null +++ b/package/system/fstools/patches/0001-change-rootfs-size-to-500m.patch -@@ -0,0 +1,22 @@ +@@ -0,0 +1,11 @@ +--- a/libfstools/common.h ++++ b/libfstools/common.h +@@ -19,7 +19,7 @@ + #include "libfstools.h" + #include "volume.h" -+ ++ +-#define F2FS_MINSIZE (100ULL * 1024ULL * 1024ULL) ++#define F2FS_MINSIZE (500ULL * 1024ULL * 1024ULL) //change rootfs size to 500M -+ ++ + int read_uint_from_file(char *dirname, char *filename, unsigned int *i); + char *read_string_from_file(const char *dirname, const char *filename, char *buf, size_t bufsz); -+--- a/libfstools/rootdisk.c -++++ b/libfstools/rootdisk.c -+@@ -16,7 +16,7 @@ -+ #include -+ -+ #define ROOTDEV_OVERLAY_ALIGN (64ULL * 1024ULL) -+-#define F2FS_MINSIZE (100ULL * 1024ULL * 1024ULL) -++#define F2FS_MINSIZE (500ULL * 1024ULL * 1024ULL) //change rootfs size to 500M -+ -+ struct squashfs_super_block { -+ uint32_t s_magic; -- -2.17.1 +2.34.1