From: Felix Fietkau Date: Thu, 21 Jul 2005 11:48:46 +0000 (+0000) Subject: change the name of the writable partition to OpenWrt (ar7) X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=26854133f64778924b1f1974487bade7dbce8194;p=lede.git change the name of the writable partition to OpenWrt (ar7) SVN-Revision: 1518 --- diff --git a/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch b/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch index d7e6590709..3a9f7d081f 100644 --- a/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch +++ b/openwrt/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];