base-files: unconditionally unlock the rootfs_data partition (#7437)

SVN-Revision: 22377
lede-17.01
Jo-Philipp Wich 2010-07-24 15:47:15 +00:00
parent 766d2494b2
commit e1a654dd9f
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files
PKG_RELEASE:=50
PKG_RELEASE:=51
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/

View File

@ -5,6 +5,7 @@
find_mount_jffs2() {
mkdir -p /tmp/overlay
mount "$(find_mtd_part rootfs_data)" /tmp/overlay -t jffs2
mtd -qq unlock rootfs_data
}
jffs2_not_mounted() {