aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-21 11:48:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-21 11:48:46 +0000
commit6b386ef312f4c77b502bdf497b9e19a548b58101 (patch)
tree019cdfc8224f6d50e22b8ca517f587859923c1dd
parent1b4dfa8b79ed141bf2c1bd3c9aefcac2489c4d43 (diff)
downloadupstream-6b386ef312f4c77b502bdf497b9e19a548b58101.tar.gz
upstream-6b386ef312f4c77b502bdf497b9e19a548b58101.tar.bz2
upstream-6b386ef312f4c77b502bdf497b9e19a548b58101.zip
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
-rw-r--r--target/linux/linux-2.4/patches/ar7/001-flash_map.patch2
1 files changed, 1 insertions, 1 deletions
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];