Mount temp dir at /debug_ramdisk (#1226)

This commit is contained in:
Nullptr
2023-12-23 21:05:26 +08:00
committed by GitHub
parent 6472b14a59
commit 706cd1e73e
4 changed files with 23 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ pub const MODULE_UPDATE_TMP_IMG: &str = concatcp!(WORKING_DIR, "update_tmp.img")
// warning: this directory should not change, or you need to change the code in module_installer.sh!!!
pub const MODULE_UPDATE_TMP_DIR: &str = concatcp!(ADB_DIR, "modules_update/");
pub const TEMP_DIR: &str = "/debug_ramdisk/";
pub const DISABLE_FILE_NAME: &str = "disable";
pub const UPDATE_FILE_NAME: &str = "update";
pub const REMOVE_FILE_NAME: &str = "remove";