mirror of https://github.com/hak5/openwrt-owl.git
parent
b3a89652a5
commit
091ea63719
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=mtd
|
PKG_NAME:=mtd
|
||||||
PKG_RELEASE:=15
|
PKG_RELEASE:=16
|
||||||
|
|
||||||
PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME)
|
||||||
STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS)
|
STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS)
|
||||||
|
|
|
@ -409,6 +409,9 @@ resume:
|
||||||
/* got an EOF marker - this is the place to add some jffs2 data */
|
/* got an EOF marker - this is the place to add some jffs2 data */
|
||||||
skip = mtd_replace_jffs2(mtd, fd, e, jffs2file);
|
skip = mtd_replace_jffs2(mtd, fd, e, jffs2file);
|
||||||
|
|
||||||
|
/* don't add it again */
|
||||||
|
jffs2file = NULL;
|
||||||
|
|
||||||
w += skip;
|
w += skip;
|
||||||
e += skip;
|
e += skip;
|
||||||
skip -= buflen;
|
skip -= buflen;
|
||||||
|
|
Loading…
Reference in New Issue