|
本帖最后由 avin4 于 2021-11-11 18:33 编辑
- sysupgrade --help
- Usage: /sbin/sysupgrade [<upgrade-option>...] <image file or URL>
- /sbin/sysupgrade [-q] [-i] [-c] [-u] [-o] [-k] <backup-command> <file>
- upgrade-option:
- -f <config> restore configuration from .tar.gz (file or url)
- -i interactive mode
- -c attempt to preserve all changed files in /etc/
- -o attempt to preserve all changed files in /, except those
- from packages but including changed confs.
- -u skip from backup files that are equal to those in /rom
- -n do not save configuration over reflash
- -p do not attempt to restore the partition table after flash.
- -k include in backup a list of current installed packages at
- /etc/backup/installed_packages.txt
- -T | --test
- Verify image and config .tar.gz but do not actually flash.
复制代码
-F | --force
Flash image even if image checks fail, this is dangerous!
- -q less verbose
- -v more verbose
- -h | --help display this help
- backup-command:
- -b | --create-backup <file>
- create .tar.gz of files specified in sysupgrade.conf
- then exit. Does not flash an image. If file is '-',
- i.e. stdout, verbosity is set to 0 (i.e. quiet).
- -r | --restore-backup <file>
- restore a .tar.gz created with sysupgrade -b
- then exit. Does not flash an image. If file is '-',
- the archive is read from stdin.
- -l | --list-backup
- list the files that would be backed up when calling
- sysupgrade -b. Does not create a backup file.
复制代码
官方源码和非官方源码,譬如本坛流行的lean,互刷可能出问题,从breed刷过渡固件再刷新固件就是了
DSA……上游已经改了,改的一团乱,但是没得选,是屎是尿都没法,只能一口吞
|
|