From a73e9e4b00485d9182471cae6e3911878a4486b8 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 21 Jul 2005 11:48:46 +0000 Subject: [PATCH] change the name of the writable partition to OpenWrt (ar7) git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1518 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/linux-2.4/patches/ar7/001-flash_map.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/linux-2.4/patches/ar7/001-flash_map.patch b/target/linux/linux-2.4/patches/ar7/001-flash_map.patch index d7e6590709..3a9f7d081f 100644 --- a/target/linux/linux-2.4/patches/ar7/001-flash_map.patch +++ b/target/linux/linux-2.4/patches/ar7/001-flash_map.patch @@ -242,7 +242,7 @@ diff -urN linux.old/drivers/mtd/maps/ar7-flash.c linux.dev/drivers/mtd/maps/ar7- + newsize += ar7_mtd_info->erasesize - ((newsize + hdr.offsets[0]) % ar7_mtd_info->erasesize); + + -+ ar7_partinfo[p].name = strdup("test"); ++ ar7_partinfo[p].name = strdup("OpenWrt"); + ar7_partinfo[p].offset = rootfs_start + newsize; + ar7_partinfo[p].size = ar7_partinfo[p - 2].size + hdr.offsets[0] - newsize; + ar7_partinfo[p - 2].size = newsize - hdr.offsets[0]; -- 2.11.0