mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 15:01:05 +02:00
[package] base-files: unconditionally unlock the rootfs_data partition (#7437)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22377 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
31641990d7
commit
b8e09b9b3c
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=base-files
|
PKG_NAME:=base-files
|
||||||
PKG_RELEASE:=50
|
PKG_RELEASE:=51
|
||||||
|
|
||||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
find_mount_jffs2() {
|
find_mount_jffs2() {
|
||||||
mkdir -p /tmp/overlay
|
mkdir -p /tmp/overlay
|
||||||
mount "$(find_mtd_part rootfs_data)" /tmp/overlay -t jffs2
|
mount "$(find_mtd_part rootfs_data)" /tmp/overlay -t jffs2
|
||||||
|
mtd -qq unlock rootfs_data
|
||||||
}
|
}
|
||||||
|
|
||||||
jffs2_not_mounted() {
|
jffs2_not_mounted() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user