提交 345ba910 编写于 作者: Y yangbo

fix resource prepare

Signed-off-by: Nyangbo <yangbo258@huawei.com>
上级 5828e838
......@@ -13,9 +13,12 @@
"type": "ShellKit",
"pre-push": [],
"run-command": [
"rm -rf /storage/media/100/local/files/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios}",
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0",
"reboot",
......@@ -56,6 +59,13 @@
"sleep 10"
],
"teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1",
"reboot",
"hilog -b X -D 0xD002B70",
......
......@@ -13,9 +13,12 @@
"type": "ShellKit",
"pre-push": [],
"run-command": [
"rm -rf /storage/media/100/local/files/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}",
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0",
"reboot",
......@@ -56,6 +59,13 @@
"sleep 10"
],
"teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1",
"reboot",
"hilog -b X -D 0xD002B70",
......
......@@ -13,9 +13,12 @@
"type": "ShellKit",
"pre-push": [],
"run-command": [
"rm -rf /storage/media/100/local/files/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}",
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0",
"reboot",
......@@ -56,6 +59,13 @@
"sleep 10"
],
"teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1",
"reboot",
"hilog -b X -D 0xD002B70",
......
......@@ -13,9 +13,12 @@
"type": "ShellKit",
"pre-push": [],
"run-command": [
"rm -rf /storage/media/100/local/files/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}",
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0",
"reboot",
......@@ -60,6 +63,13 @@
"sleep 10"
],
"teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1",
"reboot",
"hilog -b X -D 0xD002B70",
......
......@@ -13,9 +13,12 @@
"type": "ShellKit",
"pre-push": [],
"run-command": [
"rm -rf /storage/media/100/local/files/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}",
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0",
"reboot",
......@@ -60,6 +63,13 @@
"sleep 10"
],
"teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1",
"reboot",
"hilog -b X -D 0xD002B70",
......
......@@ -13,9 +13,12 @@
"type": "ShellKit",
"pre-push": [],
"run-command": [
"rm -rf /storage/media/100/local/files/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}",
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0",
"reboot",
......@@ -52,6 +55,13 @@
"sleep 10"
],
"teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1",
"reboot",
"hilog -b X -D 0xD002B70",
......
......@@ -13,9 +13,12 @@
"type": "ShellKit",
"pre-push": [],
"run-command": [
"rm -rf /storage/media/100/local/files/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}",
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0",
"reboot",
......@@ -56,6 +59,13 @@
"sleep 10"
],
"teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1",
"reboot",
"hilog -b X -D 0xD002B70",
......
......@@ -13,9 +13,12 @@
"type": "ShellKit",
"pre-push": [],
"run-command": [
"rm -rf /storage/media/100/local/files/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.MediaLibraryDataA/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios}",
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0",
"reboot",
......@@ -53,6 +56,13 @@
"sleep 10"
],
"teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1",
"reboot",
"hilog -b X -D 0xD002B70",
......
......@@ -13,9 +13,12 @@
"type": "ShellKit",
"pre-push": [],
"run-command": [
"rm -rf /storage/media/100/local/files/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}",
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0",
"reboot",
......@@ -56,6 +59,13 @@
"sleep 10"
],
"teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1",
"reboot",
"hilog -b X -D 0xD002B70",
......
......@@ -13,9 +13,12 @@
"type": "ShellKit",
"pre-push": [],
"run-command": [
"rm -rf /storage/media/100/local/files/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.MediaLibraryDataA/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}",
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0",
"reboot",
......@@ -56,6 +59,13 @@
"sleep 10"
],
"teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1",
"reboot",
"hilog -b X -D 0xD002B70",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册