mirror of https://github.com/hak5/openwrt-owl.git
brcm47xx: use old partition names again for kernel 3.8
This fixes sysupgrade. The partition names are used all over the Internet in various howtos. Thank you russell for spotting this problem. SVN-Revision: 36235owl
parent
204bde8d98
commit
4a46687d25
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
|
||||
do_fixcrc() {
|
||||
mtd fixtrx firmware
|
||||
mtd fixtrx linux
|
||||
}
|
||||
|
||||
case `uname -r` in
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
--- a/drivers/mtd/bcm47xxpart.c
|
||||
+++ b/drivers/mtd/bcm47xxpart.c
|
||||
@@ -134,7 +134,7 @@ static int bcm47xxpart_parse(struct mtd_
|
||||
trx = (struct trx_header *)buf;
|
||||
|
||||
trx_part = curr_part;
|
||||
- bcm47xxpart_add_part(&parts[curr_part++], "firmware",
|
||||
+ bcm47xxpart_add_part(&parts[curr_part++], "linux",
|
||||
offset, 0);
|
||||
|
||||
i = 0;
|
||||
@@ -147,7 +147,7 @@ static int bcm47xxpart_parse(struct mtd_
|
||||
i++;
|
||||
}
|
||||
|
||||
- bcm47xxpart_add_part(&parts[curr_part++], "linux",
|
||||
+ bcm47xxpart_add_part(&parts[curr_part++], "kernel",
|
||||
offset + trx->offset[i], 0);
|
||||
i++;
|
||||
|
Loading…
Reference in New Issue