From 7ae7fafbc1e7c313b0be7f1201d307684a1cbef1 Mon Sep 17 00:00:00 2001 From: ophub Date: Tue, 14 Dec 2021 17:46:26 +0800 Subject: [PATCH] ddbr: Add description of backup/restore tv system --- README.cn.md | 12 ++++++++++++ README.md | 12 ++++++++++++ rebuild | 4 ++-- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/README.cn.md b/README.cn.md index 859eae3d78..7b1c37854c 100644 --- a/README.cn.md +++ b/README.cn.md @@ -120,6 +120,18 @@ armbian-tf ``` +- ### 备份/还原 EMMC 原系统 + +支持在 `TF/SD/USB` 中对盒子的 `EMMC` 分区进行备份/恢复。建议您在全新的盒子里安装 Armbian 系统前,先对当前盒子自带的安卓 TV 系统进行备份,以便日后在恢复电视系统等情况下使用。 + +请从 `TF/SD/USB` 启动 Armbian 系统 → 输入命令: + +```yaml +ddbr +``` + +根据提示输入 `b` 进行系统备份,输入 `r` 进行系统恢复。 + ## 打包命令的相关参数说明 | 参数 | 含义 | 说明 | diff --git a/README.md b/README.md index d347e291d2..74dbc22a51 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,18 @@ Command: Enter [ vi /etc/fstab ] ``` +- ### Backup/restore the original EMMC system + +Supports backup/restore of the box's `EMMC` partition in `TF/SD/USB`. It is recommended that you back up the Android TV system that comes with the current box before installing the Armbian system in a brand new box, so that you can use it in the future when restoring the TV system. + +Please login in to armbian → input command: + +```yaml +ddbr +``` + +According to the prompt, enter `b` to perform system backup, and enter `r` to perform system recovery. + ## Detailed build compile command | Parameter | Meaning | Description | diff --git a/rebuild b/rebuild index c5dd75175c..d164811610 100755 --- a/rebuild +++ b/rebuild @@ -30,7 +30,7 @@ auto_kernel="true" SKIP_MB=68 BOOT_MB=256 -ROOT_MB=2748 +ROOT_MB=3244 #===== Do not modify the following parameter settings, End ======= die() { @@ -503,7 +503,7 @@ while [ "${1}" ]; do fi ;; -s | --size) - if [[ -n "${2}" && "${2}" -ge "1000" ]]; then + if [[ -n "${2}" && "${2}" -ge "2000" ]]; then ROOT_MB="${2}" shift else