mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:23:09 +02:00
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
This commit is contained in:
parent
c45b5fbb99
commit
a73e9e4b00
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user